<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cvecara &#34;FIORI&#34; Nis</title>
	<atom:link href="http://www.cvecarafiori.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cvecarafiori.com</link>
	<description></description>
	<lastBuildDate>Mon, 17 Jun 2013 16:24:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Vencanja 2013</title>
		<link>http://www.cvecarafiori.com/vesti/vencanje-4/</link>
		<comments>http://www.cvecarafiori.com/vesti/vencanje-4/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 01:23:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Vesti]]></category>

		<guid isPermaLink="false">http://www.cvecarafiori.com/?p=1275</guid>
		<description><![CDATA[]]></description>
	<div id="fbalbumsync" class="container">

</div>
<script type="text/javascript">
					var ALbumsCount = 1;
					var rowItemscnt = 1;
					var fbpagename = "129317687186414";
					var prettypermalinkon = "1"; 
					var curhtml ="";
					var loadingImage = "<br /><img id=\"fbloader\"src=\"http://www.cvecarafiori.com/wp-content/plugins/facebook-album-sync/images/fbloader.gif\" /><br />" ;
					addhtml(loadingImage);			
					getAlbumPage("https://graph.facebook.com/"+fbpagename+"/albums/");
					

					function addhtml(html){
						/* Write the text */
						//console.log("do print: "+html);
						document.getElementById('fbalbumsync').innerHTML += html;
					}
					function getAlbumPage(fbGraphUrl)
					{
						jQuery.ajax({
							dataType: 'jsonp',
							url: fbGraphUrl,
							type: 'GET',
							success: function getpages(data){
								getAlbums(data,0);
							},
							error: function( data ) {
								console.log("Error: Facebook\'s Graph API might be down."+data);
							}
						});
					}
					// Note to developer:
					// There something wrong with this code
					// it calls the facbook to get the cover photo url 
					// is there a way to get the url by just using standard url 
					// structure? like just plug it in http://facebook.com/photo/".id."/
					function getAlbums(data, i)
					{
					// album by album get the links and then process the albums 
					// one by one
							try{ // test if album as a cover photo
									var coverPhotograph = 'https://graph.facebook.com/'+data.data[i].cover_photo;
							
								}catch(err){
									addhtml(curhtml);
									curhtml ="";
									console.log(err);
								}
								
							jQuery.ajax({
								dataType: 'jsonp',
								url: coverPhotograph,
								type: 'GET',
								success:function(coverPhotoData){
								    //determine if the data has a cover photo field 
								    // if not increment the counter and check the next photo
								    try{					    										
										var imgsrc =  coverPhotoData.images[5].source;
										var albumname = data.data[i].name;
										//console.log(albumname+"=>"+imgsrc);
										var photoslink = "";
								        //start the row if the item count less than 1
								        if (rowItemscnt == 1)
										{
											curhtml += "<div class=\"row \">";
											
										}
										
										if(prettypermalinkon==1){
											photoslink = document.URL+"?fbasid="+data.data[i].id;
										}else{
											photoslink = document.URL+"&fbasid="+data.data[i].id;
											
										}

										//print output 
										if(rowItemscnt==4){
													curhtml +="<div class=\"threecol "+rowItemscnt +" last\"><a class=\"albumlink\" href=\""+photoslink+ "\" ><div class=\"albumthumb\" style=\"background-image: url("+ imgsrc +") \" /></div></a><br/><a class=\"albumlinktitle\"  href=\""+photoslink+ "\">"+ albumname +"</a></div> <!-- last col -->";
													curhtml += " </div> <!-- End Row Loop-->" ;
													// output row
													addhtml(curhtml);
													 curhtml ="";
													rowItemscnt = 0;
										}else{
													curhtml +="<div class=\"threecol "+rowItemscnt +" \"><a class=\"albumlink\"  href=\""+photoslink+ "\" ><div class=\"albumthumb\" style=\"background-image: url("+ imgsrc +") \" /></div></a><br/><a class=\"albumlinktitle\"  href=\""+photoslink+ "\">"+ albumname +"</a></div>";
										}
										
										// print out current image block
										//addhtml(curhtml);
										
										//increment counters										
										rowItemscnt ++; 
										//End ALbum Image processing
										
										//check if the if there are more albums left
										if (i < data.data.length - 1){
											i++;
											//console.log("<< Get Next Album>>");
											getAlbums(data, i );
										}else
										{
											//check if there is another page
											try
											{
										

												  //get the next page
													if( !jQuery.isEmptyObject(data.paging.next))
													{
														getAlbumPage(data.paging.next);
														
													}else{
														jQuery('#fbloader').remove();
													}
													jQuery('#fbloader').remove();
											  }
											catch(err)
											  {
											  	if (rowItemscnt<4){ 
													// close the row if there are less than four items at the end of all albums
															curhtml += "</div> <!-- End Row try Catch-->";
															addhtml(curhtml);
													 		curhtml ="";
															rowItemscnt = 1;
												}	
											  		//Handle errors here
											  		//console.log("child no more catch: "+err);
													addhtml("<h4>No More Pages</h4>");
													jQuery('#fbloader').remove();
											  }
	
										}
								    }catch(err){ // End of 25 Albums catch
								    		i++;
								    		//console.log("parent catch: "+err);
											getAlbums(data, i );
								    }								    

							
									},
								error: function( data ) {
									jQuery('#fbloader').remove();
									console.log("Error: Facebook\'s Graph API might be down."+data);
								}
							}); 
						
						//process the data from facebook
							
					}
					
