Help - Search - Members - Calendar
Full Version: Publishing A Feed
Movable Type Community Forum > Using Movable Type > TrackBacks and Pings
Andrew DeFaria
How exactly does one "publish a feed"? I mean this should be simply but IMHO it seems overly complex and related to Trackbacks and Pings which never really made a lot a sense to me.

I have several blogs, for example, https://defaria.com/blogs/General/ or https://defaria.com/blogs/Personal. There's a link there for "Subscribe to this blog's feed" which gives me the following when I click on it:

CODE
The requested URL /blogs/General/atom.xml was not found on this server.


So how do I configure MT to allow users to subscribe to the feed? I've to configure https://defaria.com/blogs/Personal to allow trackbacks but I still get this error. I realize that what I would get when this works is an XML file but Firefox will allow me to handle that properly. But I'm not even getting that.

Simple, step by step instructions would be nice.

Thanks.
OtherNiceMan
At the moment it sounds like you feed templates are not being built with the indexes.

Log in and check you templates, you should see a template called Atom Indexes and it should be set to build w/ indexes
Andrew DeFaria
QUOTE (OtherNiceMan @ Feb 3 2007, 04:37 AM) *
At the moment it sounds like you feed templates are not being built with the indexes.

Log in and check you templates, you should see a template called Atom Indexes and it should be set to build w/ indexes


I don't see an Atom Index. I see one for RSS 1.0 and RSS 2.0 and they have "Built/w indexes" set. I'm not particular about using Atom.xml instead of an RSS. I think I want RSS 2.0 right? If so then how do I configure this block such that clicking on "Subscribe to this blog's feed" would give a RSS 2.0
PRO IT Service
Dear Andrew,

You could grab the Atom 1.0 template from http://www.sixapart.com/movabletype/defaul.../atom_index.txt

The way to configure it is pretty simple.


Just go on your blog Templates area and click on "Create New Index Template"

Then just type in:

Template Name
Atom Index

Output File *
atom.xml

Template Body
(grab it from here)


*. Note: look at your "Main Index" output file. If it contains something before "index.html" then put that stuff also on your Atom Template Output File field, just before where the default "atom.xml" goes. This will just make sure that your Atom feed will be generated on the same folder with your Main Index.


Hope these instructions are pretty straightforward!

Good luck,
Mihai Bocsaru
Andrew DeFaria
QUOTE (PRO IT Service @ Feb 3 2007, 01:14 PM) *
Dear Andrew,

You could grab the Atom 1.0 template from http://www.sixapart.com/movabletype/defaul.../atom_index.txt

The way to configure it is pretty simple.


Just go on your blog Templates area and click on "Create New Index Template"

Then just type in:

Template Name
Atom Index

Output File *
atom.xml

Template Body
(grab it from here)


My solution was to change:

CODE
<a href="<$MTBlogURL$>atom.xml">Subscribe to this blog's feed</a><br />


to

CODE
<a href="<$MTBlogURL$>index.xml">Subscribe to this blog's feed</a><br />


In the Main index. This seemed to work because that index.xml was already being generated.

QUOTE
*. Note: look at your "Main Index" output file. If it contains something before "index.html" then put that stuff also on your Atom Template Output File field, just before where the default "atom.xml" goes. This will just make sure that your Atom feed will be generated on the same folder with your Main Index.


Hope these instructions are pretty straightforward!


The above paragraph surely wasn't! What does 'if it contains something above "index.html"' mean?!? In any event it does contain:

CODE
   <link rel="alternate" type="application/atom+xml" title="Atom" href="<$MTBlogURL$>atom.xml" />
   <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<$MTBlogURL$>index.xml" />


so it seems to be listing both atom.xml andindex.xml. Why both is a mystery. Why did it seem to use atom.xml out of the box yet lack the Atom Index template such that I had to add one? If you ask me MT's configuration is way overly complex with little explanation of what's going on and so that's why I normally avoid it. Someone pointed out to me that my RSS subscription wasn't working so I'm trying to fix that.

Anyways this Atom Index and reverting my workaround seems to be working - thanks. However I can't help but wonder 1) why this didn't work out of the box and 2) what's an atom vs. RSS1.0? 3) How about RSS 2.0 vs RSS1.0 and which is the best to use...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.