<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>blog.sidneidasilva.com &#187; Blog</title>
	<atom:link href="http://blog.sidneidasilva.com/category/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sidneidasilva.com</link>
	<description></description>
	<lastBuildDate>Tue, 31 May 2011 16:48:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.sidneidasilva.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/9ed20a673cf8f74cf08f01d23fa6e0d5?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>blog.sidneidasilva.com &#187; Blog</title>
		<link>http://blog.sidneidasilva.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.sidneidasilva.com/osd.xml" title="blog.sidneidasilva.com" />
	<atom:link rel='hub' href='http://blog.sidneidasilva.com/?pushpress=hub'/>
		<item>
		<title>Suggestion to &#8220;Response to MrTopf&#8221;</title>
		<link>http://blog.sidneidasilva.com/2007/10/12/suggestion-to-response-to-mrtopf/</link>
		<comments>http://blog.sidneidasilva.com/2007/10/12/suggestion-to-response-to-mrtopf/#comments</comments>
		<pubDate>Fri, 12 Oct 2007 11:50:57 +0000</pubDate>
		<dc:creator>Sidnei</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[plone]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wlw]]></category>
		<category><![CDATA[customization]]></category>
		<category><![CDATA[kupu]]></category>
		<category><![CDATA[libraries]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://awkly.org/2007/10/12/suggestion-to-response-to-mrtopf/</guid>
		<description><![CDATA[Since today seems to be about writing blog posts about blog software, I want to pass on some idea that&#8217;s been in the back of my mind for about a month. I&#8217;ve installed Windows Live Writer and noticed that it is quite extensible. In fact, all of it&#8217;s extensibility features are documented on MSDN. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sidneidasilva.com&amp;blog=232351&amp;post=237&amp;subd=omsg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Since today seems to be about <a href="http://quills.sitefusion.co.uk/blog/archive/2007/10/12/response-to-mrtopf">writing blog posts about blog software</a>, I want to pass on some idea that&#8217;s been in the back of my mind for about a month.</p>
<p>I&#8217;ve installed Windows Live Writer and noticed that it is quite extensible. In fact, all of it&#8217;s extensibility features are documented on MSDN. </p>
<p>The really nice feature that got me hooked is the support for editing &#8216;inside the theme&#8217; (for the lack of a better description). The way this works is, there&#8217;s a small contract between Windows Live Writer and the blog, where the blog can <a href="http://msdn2.microsoft.com/en-us/library/bb463261.aspx">provide views that Windows Live Writer fetches for editing</a>.</p>
<p>So a nice suggestion for those working with blog support for Plone: please implement Windows Live Writer&#8217;s <a href="http://msdn2.microsoft.com/en-us/library/bb463266.aspx">Provider Customization API</a>.</p>
<p>And then, there&#8217;s another great feature that Plone can exploit, but this one I would like to implement myself. Windows Live Writer supports <a href="http://msdn2.microsoft.com/en-us/library/aa738863.aspx">Content Source Plugins</a>, which basically allow you to pop up a form for some user interaction and then spit out some HTML to be inserted at cursor location in the blog entry. </p>
<p>Now, if you stop and think just for a second, we already have a concept of &#8220;Content Source&#8221; in Plone: Kupu&#8217;s <a href="http://codespeak.net/svn/kupu/trunk/kupu/doc/LIBRARIES.txt">Image and Link Libraries</a>. It already has a well-defined XML format. It can be customized through the Plone UI. And to top it off there are examples of writing Content Source Plugins that read data from an XML source. It should be a piece of cake to implement a &#8220;Kupu drawer&#8221;-like Content Source Plugin for Windows Live Writer that reuses the data from Kupu.</p>
<p>So, that was it. Hopefully someone will take those ideas to the next level and implement something soon. Unfortunately I&#8217;m a little busy with graduation and all that at the moment, so I can only provide ideas. But maybe next year. :)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/omsg.wordpress.com/237/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/omsg.wordpress.com/237/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omsg.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omsg.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omsg.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omsg.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omsg.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omsg.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omsg.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omsg.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omsg.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omsg.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omsg.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omsg.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omsg.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omsg.wordpress.com/237/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sidneidasilva.com&amp;blog=232351&amp;post=237&amp;subd=omsg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sidneidasilva.com/2007/10/12/suggestion-to-response-to-mrtopf/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18268769213d24b741de807d6c350363?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sidnei</media:title>
		</media:content>
	</item>
		<item>
		<title>Migrating to WordPress</title>
		<link>http://blog.sidneidasilva.com/2006/06/07/migrating-to-wordpress/</link>
		<comments>http://blog.sidneidasilva.com/2006/06/07/migrating-to-wordpress/#comments</comments>
		<pubDate>Wed, 07 Jun 2006 17:07:37 +0000</pubDate>
		<dc:creator>Sidnei</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[plone]]></category>

		<guid isPermaLink="false">http://omsg.wordpress.com/2006/06/07/migrating-to-wordpress/</guid>
		<description><![CDATA[In case you didn&#8217;t notice, I&#8217;ve migrated my blog to WordPress. Why you ask, since we have Plone. Well, nothing special. Just that I wanted to avoid the temptation to keep tweaking my wires-and-bubble-gum blog installation on top of a really old Plone installation and have something that would just work. So, if you&#8217;re in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sidneidasilva.com&amp;blog=232351&amp;post=200&amp;subd=omsg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In case you didn&#8217;t notice, I&#8217;ve migrated my blog to <a href="http://www.wordpress.org">WordPress</a>.</p>
<p>Why you ask, since we have <a href="http://plone.org">Plone</a>. Well, nothing special. Just that<br />
I wanted to avoid the temptation to keep tweaking my<br />
wires-and-bubble-gum blog installation on top of a really old Plone<br />
installation and have something that would just work.</p>
<p><span id="more-200"></span><br />
So, if you&#8217;re in a similar situation and want to give WordPress a try,<br />
here&#8217;s the script I used to exporting my blog entries in the Movable<br />
Type export format for importing into WordPress. It should export<br />
categories and comments and everything in the proper format. It worked<br />
for me didn&#8217;t it? :O)</p>
<pre>
## Script (Python) &quot;mtexport&quot;
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=
##title=
##
out = context.REQUEST.RESPONSE
sort_modified = context.sort_modified_ascending
get_discussion = context.portal_discussion.getDiscussionFor
reply_replies = context.getReplyReplies
a_dict = {}

def spit_comments(comments, out):
      im_in_sub = False
      for comment in comments:
         if same_type(comment, a_dict):
           im_in_sub = True
           comment = comment['object']
         print &gt;&gt; out, 'COMMENT:'
         print &gt;&gt; out, 'AUTHOR:', comment.Creator()
         print &gt;&gt; out, 'DATE:', comment.created().strftime('%m/%d/%Y %H:%M:%S')
         print &gt;&gt; out, '&lt;strong&gt;', comment.Title(), '&lt;/strong&gt;', '&lt;br&gt;'
         print &gt;&gt; out, comment.CookedBody()
         print &gt;&gt; out, '-' * 5
         if not im_in_sub:
            spit_comments(reply_replies(comment), out)
      null = printed

for entry in context.blog.objectValues():
   print &gt;&gt; out, 'TITLE:', entry.Title()
   print &gt;&gt; out, 'AUTHOR:', 'sidnei'
   print &gt;&gt; out, 'DATE:', entry.created().strftime('%m/%d/%Y %H:%M:%S')
   print &gt;&gt; out, 'STATUS:', 'publish'
   print &gt;&gt; out, 'ALLOW COMMENTS:', '1'
   print &gt;&gt; out, 'ALLOW PINGS:', '1'
   print &gt;&gt; out, 'CONVERT BREAKS:', '0'
   cats = entry.Subject()
   if cats and cats[0].strip():
      print &gt;&gt; out, 'PRIMARY CATEGORY:', cats[0]
   for cat in cats[1:]:
      if cat.strip():
         print &gt;&gt; out, 'CATEGORY:', cat
   print &gt;&gt; out, '-' * 5
   print &gt;&gt; out, 'BODY:'
   print &gt;&gt; out, entry.CookedBody()
   comments = sort_modified(get_discussion(entry).getReplies())
   if comments:
      print &gt;&gt; out, '-' * 5
      spit_comments(comments, out)

   print &gt;&gt; out, '-' * 8

null = printed
return out
</pre>
<p>So if you succesfully use that, drop me a note.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/omsg.wordpress.com/200/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/omsg.wordpress.com/200/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omsg.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omsg.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omsg.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omsg.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omsg.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omsg.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omsg.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omsg.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omsg.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omsg.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omsg.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omsg.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omsg.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omsg.wordpress.com/200/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sidneidasilva.com&amp;blog=232351&amp;post=200&amp;subd=omsg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sidneidasilva.com/2006/06/07/migrating-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18268769213d24b741de807d6c350363?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sidnei</media:title>
		</media:content>
	</item>
	</channel>
</rss>