</script>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.cvecarafiori.com/vesti/vencanje-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vencanje 3</title>
		<link>http://www.cvecarafiori.com/vesti/vencanje-3/</link>
		<comments>http://www.cvecarafiori.com/vesti/vencanje-3/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 01:23:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Vesti]]></category>

		<guid isPermaLink="false">http://www.cvecarafiori.com/?p=1273</guid>
		<description><![CDATA[]]></description>
	<div id="fbalbumsync" class="container">

</div>
<script type="text/javascript">
					var ALbumsCount = 1;
					var rowItemscnt = 1;
					var fbpagename = "129317687186414";
					var prettypermalinkon = "1"; 
					var curhtml ="";
					var loadingImage = "<br /><img id=\"fbloader\"src=\"http://www.cvecarafiori.com/wp-content/plugins/facebook-album-sync/images/fbloader.gif\" /><br />" ;
					addhtml(loadingImage);			
					getAlbumPage("https://graph.facebook.com/"+fbpagename+"/albums/");
					

					function addhtml(html){
						/* Write the text */
						//console.log("do print: "+html);
						document.getElementById('fbalbumsync').innerHTML += html;
					}
					function getAlbumPage(fbGraphUrl)
					{
						jQuery.ajax({
							dataType: 'jsonp',
							url: fbGraphUrl,
							type: 'GET',
							success: function getpages(data){
								getAlbums(data,0);
							},
							error: function( data ) {
								console.log("Error: Facebook\'s Graph API might be down."+data);
							}
						});
					}
					// Note to developer:
					// There something wrong with this code
					// it calls the facbook to get the cover photo url 
					// is there a way to get the url by just using standard url 
					// structure? like just plug it in http://facebook.com/photo/".id."/
					function getAlbums(data, i)
					{
					// album by album get the links and then process the albums 
					// one by one
							try{ // test if album as a cover photo
									var coverPhotograph = 'https://graph.facebook.com/'+data.data[i].cover_photo;
							
								}catch(err){
									addhtml(curhtml);
									curhtml ="";
									console.log(err);
								}
								
							jQuery.ajax({
								dataType: 'jsonp',
								url: coverPhotograph,
								type: 'GET',
								success:function(coverPhotoData){
								    //determine if the data has a cover photo field 
								    // if not increment the counter and check the next photo
								    try{					    										
										var imgsrc =  coverPhotoData.images[5].source;
										var albumname = data.data[i].name;
										//console.log(albumname+"=>"+imgsrc);
										var photoslink = "";
								        //start the row if the item count less than 1
								        if (rowItemscnt == 1)
										{
											curhtml += "<div class=\"row \">";
											
										}
										
										if(prettypermalinkon==1){
											photoslink = document.URL+"?fbasid="+data.data[i].id;
										}else{
											photoslink = document.URL+"&fbasid="+data.data[i].id;
											
										}

										//print output 
										if(rowItemscnt==4){
													curhtml +="<div class=\"threecol "+rowItemscnt +" last\"><a class=\"albumlink\" href=\""+photoslink+ "\" ><div class=\"albumthumb\" style=\"background-image: url("+ imgsrc +") \" /></div></a><br/><a class=\"albumlinktitle\"  href=\""+photoslink+ "\">"+ albumname +"</a></div> <!-- last col -->";
													curhtml += " </div> <!-- End Row Loop-->" ;
													// output row
													addhtml(curhtml);
													 curhtml ="";
													rowItemscnt = 0;
										}else{
													curhtml +="<div class=\"threecol "+rowItemscnt +" \"><a class=\"albumlink\"  href=\""+photoslink+ "\" ><div class=\"albumthumb\" style=\"background-image: url("+ imgsrc +") \" /></div></a><br/><a class=\"albumlinktitle\"  href=\""+photoslink+ "\">"+ albumname +"</a></div>";
										}
										
										// print out current image block
										//addhtml(curhtml);
										
										//increment counters										
										rowItemscnt ++; 
										//End ALbum Image processing
										
										//check if the if there are more albums left
										if (i < data.data.length - 1){
											i++;
											//console.log("<< Get Next Album>>");
											getAlbums(data, i );
										}else
										{
											//check if there is another page
											try
											{
										

												  //get the next page
													if( !jQuery.isEmptyObject(data.paging.next))
													{
														getAlbumPage(data.paging.next);
														
													}else{
														jQuery('#fbloader').remove();
													}
													jQuery('#fbloader').remove();
											  }
											catch(err)
											  {
											  	if (rowItemscnt<4){ 
													// close the row if there are less than four items at the end of all albums
															curhtml += "</div> <!-- End Row try Catch-->";
															addhtml(curhtml);
													 		curhtml ="";
															rowItemscnt = 1;
												}	
											  		//Handle errors here
											  		//console.log("child no more catch: "+err);
													addhtml("<h4>No More Pages</h4>");
													jQuery('#fbloader').remove();
											  }
	
										}
								    }catch(err){ // End of 25 Albums catch
								    		i++;
								    		//console.log("parent catch: "+err);
											getAlbums(data, i );
								    }								    

							
									},
								error: function( data ) {
									jQuery('#fbloader').remove();
									console.log("Error: Facebook\'s Graph API might be down."+data);
								}
							}); 
						
						//process the data from facebook
							
					}
					
