remove .atom from public url

This commit is contained in:
danielvincent 2010-10-05 16:51:27 -07:00
parent 6723a51149
commit 09b861c7a3
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ class Person
end
def public_url
"#{self.url}users/#{self.owner.username}/public.atom"
"#{self.url}users/#{self.owner.username}/public"
end

View file

@ -28,7 +28,7 @@ module Diaspora
<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:media="http://purl.org/syndication/atommedia" xmlns:poco="http://portablecontacts.net/spec/1.0" xmlns:ostatus="http://ostatus.org/schema/1.0" xmlns:statusnet="http://status.net/schema/api/1/">
<generator uri="http://joindiaspora.com/">Diaspora</generator>
<id>#{@user.public_url}</id>
<id>#{@user.public_url}.atom</id>
<title>#{@user.real_name}'s Public Feed</title>
<subtitle>its a stream</subtitle>
<updated>#{Time.now.xmlschema}</updated>