RSS feeds and syndicating content to other websites

Goto page 1, 2  Next
View previous topic :: View next topic
Author Message
albummaster
Janitor


Gender: Male
Location: Spain
Site Admin

  • #1
  • Posted: 04/17/2010 18:12
  • Post subject: RSS feeds and syndicating content to other websites
  • Reply with quote
I'm not sure if everybody is aware or not, but if anyone wants to syndicate any of the lists on this site onto other websites, you are welcome to do so, so long as there is an acknowledgment or a link back to this site.

To save re-keying the charts on this site (which are always changing) your external site could subscribe to a RSS feed which will automatically update when a chart changes e.g. http://www.besteveralbums.com/feeds/Bes...Of1972.xml (best albums of 1972) or http://www.besteveralbums.com/feeds/Bes...lChart.xml (overall chart).

We have RSS feeds for any of the individual charts on this site, for any year or decade; and for the overall chart.

It is possible to use these RSS feeds from BEA to create a dynamically changing list on other websites e.g. display rss feed on website.

I'd love to help create some widgets to allow people to share the content on this site so if anybody has any ideas or wants some assistance, then please ask here.

albummaster


Last edited by albummaster on 04/12/2020 07:27; edited 2 times in total
Back to top
  • Visit poster's website
  • View user's profile
  • Send private message
HyperBully



Gender: Male
Location: US
United States

  • #2
  • Posted: 04/17/2010 21:15
  • Post subject:
  • Reply with quote
Is it at all possible to embed your chart on a Facebook page? It could be a little application box on the side of your profile page that displayed your top 5 or so albums and provided a link back to the site for the rest of the chart. Or it could be an app with it's own tab on your profile that displayed your full chart and provided a link to the rest of the site. Sorry if anything like this is already available, I was just wondering.
Back to top
  • Visit poster's website
  • View user's profile
  • Send private message
RFNAPLES
Level 8


Gender: Male
Age: 75
Location: Durham, NC, USA
United States

  • #3
  • Posted: 04/18/2010 01:26
  • Post subject: Re: RSS feeds and syndicating content to other websites
  • Reply with quote
albummaster wrote:
I'm not sure if everybody is aware or not, but if anyone wants to syndicate any of the lists on this site onto other websites, you are welcome to do so, so long as there is an acknowledgment or a link back to this site.

We have RSS feeds for any of the individual charts on this site, for any year or decade; and for the overall chart.

It is possible to use these RSS feeds from BEA to create a dynamically changing list on other websites e.g. display rss feed on website.

albummaster


I have syndicated my individual chart by using the RSS feed from BEA to create a dynamically changing list on my website. Unfortunately, other than showing BestEverAlbums.com in the feed title, I can't display links back to the site title page or my chart, just to the 10 individual albums listed.
_________________
Top 100 Greatest Music Albums by RFNAPLES
Bubbling Under The Top 100 Greatest Mus...y RFNAPLES
Back to top
  • Visit poster's website
  • View user's profile
  • Send private message
  • Send email
  • Visit poster's website
albummaster
Janitor


Gender: Male
Location: Spain
Site Admin

  • #4
  • Posted: 04/18/2010 07:42
  • Post subject: Anatomy of the RSS feeds
  • Reply with quote
Hi guys, thanks for the feedback.

HyperBully, these are exactly the things that we would like to help create. A Facebook app sounds a great idea but shouldn't be too difficult to do so we'll have a look at their API and see what's involved.

RFNAPLES, it's very interesting you've tried to do this already. I'll paste below a snippet of the RSS schema:

Code:
<?xml-stylesheet type="text/css" href="http://www.besteveralbums.com/bea.css" ?>
<rss version="2.0">               
<channel>
<title>BestEverAlbums.com - Best Albums of 2000 RSS feed</title>[color=red]<link>http://www.besteveralbums.com/yearstats.php?y=2000&amp;src=rss</link>[/color]
<description>RSS feed listing the best albums of 2000 as determined by their overall aggregate performance on BestEverAlbums.com.</description
<ttl>60</ttl>

<item>
<title>1. Kid A - Radiohead</title>
<link>http://www.besteveralbums.com/thechart.php?a=1002&amp;src=rss</link>
<guid>http://www.besteveralbums.com/thechart.php?a=1002</guid><description><![CDATA[<table><tr><td rowspan="2" valign="top"><a title="Click to see the rankings for 'Kid A' by Radiohead " href="thechart.php?a=1002"><img alt="Album" height="65" width="65" src="http://albumart.besteveralbums.com/albumart/album_small_1002.jpg"></a>&nbsp;</td><td><b>Kid A - Radiohead</b></td></tr><tr><td>Buy Kid A by Radiohead:&nbsp;<a class="buyitunes" target="_blank" title="Click to buy Kid A from iTunes" href="http://itunes.apple.com/es/album/Kid+A/id280367135?partnerId=30&siteID=l8BTHAOCzhU">&nbsp;</a> <a href="http://www.besteveralbums.com/jump.php?s=amazon&amp;id=1002&amp;type=album" class="nav2">Amazon</a> <a class="buyebay" rel="nofollow" title="Click to buy from eBay.es" href="http://www.besteveralbums.com/jump.php?s=ebay&amp;id=1002&amp;type=album">&nbsp;</a></td></tr></table> View this chart on BestEverAlbums.com: <a href=http://www.besteveralbums.com/yearstats.php?y=2000&amp;src=rss>Best Albums of 2000</a>]]></description>
</item>