</script>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.cvecarafiori.com/vesti/vencanje-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vencanje 2</title>
		<link>http://www.cvecarafiori.com/vesti/vencanje-2/</link>
		<comments>http://www.cvecarafiori.com/vesti/vencanje-2/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 01:22:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Vesti]]></category>

		<guid isPermaLink="false">http://www.cvecarafiori.com/?p=1271</guid>
		<description><![CDATA[]]></description>
	<div id="fbalbumsync" class="container">

</div>
<script type="text/javascript">
					var ALbumsCount = 1;
					var rowItemscnt = 1;
					var fbpagename = "129317687186414";
					var prettypermalinkon = "1"; 
					var curhtml ="";
					var loadingImage = "<br /><img id=\"fbloader\"src=\"http://www.cvecarafiori.com/wp-content/plugins/facebook-album-sync/images/fbloader.gif\" /><br />" ;
					addhtml(loadingImage);			
					getAlbumPage("https://graph.facebook.com/"+fbpagename+"/albums/");
					

					function addhtml(html){
						/* Write the text */
						//console.log("do print: "+html);
						document.getElementById('fbalbumsync').innerHTML += html;
					}
					function getAlbumPage(fbGraphUrl)
					{
						jQuery.ajax({
							dataType: 'jsonp',
							url: fbGraphUrl,
							type: 'GET',
							success: function getpages(data){
								getAlbums(data,0);
							},
							error: function( data ) {
								console.log("Error: Facebook\'s Graph API might be down."+data);
							}
						});
					}
					// Note to developer:
					// There something wrong with this code
					// it calls the facbook to get the cover photo url 
					// is there a way to get the url by just using standard url 
					// structure? like just plug it in http://facebook.com/photo/".id."/
					function getAlbums(data, i)
					{
					// album by album get the links and then process the albums 
					// one by one
							try{ // test if album as a cover photo
									var coverPhotograph = 'https://graph.facebook.com/'+data.data[i].cover_photo;
							
								}catch(err){
									addhtml(curhtml);
									curhtml ="";
									console.log(err);
								}
								
							jQuery.ajax({
								dataType: 'jsonp',
								url: coverPhotograph,
								type: 'GET',
								success:function(coverPhotoData){
								    //determine if the data has a cover photo field 
								    // if not increment the counter and check the next photo
								    try{					    										
										var imgsrc =  coverPhotoData.images[5].source;
										var albumname = data.data[i].name;
										//console.log(albumname+"=>"+imgsrc);
										var photoslink = "";
								        //start the row if the item count less than 1
								        if (rowItemscnt == 1)
										{
											curhtml += "<div class=\"row \">";
											
										}
										
										if(prettypermalinkon==1){
											photoslink = document.URL+"?fbasid="+data.data[i].id;
										}else{
											photoslink = document.URL+"&fbasid="+data.data[i].id;
											
										}

										//print output 
										if(rowItemscnt==4){
													curhtml +="<div class=\"threecol "+rowItemscnt +" last\"><a class=\"albumlink\" href=\""+photoslink+ "\" ><div class=\"albumthumb\" style=\"background-image: url("+ imgsrc +") \" /></div></a><br/><a class=\"albumlinktitle\"  href=\""+photoslink+ "\">"+ albumname +"</a></div> <!-- last col -->";
													curhtml += " </div> <!-- End Row Loop-->" ;
													// output row
													addhtml(curhtml);
													 curhtml ="";
													rowItemscnt = 0;
										}else{
													curhtml +="<div class=\"threecol "+rowItemscnt +" \"><a class=\"albumlink\"  href=\""+photoslink+ "\" ><div class=\"albumthumb\" style=\"background-image: url("+ imgsrc +") \" /></div></a><br/><a class=\"albumlinktitle\"  href=\""+photoslink+ "\">"+ albumname +"</a></div>";
										}
										
										// print out current image block
										//addhtml(curhtml);
										
										//increment counters										
										rowItemscnt ++; 
										//End ALbum Image processing
										
										//check if the if there are more albums left
										if (i < data.data.length - 1){
											i++;
											//console.log("<< Get Next Album>>");
											getAlbums(data, i );
										}else
										{
											//check if there is another page
											try
											{
										

												  //get the next page
													if( !jQuery.isEmptyObject(data.paging.next))
													{
														getAlbumPage(data.paging.next);
														
													}else{
														jQuery('#fbloader').remove();
													}
													jQuery('#fbloader').remove();
											  }
											catch(err)
											  {
											  	if (rowItemscnt<4){ 
													// close the row if there are less than four items at the end of all albums
															curhtml += "</div> <!-- End Row try Catch-->";
															addhtml(curhtml);
													 		curhtml ="";
															rowItemscnt = 1;
												}	
											  		//Handle errors here
											  		//console.log("child no more catch: "+err);
													addhtml("<h4>No More Pages</h4>");
													jQuery('#fbloader').remove();
											  }
	
										}
								    }catch(err){ // End of 25 Albums catch
								    		i++;
								    		//console.log("parent catch: "+err);
											getAlbums(data, i );
								    }								    

							
									},
								error: function( data ) {
									jQuery('#fbloader').remove();
									console.log("Error: Facebook\'s Graph API might be down."+data);
								}
							}); 
						
						//process the data from facebook
							
					}
					
