\
Skip Navigation LinksHome > Coding > Scripting > RSS & ATOM > RSS 1.0 Reference List\
 
 
[]On-Line Courses



 

Below is a sample RSS 1.0 file, formatted correctly and utilizing all tags. Select the question mark at the beginning of the specific line to view complete syntax details for the element.

01 ? <?xml version="1.0"?>
02 ? <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/">
03 ?      <channel rdf:about="{resource}">
04 ?           <title>{channel_title}</title>
05 ?           <link>{channel_link}</link>
06 ?           <description>{channel_description}</description>
07    
08 ?           <items>
09 ?                <rdf:Seq>
10 ?                     <rdf:li resource="{item_uri_A}" />
11                       <rdf:li resource="{item_uri_B}" />
12                       <rdf:li resource="{item_uri_C}" />
13                       ...
14                  </rdf:Seq>
15             </items>
16    
17 ?           <textinput rdf:resource="{textinput_uri}" />
18    
19 ?           <image rdf:resource="{image_uri}" />
20        </channel>
21    
22 ?      <image rdf:about="{image_uri}">
23 ?           <title>{image_alt_text}</title>
24 ?           <url>{image_url}</url>
25 ?           <link>{image_link}</link>
26        </image>
27    
28 ?      <item rdf:about="{item_uri_A}">
29 ?           <title>{item_title}</title>
30 ?           <link>{item_link}</link>
31 ?           <description>{item_description}</description>
32        </item>
33    
34        <item rdf:about="{item_uri_B}">
35             <title>{item_title}</title>
36             <link>{item_link}</link>
37             <description>{item_description}</description>
38        </item>
39    
40        <item rdf:about="{item_uri_C}">
41             <title>{item_title}</title>
42             <link>{item_link}</link>
43             <description>{item_description}</description>
44        </item>
45    
46 ?      <textinput rdf:about="{textinput_uri}">
47 ?           <title>{textinput_title}</title>
48 ?           <description>{textinput_description}</description>
49 ?           <name>{textinput_varname}</name>
50 ?           <link>{textinput_action_url}</link>
51        </textinput>
52    
53   </rdf:RDF>
Help Support Dx21
Buy Thru Us

 FAQs  |  Terms Of Use  |  Privacy Policy  |  Contact Us
Copyright © 1997 - 2012 Dx21, LLC. All rights reserved.
Dx21, LLC a Washington Limited Liability Company
Page Rendered at: 2/5/2012 5:54:15 AM for Unknown