<item>
<title>2. The Marshall Mathers LP - Eminem</title>
<link>http://www.besteveralbums.com/thechart.php?a=99&amp;src=rss</link>
<guid>http://www.besteveralbums.com/thechart.php?a=99</guid><description><![CDATA[<table><tr><td rowspan="2" valign="top"><a title="Click to see the rankings for 'The Marshall Mathers LP' by Eminem " href="thechart.php?a=99"><img alt="Album" height="65" width="65" src="http://albumart.besteveralbums.com/albumart/album_small_99.jpg"></a>&nbsp;</td><td><b>The Marshall Mathers LP - Eminem</b></td></tr><tr><td>Buy The Marshall Mathers LP by Eminem:&nbsp;<a class="buyitunes" target="_blank" title="Click to buy The Marshall Mathers LP from iTunes" href="http://itunes.apple.com/es/album/The+Marshall+Mathers+LP/id362114?partnerId=30&siteID=l8BTHAOCzhU">&nbsp;</a> <a href="http://www.besteveralbums.com/jump.php?s=amazon&amp;id=99&amp;type=album" class="nav2">Amazon</a> <a class="buyebay" rel="nofollow" title="Click to buy from eBay.es" href="http://www.besteveralbums.com/jump.php?s=ebay&amp;id=99&amp;type=album">&nbsp;</a></td></tr></table> View this chart on BestEverAlbums.com: <a href=http://www.besteveralbums.com/yearstats.php?y=2000&amp;src=rss>Best Albums of 2000</a>]]></description>
</item>

