change atom templates
This commit is contained in:
parent
4631a3c282
commit
43f8dd6802
|
@ -0,0 +1,15 @@
|
||||||
|
<entry>
|
||||||
|
<author>
|
||||||
|
<name>$name</name>
|
||||||
|
<uri>$profile_page</uri>
|
||||||
|
<dfrn:avatar>$thumb</dfrn:avatar>
|
||||||
|
</author>
|
||||||
|
|
||||||
|
<thr:in-reply-to ref="$parent_id" />
|
||||||
|
<id>$item_id</id>
|
||||||
|
<title>$title</title>
|
||||||
|
<updated>$updated</updated>
|
||||||
|
<content>$content</content>
|
||||||
|
<dfrn:comment-allow>$comment_allow</dfrn:comment-allow>
|
||||||
|
</entry>
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
<feed xmlns="http://www.w3.org/2005/Atom"
|
||||||
|
xmlns:thr="http://purl.org/syndication/thread/1.0"
|
||||||
|
xmlns:at="http://purl.org/atompub/tombstones/1.0"
|
||||||
|
xmlns:dfrn="http://purl.org/macgirvin/dfrn/1.0" >
|
||||||
|
|
||||||
|
<id>$feed_id</id>
|
||||||
|
<title>$feed_title</title>
|
||||||
|
<updated>$feed_updated</updated>
|
||||||
|
|
||||||
|
<author>
|
||||||
|
<name>$name</name>
|
||||||
|
<uri>$profile_page</uri>
|
||||||
|
<dfrn:avatar>$photo</dfrn:avatar>
|
||||||
|
</author>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<entry>
|
||||||
|
<author>
|
||||||
|
<name>$name</name>
|
||||||
|
<uri>$profile_page</uri>
|
||||||
|
<dfrn:avatar>$thumb</dfrn:avatar>
|
||||||
|
</author>
|
||||||
|
|
||||||
|
<id>$item_id</id>
|
||||||
|
<title>$title</title>
|
||||||
|
<published>$published</published>
|
||||||
|
<updated>$updated</updated>
|
||||||
|
<content>$content</content>
|
||||||
|
<dfrn:comment-allow>$comment_allow</dfrn:comment-allow>
|
||||||
|
</entry>
|
|
@ -0,0 +1,3 @@
|
||||||
|
|
||||||
|
<at:deleted-entry ref="$id" when="$updated" />
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom"
|
|
||||||
xmlns:foaf="http://xmlns.com/foaf/0.1"
|
|
||||||
xmlns:thr="http://purl.org/syndication/thread/1.0"
|
|
||||||
xmlns:at="http://purl.org/atompub/tombstones/1.0"
|
|
||||||
>
|
|
||||||
<id>$feed_id</id>
|
|
||||||
<title>$feed_title</title>
|
|
||||||
<updated>$feed_updated</updated>
|
|
||||||
|
|
||||||
<author>
|
|
||||||
<name>$name</name>
|
|
||||||
<foaf:homepage rdf:resource="$profile_page" />
|
|
||||||
<foaf:img rdf:resource="$thumb" />
|
|
||||||
</author>
|
|
||||||
|
|
||||||
|
|
||||||
<entry>
|
|
||||||
<id>$item_id</id>
|
|
||||||
<title>$title</title>
|
|
||||||
<link href="$link" />
|
|
||||||
<updated>$updated</updated>
|
|
||||||
<summary>$summary</summary>
|
|
||||||
<content type="text/plain" >$content</content>
|
|
||||||
</entry>
|
|
||||||
</feed>
|
|
Loading…
Reference in New Issue
Block a user