Advanced Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignAdvanced Web Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old August 26th, 2003, 08:01 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
XML/RSS Standards

I've recently been trying my thumb at XML, in particular the RSS standards...

Does anyone happen to know if there's a standard tag and format for date and time of an item?

all of the RSS files i've been using as reference seem to be different...

Reply With Quote
  #2  
Old August 27th, 2003, 06:45 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
That's something I've never understood about the world of XML - there's no standard tagging system... or am i missing something?

Reply With Quote
  #3  
Old August 27th, 2003, 03:31 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
from my amateur probing of xml, you're right...

although it seems that certain things are applying standards, perhaps for certain industry aspects? i don't know. But i did manage on stumbling across RSS which is a standard for content exchange, mainly use to feed news articles to other websites. Many publications seem to be using it.

even devarticles:
http://www.devarticles.com/rss.php

its fun to look into... i'm hosting my browser homepage with a list of news articles from all my favourite sources...

Reply With Quote
  #4  
Old August 27th, 2003, 06:46 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
RSS should have standard tagging names, because all it is is XML for news syndication.

The chemical industry has their own standard set (http://www.xml-cml.org/), and I know that a lot of other major sectors are heading towards their own standardised versions too.

Reply With Quote
  #5  
Old August 29th, 2003, 06:50 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
Just got an update from PHPClasses that points to a class somebody's developed to handle a bunch of divergent standards for RSS. I haven't tried it out, but thought the link might go well in here.

http://www.phpclasses.org/browse.html/package/1299.html

Reply With Quote
  #6  
Old September 26th, 2003, 02:07 PM
md2perpe md2perpe is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 12 md2perpe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Re: XML/RSS Standards

Quote:
Originally posted by MadCowDzz
Does anyone happen to know if there's a standard tag and format for date and time of an item?

Found the following for RSS at http://www.w3.org/2001/10/glance/doc/howto:
Quote:
<span class = "date"> (inside an item): the date of the enclosing item. The date format for all W3C News Feeds should be uniform, please use YYYY-MM-DD


Also, I found
Quote:
All date-times in RSS conform to the Date and Time Specification of RFC 822, with the exception that the year may be expressed with two characters or four characters (four preferred).

at http://blogs.law.harvard.edu/tech/rss

Last edited by md2perpe : September 26th, 2003 at 02:12 PM.

Reply With Quote
  #7  
Old September 26th, 2003, 02:22 PM
md2perpe md2perpe is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 12 md2perpe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally posted by stumpy
That's something I've never understood about the world of XML - there's no standard tagging system... or am i missing something?

XML is not meant to have a standard tagging system, since XML is not a language of it's own. Rather, it's a set of rules, or call it a template, for constructing structured file formats. If you follow the rules, you won't need to write your own parsing routine, but are able to use standard software to parse your file.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignAdvanced Web Development > XML/RSS Standards


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway