<?xml version="1.0" encoding="iso-8859-1"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Comments on article "SubveRSSed 1.0"</title>
<link rel="alternate" type="text/html" href="http://base-art.net/Articles/46/" />
<updated>February 15, 2006 12:41 PM</updated>
<author>
  <name>Philippe Normand</name>
</author>
<id>urn:md5:11329</id>
<generator uri="http://pythonfr.org/">Alinea</generator>



<entry>
<title>Fernando on SubveRSSed 1.0</title>
<author>
<name>Fernando</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/185/"/>
<id>http://base-art.net/Comments/185/</id>
<updated>February 15, 2006 12:41 PM</updated>
<content type="html">
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This script is very good, but in my system I have to add a meta tag to show HTML file correctly. I don't understand Python very much, but I think you always write an UTF-8 HTML, so here is my contribution:&lt;/p&gt;
&lt;p&gt;(around line 71)&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;&amp;lt;head&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html;charset=utf-8&amp;quot; &amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;style&amp;gt;&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;Thank you for this script!&lt;/p&gt;

</content>
</entry>

<entry>
<title>phil on SubveRSSed 1.0</title>
<author>
<name>phil</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/164/"/>
<id>http://base-art.net/Comments/164/</id>
<updated>August 24, 2005 08:24 AM</updated>
<content type="html">
&lt;p&gt;Tanks for your contribution Dan!&lt;/p&gt;

</content>
</entry>

<entry>
<title>Dan Mosedale on SubveRSSed 1.0</title>
<author>
<name>Dan Mosedale</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/162/"/>
<id>http://base-art.net/Comments/162/</id>
<updated>August 23, 2005 10:33 PM</updated>
<content type="html">
Patch to the current cvs version that fixes two bugs: the --diff option broke recently, and on OS X, each run of the program doubles every newline in the HTML feed, which causes the size of the feed to exponentially explode until it runs out of virtual memory trying to process the old feed. &lt;br /&gt;
&lt;br /&gt;
Thanks for a very useful script!&lt;br /&gt;
&lt;br /&gt;
Dan&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Index: subverssed.py&lt;br /&gt;
===================================================================&lt;br /&gt;
--- subverssed.py&amp;nbsp; &amp;nbsp; &amp;nbsp;  (revision 96)&lt;br /&gt;
+++ subverssed.py&amp;nbsp; &amp;nbsp; &amp;nbsp;  (working copy)&lt;br /&gt;
@@ -221,7 +221,7 @@&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  if i.description is not None:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  lines.append(i.description.encode('utf8'))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  f = open(fname,'w')&lt;br /&gt;
-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; f.write('\n'.join(lines))&lt;br /&gt;
+&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; f.write(''\.join(lines))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  f.write(footer)&lt;br /&gt;
 &lt;br /&gt;
 def main(options):&lt;br /&gt;
@@ -281,7 +281,7 @@&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  itemId = ItemId(resource=newItemLink)&lt;br /&gt;
 &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  if options.HAVEDIFF == True:&lt;br /&gt;
-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; diff = helper.get_diff(i)&lt;br /&gt;
+&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; diff = helper.get_diff(i, encoding)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  d = u'&lt;pre&gt;%s %s&lt;/pre&gt;' % (log, diff)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  else:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  d = u'&lt;pre&gt;%s&lt;/pre&gt;\n' % (log)&lt;br /&gt;
&lt;br /&gt;
 
</content>
</entry>

<entry>
<title>phil on SubveRSSed 1.0</title>
<author>
<name>phil</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/157/"/>
<id>http://base-art.net/Comments/157/</id>
<updated>August 11, 2005 07:40 AM</updated>
<content type="html">
&lt;p&gt;Pops,&lt;/p&gt;
&lt;p&gt;Revision 95 of SubveRSSed fixes the Unicode problem. I noticed you don't provide a --link option. So it defaults to &amp;quot;&lt;a class="reference" href="http://some-url.com/feed.html"&gt;http://some-url.com/feed.html&lt;/a&gt;&amp;quot;. If you intend to make the feeds publicly available, this can be a problem.&lt;/p&gt;
&lt;p&gt;Here is how i do, my output path is /var/www/pythonfr/svn/ which is a directory served by Apache as url &amp;quot;&lt;a class="reference" href="http://svn.pythonfr.org/"&gt;http://svn.pythonfr.org/&lt;/a&gt;&amp;quot; .. The ouput path ideally corresponds to an URL. Do you get the point ?&lt;/p&gt;
&lt;p&gt;Then if you specify a --link &amp;quot;&lt;a class="reference" href="http://localhost/feed.html"&gt;http://localhost/feed.html&lt;/a&gt;&amp;quot; --output &amp;quot;/var/www/&amp;quot;, you'll get /var/www/feed_*.html and /var/www/feed.xml&lt;/p&gt;
&lt;p&gt;Cheers,
Philippe&lt;/p&gt;

</content>
</entry>

