przewiń do treści

HTML, XHTML i CSS. Praktyczne projekty. Wydanie II

Włodzimierz Gajda

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title type="text">Lorem ipsum</title>
    <subtitle type="html">Dolor &lt;em&gt;sit&lt;/em&gt; amet!</subtitle>
    <id>http://example.net/atom/</id>
    <link rel="self" type="application/atom+xml" href="http://example.net/atom/" />
    <link rel="alternate" type="text/html" href="http://example.net/" />
    <updated>2008-01-02T10:15:00Z</updated>
    <author>
        <name>Jan Kowalski</name>
    </author>
    <rights>Copyright (c) 2003 Jan Kowalski</rights>

    <entry>
        <title>Lorem</title>
        <link href="http://example.net/lorem.html" />
        <updated>2007-12-18T8:10:00Z</updated>
        <summary>Opis strony lorem...</summary>
    </entry>

    <entry>
        <title>Ipsum</title>
        <link href="http://example.net/ipsum.html" />
        <updated>2007-12-19T9:15:00Z</updated>
        <summary>Opis strony ipsum...</summary>
    </entry>

    ...

</feed>

Listing 42.2. Plik atom.xml z ćwiczenia 42.2

Rozdział 42. Powiązania dokumentów

listing-42-02.txt