</script>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.cvecarafiori.com/vesti/vencanje-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vencanje 1</title>
		<link>http://www.cvecarafiori.com/vesti/vencanje-1/</link>
		<comments>http://www.cvecarafiori.com/vesti/vencanje-1/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 01:21:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Vesti]]></category>

		<guid isPermaLink="false">http://www.cvecarafiori.com/?p=1269</guid>
		<description><![CDATA[]]></description>
				<content:encoded><![CDATA[<p><a href='http://www.cvecarafiori.com/vesti/vencanje-1/attachment/3/' title='Princ 2013'><img width="150" height="105" src="http://www.cvecarafiori.com/wp-content/uploads/2012/01/3-150x105.jpg" class="attachment-thumbnail colorbox-1269 " alt="Princ 2013" /></a><br />
<a href='http://www.cvecarafiori.com/vesti/vencanje-1/attachment/2013-05-12_003134/' title='2013-05-12_003134'><img width="150" height="69" src="http://www.cvecarafiori.com/wp-content/uploads/2012/01/2013-05-12_003134-150x69.jpg" class="attachment-thumbnail colorbox-1269 " alt="2013-05-12_003134" /></a><br />
<a href='http://www.cvecarafiori.com/vesti/vencanje-1/attachment/2013-05-12_010135/' title='2013-05-12_010135'><img width="150" height="111" src="http://www.cvecarafiori.com/wp-content/uploads/2012/01/2013-05-12_010135-150x111.jpg" class="attachment-thumbnail colorbox-1269 " alt="2013-05-12_010135" /></a><br />
<a href='http://www.cvecarafiori.com/vesti/vencanje-1/attachment/2013-05-12_010613/' title='2013-05-12_010613'><img width="150" height="74" src="http://www.cvecarafiori.com/wp-content/uploads/2012/01/2013-05-12_010613-150x74.jpg" class="attachment-thumbnail colorbox-1269 " alt="2013-05-12_010613" /></a><br />
<a href='http://www.cvecarafiori.com/vesti/vencanje-1/attachment/img_6553/' title='IMG_6553'><img width="150" height="61" src="http://www.cvecarafiori.com/wp-content/uploads/2012/01/IMG_6553-150x61.jpg" class="attachment-thumbnail colorbox-1269 " alt="IMG_6553" /></a><br />
<a href='http://www.cvecarafiori.com/vesti/vencanje-1/attachment/img_6562/' title='IMG_6562'><img width="150" height="100" src="http://www.cvecarafiori.com/wp-content/uploads/2012/01/IMG_6562-150x100.jpg" class="attachment-thumbnail colorbox-1269 " alt="IMG_6562" /></a><br />
<a href='http://www.cvecarafiori.com/vesti/vencanje-1/attachment/img_6569/' title='IMG_6569'><img width="150" height="100" src="http://www.cvecarafiori.com/wp-content/uploads/2012/01/IMG_6569-150x100.jpg" class="attachment-thumbnail colorbox-1269 " alt="IMG_6569" /></a><br />
<a href='http://www.cvecarafiori.com/vesti/vencanje-1/attachment/img_6597/' title='IMG_6597'><img width="150" height="100" src="http://www.cvecarafiori.com/wp-content/uploads/2012/01/IMG_6597-150x100.jpg" class="attachment-thumbnail colorbox-1269 " alt="IMG_6597" /></a><br />
<a href='http://www.cvecarafiori.com/vesti/vencanje-1/attachment/img_6607/' title='IMG_6607'><img width="150" height="100" src="http://www.cvecarafiori.com/wp-content/uploads/2012/01/IMG_6607-150x100.jpg" class="attachment-thumbnail colorbox-1269 " alt="IMG_6607" /></a><br />
<a href='http://www.cvecarafiori.com/vesti/vencanje-1/attachment/img_6631/' title='IMG_6631'><img width="150" height="103" src="http://www.cvecarafiori.com/wp-content/uploads/2012/01/IMG_6631-150x103.jpg" class="attachment-thumbnail colorbox-1269 " alt="IMG_6631" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cvecarafiori.com/vesti/vencanje-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