<entry>
<title>pops on SubveRSSed 1.0</title>
<author>
<name>pops</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/155/"/>
<id>http://base-art.net/Comments/155/</id>
<updated>August 10, 2005 02:01 PM</updated>
<content type="html">
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks :), Revision 109 solved teh earlier problem. But when iam trying 
to build the RSS feed on my repository iam getting the below error.&lt;/p&gt;
&lt;p&gt;[&lt;a class="reference" href="mailto:root&amp;#64;master"&gt;root&amp;#64;master&lt;/a&gt; ~]# ./subverssed.py --repository=/store1/subversion/repositories/DirectI --output=out/ --title=&amp;quot;CR Changes&amp;quot;&lt;/p&gt;
&lt;p&gt;Adding revision 5087&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;Adding revision 5087&lt;/p&gt;
&lt;p&gt;Writing &amp;quot;out/2000&amp;quot;&lt;/p&gt;
&lt;p&gt;Traceback (most recent call last):&lt;/p&gt;
&lt;p&gt;File &amp;quot;./subverssed.py&amp;quot;, line 338, in ?&lt;/p&gt;
&lt;p&gt;main(options)&lt;/p&gt;
&lt;p&gt;File &amp;quot;./subverssed.py&amp;quot;, line 302, in main&lt;/p&gt;
&lt;p&gt;writeHtmlOutput(slices,options)&lt;/p&gt;
&lt;p&gt;File &amp;quot;./subverssed.py&amp;quot;, line 218, in&lt;/p&gt;
&lt;p&gt;writeHtmlOutput&lt;/p&gt;
&lt;p&gt;lines.append(i.description.encode('utf8'))&lt;/p&gt;
&lt;p&gt;UnicodeDecodeError: 'ascii' codec can't decode&lt;/p&gt;
&lt;p&gt;byte 0xe6 in position 1508: ordinal not in range(128)&lt;/p&gt;
&lt;p&gt;pops&lt;/p&gt;

</content>
</entry>

<entry>
<title>phil on SubveRSSed 1.0</title>
<author>
<name>phil</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/154/"/>
<id>http://base-art.net/Comments/154/</id>
<updated>August 09, 2005 06:20 AM</updated>
<content type="html">
&lt;p&gt;Hi pops,&lt;/p&gt;
&lt;p&gt;The mistake is mine this time ;) I forgot to include a package in the setup.py. Can you please update your EaseXML SVN copy to revision 109 ?&lt;/p&gt;
&lt;p&gt;Thanks for bug report&lt;/p&gt;

</content>
</entry>

<entry>
<title>pops on SubveRSSed 1.0</title>
<author>
<name>pops</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/153/"/>
<id>http://base-art.net/Comments/153/</id>
<updated>August 08, 2005 05:22 PM</updated>
<content type="html">
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I get this below errror even after installing easexml 2.1.&lt;/p&gt;
&lt;p&gt;[&lt;a class="reference" href="mailto:root&amp;#64;master"&gt;root&amp;#64;master&lt;/a&gt; ~]# svn co &lt;a class="reference" href="http://svn.base-art.net/public/easexml"&gt;http://svn.base-art.net/public/easexml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[&lt;a class="reference" href="mailto:root&amp;#64;master"&gt;root&amp;#64;master&lt;/a&gt; ~]# cd easexml&lt;/p&gt;
&lt;p&gt;[&lt;a class="reference" href="mailto:root&amp;#64;master"&gt;root&amp;#64;master&lt;/a&gt; ~]# python setup.py install&lt;/p&gt;
&lt;p&gt;[&lt;a class="reference" href="mailto:root&amp;#64;master"&gt;root&amp;#64;master&lt;/a&gt; ~]# python subverssed.py
You need EaseXML (&amp;gt; 0.2.0) to use subveRSSed
Check it out at &lt;a class="reference" href="http://easexml.base-art.net"&gt;http://easexml.base-art.net&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Is there anything else to do to make this work.&lt;/p&gt;
&lt;p&gt;thanks
pops&lt;/p&gt;

</content>
</entry>

<entry>
<title>phil replies to Jeff Schiller on SubveRSSed 1.0</title>
<author>
<name>phil</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/148/"/>
<id>http://base-art.net/Comments/148/</id>
<updated>July 12, 2005 03:25 PM</updated>
<content type="html">
&lt;p&gt;Hi Jeff,&lt;/p&gt;
&lt;p&gt;About preview, i'll debug it. Sorry for inconvenience :(&lt;/p&gt;
&lt;p&gt;I don't think SubveRSSed will ever be integrated into Subversion as it is right now. Mainly because the script depends on EaseXML which is not that popular so far.&lt;/p&gt;
&lt;p&gt;Though there are alternatives, one guy did some XSLT to transform output of &lt;cite&gt;svn log --xml&lt;/cite&gt; to the RSS format, which can be more convenient in some ways.&lt;/p&gt;
&lt;p&gt;About LINK REL, this is a good idea. I guess you use some XSL to transform the XML returned by the WebDAV component to HTML. So a hack on the XSLT script may do the trick. Now remains the problem : where the LINK should point to ;)&lt;/p&gt;
&lt;p&gt;Probably integrating the RSS into the WebDAV component may do the job, i don't know that technology very much.. It would be worth it to chat with the subversion developers one time.&lt;/p&gt;
&lt;p&gt;I'll keep you posted&lt;/p&gt;

</content>
</entry>

<entry>
<title>Jeff Schiller on SubveRSSed 1.0</title>
<author>
<name>Jeff Schiller</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/147/"/>
<id>http://base-art.net/Comments/147/</id>
<updated>July 12, 2005 03:09 PM</updated>
<content type="html">
&lt;p&gt;Your Preview button ate my long ocmment I was going to post.  You might want to look into that.&lt;/p&gt;
&lt;p&gt;Long story short, can this be made part of Subversion?  My svgn admin skills are lacking.  I'd just like to have an LINK REL RSS feed available on my WebDAV page of my repository for Firefox's Live Bookmarks but I don't want to have to tinker with installing a Python script...&lt;/p&gt;

</content>
</entry>


</feed>