THE BOOK cover
The Unwritten Book is Finally Written!
An in-depth analysis of: The sacrifice bunt, batter/pitcher matchups, the intentional base on balls, optimizing a batting lineup, hot and cold streaks, clutch performance, platooning strategies, and much more.
Read Excerpts & Customer Reviews

Buy The Book from Amazon


SABR101 required reading if you enter this site. Check out the Sabermetric Wiki. And interesting baseball books.
MOST RECENT ARTICLES
MAIL : You ask | We say

Advanced


THE BOOK--Playing The Percentages In Baseball

<< Back to main

Thursday, May 05, 2011

RSS feed no good: use Atom feed instead

By Tangotiger, 09:42 AM

One of the Straight Arrow readers helpfully pointed out that the Atom feed preserves formatting, while RSS does not:
http://www.insidethebook.com/ee/index.php/site/atom/
http://www.insidethebook.com/ee/index.php/site/rss_2.0/

Therefore, unless there’s someone who objects, I am going to point the RSS feed to the atom feed as of tomorrow.  For the RSS feed readers, please try Atom, and let me know if Atom looks as great to you (and far better than RSS) as it does for me.


Web Admin
#1          (see all posts) 2011/05/05 (Thu) @ 10:11

Awesome. I always wondered why the RSS feed looked so bad. It was especially irritating when viewing articles that contained charts or lists.


#2    Drew      (see all posts) 2011/05/05 (Thu) @ 10:48

Thank you!  I’ve been frustrated by the way Google Reader formats your posts, but Atom seems to be the trick.

Drew


#3    Chris      (see all posts) 2011/05/05 (Thu) @ 11:01

Yeah, dude! Atom is looking pretty sharp!


#4    Adam B.      (see all posts) 2011/05/05 (Thu) @ 11:13

The Atom feed looks better, but the nice thing with the RSS feed is that when you click on the link for the post title, it brings you directly to the thread with the comments. Not a big deal, though.


#5    tangotiger      (see all posts) 2011/05/05 (Thu) @ 12:08

I can fix the Atom feed to do that.  I was wondering what I changed from the original RSS feed, and I didn’t look too closely.

This was the original RSS feed:
http://www.insidethebook.com/ee/index.php/site/rss_original/

I modified it slightly, as shown above.

So, I will just change the Atom feed so that it links appropriately.


#6    Tangotiger      (see all posts) 2011/05/05 (Thu) @ 14:05

Ok, I have updated the Atom feed so that:
1. it includes the byline
2. it includes the “body” (in addition to the default “summary")
3. it links to the “comments” page, not “articles” page

“Summary” is the text you see on the home page.  “Body” is the text you see when you click “read more”.  So, in the feed, you are going to get both automatically.  I can create two separate feeds, one that has just the summary, and the other that has both summary and body.

The “articles” page only has the main blog post, but no comments.  The “comments” page has both the main blog post and the comments.

***

If everyone is happy, I’m going to point the RSS page to the Atom page, so no one has to make any changes.


#7    NaOH      (see all posts) 2011/05/05 (Thu) @ 14:09

If everyone is happy, I’m going to point the RSS page to the Atom page, so no one has to make any changes.

Please. Even without your changes in post #6, the adjustments make things much easier. Or, as is often said nowadays, there’s much less friction.


#8    Tangotiger      (see all posts) 2011/05/05 (Thu) @ 14:38

Ok, these are now the official feeds:

http://www.insidethebook.com/ee/index.php/site/atom/
http://www.insidethebook.com/ee/index.php/site/atom_comments/

You can see these at the bottom of the main blog page as well.

For those who already subscribe, you don’t have to do anything (maybe hit refresh).


#9          (see all posts) 2011/05/05 (Thu) @ 14:57

Nice! Definitely makes reading the feeds much easier.


#10    JTowsen      (see all posts) 2011/05/06 (Fri) @ 09:45

Great! Thanks for the tip. Much better.


Page 1 of 1 pages


Name (required)
E-Mail (optional; WILL be published)
Website (optional)

<< Back to main


Latest...

COMMENTS

May 25 11:33
“Why Kickstarter works”

May 25 11:32
Howard Stern

May 25 11:31
Do pitcher’s reach back for velocity when needed?

May 25 11:26
Lack of hustle during a game

May 25 11:22
What sabermetrics is NOT

May 25 10:58
Rooting for laundry

May 25 10:14
Largest demonstration in Canadian history?

May 25 02:38
NFLPA lawsuit against collusion

May 25 01:43
Neal Huntington’s best moves

May 24 17:04
Firefox, IE, or Chrome?