<item>
<title>3. Parachutes - Coldplay</title>
<link>http://www.besteveralbums.com/thechart.php?a=68&amp;src=rss</link>
<guid>http://www.besteveralbums.com/thechart.php?a=68</guid>
<description><![CDATA[<table><tr><td rowspan="2" valign="top"><a title="Click to see the rankings for 'Parachutes' by Coldplay " href="thechart.php?a=68"><img alt="Album" height="65" width="65" src="http://albumart.besteveralbums.com/albumart/album_small_68.jpg"></a>&nbsp;</td><td><b>Parachutes - Coldplay</b></td></tr><tr><td>Buy Parachutes by Coldplay:&nbsp;<a class="buyitunes" target="_blank" title="Click to buy Parachutes from iTunes" href="http://itunes.apple.com/es/album/Parachutes/id250524932?partnerId=30&siteID=l8BTHAOCzhU">&nbsp;</a> <a href="http://www.besteveralbums.com/jump.php?s=amazon&amp;id=68&amp;type=album" class="nav2">Amazon</a> <a class="buyebay" rel="nofollow" title="Click to buy from eBay.es" href="http://www.besteveralbums.com/jump.php?s=ebay&amp;id=68&amp;type=album">&nbsp;</a></td></tr></table> View this chart on BestEverAlbums.com: <a href=http://www.besteveralbums.com/yearstats.php?y=2000&amp;src=rss>Best Albums of 2000</a>]]></description>
</item>

</channel>
</rss>


As you can see above, each feed comprises of a single channel element and one or more item elements:

Channel
Title - the title of the RSS feed
Link - a link to the relevant web page for this RSS feed (RFNAPLES, this is where the link is located back to your chart)
Description - a description of this RSS feed
TTL - number of minutes a channel can be cached before refreshing from the source (no need to refresh this feed more times than this as the data is unlikely to change. Data should be cached on the calling website in-between calls).

Following the 'channel' section. there are one or more 'item' sections in every chart feed. Each 'item' represents the albums/ranks within a chart.

item
Title - will always be a name of an album and its rank within the chart. The feed will always be in the correct sequence (the top-ranked album will be at the beginning of the feed).
Link - URL to the relevant album on BEA
Guid - Unique ID of this item within the feed (an album is unique within a chart hence using the URL again here)
Description - this is a HTML formatted representation of an album/rank but you may choose to ignore this on your own website and render your own version using the Item->Title element.
Back to top
  • Visit poster's website
  • View user's profile
  • Send private message
RFNAPLES
Level 8


Gender: Male
Age: 75
Location: Durham, NC, USA
United States

  • #5
  • Posted: 04/18/2010 13:14
  • Post subject:
  • Reply with quote
My website is at http://rfnaples.spaces.live.com/ Microsoft uses some kind of RSS feed module that can display up to 10 items from the feed web address along with a non-hyperlinked feed name-not the chanel title and link. I guess some type of Windows Live Galery gadget could be written to provide a dynamic feed name link.

It would be nice also to have an easy method to show the feeds in MySpace, Facebook and Bebo.
_________________
Top 100 Greatest Music Albums by RFNAPLES
Bubbling Under The Top 100 Greatest Mus...y RFNAPLES
Back to top
  • Visit poster's website
  • View user's profile
  • Send private message
  • Send email
  • Visit poster's website
albummaster
Janitor


Gender: Male
Location: Spain
Site Admin

  • #6
  • Posted: 04/18/2010 16:04
  • Post subject:
  • Reply with quote
We'll look into creating some gadgets for the more popular social networking sites. In the meantime, we've changed the feeds slightly, the file format remains the same (as this is the RSS standard) but instead of the URL that I gave earlier (with the .php extension), we now provide the following:


Individual chart feeds:
Code:
http://www.besteveralbums.com/feeds/BestEverAlbumsdotCom_[YourUserName]_BestAlbums.xml


e.g. http://www.besteveralbums.com/feeds/Bes...Albums.xml

(If your user name contains one or more spaces, replace each space with a hyphen.)


Overall chart feed:
Code:
http://www.besteveralbums.com/feeds/BestEverAlbumsdotCom_OverallChart.xml


e.g. http://www.besteveralbums.com/feeds/Bes...lChart.xml


Chart feed for any year:
Code:
http://www.besteveralbums.com/feeds/BestEverAlbumsdotCom_BestAlbumsOf[Year].xml


e.g. http://www.besteveralbums.com/feeds/Bes...Of1968.xml


Chart feed for any decade:
Code:
http://www.besteveralbums.com/feeds/BestEverAlbumsdotCom_BestAlbumsOfThe[Decade]s.xml


e.g. http://www.besteveralbums.com/feeds/Bes...e1990s.xml


The individual charts will update every time you change your chart. The aggregated chart feeds will update once per day.
Back to top
  • Visit poster's website
  • View user's profile
  • Send private message
RFNAPLES
Level 8


Gender: Male
Age: 75
Location: Durham, NC, USA
United States

  • #7
  • Posted: 04/18/2010 16:52
  • Post subject:
  • Reply with quote
albummaster wrote:
In the meantime, we've changed the feeds slightly, the file format remains the same (as this is the RSS standard) but instead of the URL that I gave earlier (with the .php extension), we now provide the following:


Individual chart feeds:
Code:
http://www.besteveralbums.com/feeds/BestEverAlbumsdotCom_[YourUserName]_BestAlbums.xml


e.g. http://www.besteveralbums.com/feeds/Bes...Albums.xml

(If your user name contains one or more spaces, replace each space with a hyphen.)


Your example works, but when I insert my shortcut (copied directly from my chart) it doesn't work. When I click on the rss logo it doesn't work either. The old code worked fine with the exception of not reporting the chanel title.
_________________
Top 100 Greatest Music Albums by RFNAPLES
Bubbling Under The Top 100 Greatest Mus...y RFNAPLES
Back to top
  • Visit poster's website
  • View user's profile
  • Send private message
  • Send email
  • Visit poster's website
RFNAPLES
Level 8


Gender: Male
Age: 75
Location: Durham, NC, USA
United States

  • #8
  • Posted: 04/18/2010 16:57
  • Post subject:
  • Reply with quote
Works now! Still can't display chanel title with hyperlink.
_________________
Top 100 Greatest Music Albums by RFNAPLES
Bubbling Under The Top 100 Greatest Mus...y RFNAPLES
Back to top
  • Visit poster's website
  • View user's profile
  • Send private message
  • Send email
  • Visit poster's website
albummaster
Janitor


Gender: Male
Location: Spain
Site Admin

  • #9
  • Posted: 04/18/2010 17:20
  • Post subject:
  • Reply with quote
I think that is a flaw with Microsoft's RSS parser and not with the above code. The link is in the correct place within the schema but MS are choosing not to render it. I'll look at creating some widgets people can use on external websites.
Back to top
  • Visit poster's website
  • View user's profile
  • Send private message
RFNAPLES
Level 8


Gender: Male
Age: 75
Location: Durham, NC, USA
United States

  • #10
  • Posted: 04/18/2010 17:51
  • Post subject:
  • Reply with quote
Yes I agree it is the fault of spaces.live.com not BEA. Spaces only reports item titles/links, not chanel title/link. I hope my placement of BestEverAlbums.com in the title is adequate source notification for this site.
_________________
Top 100 Greatest Music Albums by RFNAPLES
Bubbling Under The Top 100 Greatest Mus...y RFNAPLES
Back to top
  • Visit poster's website
  • View user's profile
  • Send private message
  • Send email
  • Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.
All times are GMT
Goto page 1, 2  Next
Page 1 of 2


 

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Similar Topics
Topic Author Forum
Are there RSS feeds of tracks instead... jaymz Suggestions
Possible to increase the number of av... ross93 Suggestions
Music Websites Elston Lounge
Official Websites RFNAPLES Suggestions
Rank these Album Review websites newbands1 Music

 
Back to Top