With a little side of applesauce...

Thursday, February 1, 2007

Syndicating full text on Blogger

It's very simple to syndicate the full text content of your Blogger site.

1. Login to your admin dashboard
2. Choose Settings->Site Feed
3. Click the drop-down menu on Description, and choose "Full"
4. Save Settings

A description setting of "Short" uses a element:

<summary type="application/xhtml+xml" xml:base="http://erikin.blogspot.com" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">I am putting some text here to see what the xml looks like... I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to</div>
</summary>

(According to notes on the Site Feed page: “Select Short if you only wish to syndicate the first paragraph, or approximately 255 characters, whichever is shorter.”

A description setting of “Full” uses removes the element, and uses a element:

<content type="application/xhtml+xml" xml:base="http://erikin.blogspot.com" xml:space="preserve">
<div xmlns="http://www.w3.org/1999/xhtml">I am putting some text here to see what the xml looks like... I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...


I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...</div>
</content>

The following diff shows the changes:

--- blogger_atom_short.xml 2006-03-24 07:19:40.000000000 -0600
+++ blogger_atom_full.xml 2006-03-24 07:20:53.000000000 -0600
@@ -8,7 +8,7 @@
<tagline mode="escaped" type="text/html"></tagline>
<link xhref="http://erikin.blogspot.com" rel="alternate" title="erikin blogger site" type="text/html"/>
<id>tag:blogger.com,1999:blog-24658952</id>
-<modified>2006-03-24T13:18:38Z</modified>
+<modified>2006-03-24T13:21:49Z</modified>
<generator url="http://www.blogger.com/" version="5.15">Blogger</generator>
<info mode="xml" type="text/html">

@@ -27,9 +27,10 @@
<link xhref="http://erikin.blogspot.com/2006/03/put-some-test-here.html" rel="alternate" title="Put some test here..." type="text/html"/>
<id>tag:blogger.com,1999:blog-24658952.post-114320285516000985</id>
<title mode="escaped" type="text/html">Put some test here...</title>
-<summary type="application/xhtml+xml" xml:base="http://erikin.blogspot.com" xml:space="preserve">
-
<div xmlns="http://www.w3.org/1999/xhtml">I am putting some text here to see what the xml looks like... I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to</div>
-</summary>
+<content type="application/xhtml+xml" xml:base="http://erikin.blogspot.com" xml:space="preserve">
+
<div xmlns="http://www.w3.org/1999/xhtml">I am putting some text here to see what the xml looks like... I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...

+
I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...I am putting some text here to see what the xml looks like...</div>
+</content>
<draft xmlns="http://purl.org/atom-blog/ns#">false</draft>
</entry>
</feed>

No comments: