|
Below is a sample ATOM 0.3 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" encoding="utf-8"?> |
(2) |
|
| 02 |
? |
<feed |
(2) |
|
| 03 |
? |
version="0.3" |
(5) |
|
| 04 |
| xmlns="http://purl.org/atom/ns#" |
(5) |
|
| 05 |
? |
xml:lang="en-us" |
(4) |
|
| 06 |
| > |
|
|
| 07 |
| |
|
|
| 08 |
? |
<title>{feed_title}</title> |
(2) |
Content Construct |
| 09 |
| |
|
|
| 10 |
? |
<link |
(2) |
Link Construct |
| 11 |
| rel="{RelType}" |
(5) |
|
| 12 |
| type="{MIMEType}" |
(5) |
|
| 13 |
| href="{URL}" |
(5) |
|
| 14 |
| title="{string}" |
(5) |
|
| 15 |
| /> |
|
|
| 16 |
| |
|
|
| 17 |
? |
<author> |
(2) |
Person Construct |
| 18 |
| <name>{string}</name> |
(3) |
|
| 19 |
| <url>{URL}</url> |
(3) |
|
| 20 |
| <email>{MailTo}</email> |
(3) |
|
| 21 |
| </author> |
|
|
| 22 |
| |
|
|
| 23 |
? |
<contributor> |
(1) |
Person Construct |
| 24 |
| <name>{string}</name> |
(3) |
|
| 25 |
| <url>{URL}</url> |
(3) |
|
| 26 |
| <email>{MailTo}</email> |
(3) |
|
| 27 |
| </contributor> |
|
|
| 28 |
| |
|
|
| 29 |
? |
<tagline>{string}</tagline> |
(1) |
Content Construct |
| 30 |
| |
|
|
| 31 |
? |
<id>{URI}</id> |
(1) |
|
| 32 |
| |
|
|
| 33 |
? |
<generator |
(1) |
|
| 34 |
? |
url="{URL}" |
(4) |
|
| 35 |
? |
version="{string}" |
(4) |
|
| 36 |
| > |
|
|
| 37 |
| {string} |
|
|
| 38 |
| </generator> |
|
|
| 39 |
| |
|
|
| 40 |
? |
<copyright>{string}</copyright> |
(1) |
Content Construct |
| 41 |
| |
|
|
| 42 |
? |
<info>{string}</info> |
(1) |
Content Construct |
| 43 |
| |
|
|
| 44 |
? |
<modified>{W3C_Date}</modified> |
(2) |
Date Construct |
| 45 |
| |
|
|
| 46 |
? |
<entry> |
(2) |
|
| 47 |
? |
<title>{string}</title> |
(3) |
Content Construct |
| 48 |
? |
<link |
(3) |
Link Construct |
| 49 |
| rel="{RelType}" |
|
|
| 50 |
| type="{MediaType}" |
|
|
| 51 |
| href="{URL}" |
|
|
| 52 |
| title="{String}" /> |
|
|
| 53 |
? |
<author> |
(2) |
Person Construct |
| 54 |
| <name>{string}</name> |
|
|
| 55 |
| <url>{URL}</url> |
|
|
| 56 |
| <email>{MailTo}</email> |
|
|
| 57 |
| </author> |
|
|
| 58 |
| |
|
|
| 59 |
? |
<contributor> |
(1) |
Person Construct |
| 60 |
| <name>{string}</name> |
|
|
| 61 |
| <url>{URL}</url> |
|
|
| 62 |
| <email>{MailTo}</email> |
|
|
| 63 |
| </author> |
|
|
| 64 |
| |
|
|
| 65 |
? |
<id>{URI}</id> |
(1) |
|
| 66 |
| |
|
|
| 67 |
? |
<issued>{W3C_Date}</issued> |
(2) |
Date Construct |
| 68 |
? |
<created>{W3C_Date}</created> |
(1) |
Date Construct |
| 69 |
| |
|
|
| 70 |
? |
<summary>{string}</summary> |
(1) |
Content Construct |
| 71 |
| |
|
|
| 72 |
? |
<content>{string}</content> |
(1) |
Content Construct |
| 73 |
| </entry> |
|
|
| 74 |
| |
|
|
| 75 |
| <entry> |
|
|
| 76 |
| [...] |
|
|
| 77 |
| </entry> |
|
|
| 78 |
| |
|
|
| 79 |
| </feed> |
|
|
Constructs
| 00 |
? |
<{Content Construct} |
n/a |
| 01 |
? |
type="{MIMEType}" |
Optional |
| 02 |
? |
mode="{xml | escaped | base64}" |
Optional |
| 03 |
|
> |
|
| 04 |
|
[...] |
|
| 05 |
|
</{Content Construct}> |
|
| 06 |
|
|
|
| 07 |
? |
<{Link Construct} |
n/a |
| 08 |
? |
rel="{RelType}" |
Required |
| 09 |
? |
type="{MediaType}" |
Required |
| 10 |
? |
href="{URL}" |
Required |
| 11 |
? |
title="{String}" |
Required |
| 12 |
|
|
|
| 13 |
? |
<{Person Construct}> |
n/a |
| 14 |
? |
<name>{string}</name> |
Required |
| 15 |
? |
<url>{URL}</url> |
Required |
| 16 |
? |
<email>{Mailto}</email> |
Required |
| 17 |
|
</{Person Construct}> |
|
| 18 |
|
|
|
| 19 |
? |
<{Date Construct}> |
n/a |
| 20 |
|
{W3CDate-Time string} |
Required |
| 21 |
|
</{Date Construct}> |
|
Legend
| (1) | Optional Element |
| (2) | Required Element |
| (3) | Required Sub-Element |
| (4) | Optional Attribute; |
| (5) | Required Attribute |
|
Help Support Dx21 Buy Thru Us
|