Reply
RSS Semantics Question
Old 03-25-2008, 07:17 PM RSS Semantics Question
carterdea's Avatar
Ultra Talker

Posts: 304
Location: az
Hello,

I am making an RSS feed that will essentially syndicate this page: http://www.meddevicejobs.com/find_job.php?btn=Search

I was curious if I should style it as is, ie:
Code:
<description>Location: CT - Hartford | Company: Confidential | Pay : $100,000 | Posted: Mar 25</description>
Or do it a bit more semantically, ie:
Code:
<location>Location: CT - Hartford</location>
<company>Company: Confidential</company>
<pay>Pay : $100,000</pay>
<posted>Posted: Mar 25</posted>
This is my first RSS feed, so any help you have is great.

Carter
__________________
Carterdea.com
carterdea is offline
Reply With Quote
View Public Profile Visit carterdea's homepage!
 
When You Register, These Ads Go Away!
Old 03-25-2008, 09:01 PM Re: RSS Semantics Question
VirtuosiMedia's Avatar
Webmaster Talker

Posts: 738
You should stick with the standard RSS format unless you're trying to develop your own format. While the second is more semantically correct XML, it won't validate as an RSS feed because it doesn't conform to the proper format.

If you want a tutorial on creating RSS feeds, check out this article: http://searchenginewatch.com/showPage.html?page=2175271
VirtuosiMedia is offline
Reply With Quote
View Public Profile Visit VirtuosiMedia's homepage!
 
Old 03-26-2008, 04:26 PM Re: RSS Semantics Question
willcode4beer's Avatar
Webmaster Talker

Posts: 695
Name: Paul Davis
Location: San Francisco
Follow what VirtuosiMedia recommends.
OTOH, The 'X' in xml stands for eXtensible. So, you could create your own schema to define those tags, and embed the information in the RSS.
However, it will have no meaning to anyone who doesn't use your schema so, the semantics are likely to get lost. But, you would be able to have a valid RSS feed.
__________________
Paul Davis
willCode4Beer.com (coding for all the right reasons)
willcode4beer is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to RSS Semantics Question
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12850 seconds with 12 queries