diff options
author | Friendika <info@friendika.com> | 2011-08-12 21:01:51 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-12 21:01:51 -0700 |
commit | e15e18e0d1499a91f6e3d20553a09af534c471f7 (patch) | |
tree | b871ba05ec4d741425961e0ce7023faef3cb800c /view | |
parent | e1db1369664cd4299dd5bdcb463e549c602213f0 (diff) | |
download | volse-hubzilla-e15e18e0d1499a91f6e3d20553a09af534c471f7.tar.gz volse-hubzilla-e15e18e0d1499a91f6e3d20553a09af534c471f7.tar.bz2 volse-hubzilla-e15e18e0d1499a91f6e3d20553a09af534c471f7.zip |
hopefully fix statusnet bug by altering our feed format slightly
Diffstat (limited to 'view')
-rw-r--r-- | view/atom_feed.tpl | 4 | ||||
-rw-r--r-- | view/atom_feed_dfrn.tpl | 28 |
2 files changed, 30 insertions, 2 deletions
diff --git a/view/atom_feed.tpl b/view/atom_feed.tpl index 3d6bcc5b5..c7cc08297 100644 --- a/view/atom_feed.tpl +++ b/view/atom_feed.tpl @@ -19,10 +19,10 @@ <updated>$feed_updated</updated> - <author> + <dfrn:owner> <name dfrn:updated="$namdate" >$name</name> <uri dfrn:updated="$uridate" >$profile_page</uri> <link rel="photo" type="image/jpeg" dfrn:updated="$picdate" media:width="175" media:height="175" href="$photo" /> <link rel="avatar" type="image/jpeg" dfrn:updated="$picdate" media:width="175" media:height="175" href="$photo" /> $birthday - </author> + </dfrn:owner> diff --git a/view/atom_feed_dfrn.tpl b/view/atom_feed_dfrn.tpl new file mode 100644 index 000000000..3d6bcc5b5 --- /dev/null +++ b/view/atom_feed_dfrn.tpl @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8" ?> +<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:media="http://purl.org/syndication/atommedia" + xmlns:dfrn="http://purl.org/macgirvin/dfrn/1.0" + xmlns:as="http://activitystrea.ms/spec/1.0/" + xmlns:georss="http://www.georss.org/georss" + xmlns:poco="http://portablecontacts.net/spec/1.0" + xmlns:ostatus="http://ostatus.org/schema/1.0" + xmlns:statusnet="http://status.net/schema/api/1/" > + + <id>$feed_id</id> + <title>$feed_title</title> + <generator uri="http://friendika.com" version="$version">Friendika</generator> + <link rel="license" href="http://creativecommons.org/licenses/by/3.0/" /> + $hub + $salmon + + <updated>$feed_updated</updated> + + <author> + <name dfrn:updated="$namdate" >$name</name> + <uri dfrn:updated="$uridate" >$profile_page</uri> + <link rel="photo" type="image/jpeg" dfrn:updated="$picdate" media:width="175" media:height="175" href="$photo" /> + <link rel="avatar" type="image/jpeg" dfrn:updated="$picdate" media:width="175" media:height="175" href="$photo" /> + $birthday + </author> |