WebmasterSite.net

Associating a feed with a link

Version: 5.1.37
URL:

PrintPrint


Associating a feed with a link
Jenny
Forum Regular
Avatar

Usergroup: Customer
Joined: May 11, 2003

Total Topics: 64
Total Posts: 199
quote post #1
Posted 06/13/10 - 9:02 AM:

I am trying to use certain information from a feed in the directory. More specifically, for my LiveJournal directory I'd like to fetch changing information, like "last updated", "amount of members", "default usericon". All the information is provided for each journal on a page like this:

http://community.livejournal.com/ihearticons/data/foaf

I have switched on "RSS submissions", but for some reason the feed isn't saved on the "edit link" page. Since I don't know much about handling XML I read a lot of tutorials on writing small external scripts for this, but nothing seems to work sad

I tried pulling the info from the LiveJournal profile pages, which works fine for individual links, but not for a whole directory. And I'd rather cache the info somewhere or I might get blocked pretty fast :-)
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #2
Posted 06/14/10 - 10:00 AM:

http://community.livejournal.com/ihearticons/data/foaf isn't an RSS feed, that's why it doesn't save. Only RSS feeds are supported.

Only feeds of known formats (the popular ones are RSS and atom, but I'm only supporting RSS for now) can be automatically handled and their information automatically displayed, but I could make data from generic XML/RDF feeds like that that one cached and available for display with custom variables based on the feed content, as a $100 customization project.
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #3
Posted 06/14/10 - 10:05 AM:

Note LiveJournal does have RSS feeds: http://ihearticons.livejournal.com/data/rss . But I guess that doesn't have the information you need? Or, I'm not sure their fields with colons in the names will work in WSN...
Jenny
Forum Regular
Avatar

Usergroup: Customer
Joined: May 11, 2003

Total Topics: 64
Total Posts: 199
quote post #4
Posted 06/15/10 - 7:19 AM:

I will definitely let you know about the customization project. Thanks!
 
Search thread for
Download thread as


Sorry, you don't have permission to post. Log in, or register if you haven't yet.