VândPupăză

Icon

Bine o zis cine o zis cand o zis ce o zis

Numarul de feed-uri din Netvibes cu jQuery

Daca folosesti Netvibes drept feed reader si vrei sa stii cate feed-uri se ascund in tab-urile tale poti exporta feed-urile intr-un fisier opml si poti folosi urmatorul snippet de JS impreuna cu jQuery:

$.get("feeds.opml", function(data){
	var count = $(data).find('outline[type="rss"]').length;
	console.log(count);
});

In exemplu feeds.opml reprezinta fisierul tau cu feed-uri.
Poti exporta un opml cu feed-urile tale din Netbvibes din meniul “Your profile” > “Feeds”.

Category: jQuery, Tech, Tips & Tricks

Tagged: , , ,

Leave a Reply