From planet at philwilson.org Fri Mar 13 01:46:14 2009 From: planet at philwilson.org (Phil Wilson) Date: Thu, 12 Mar 2009 14:46:14 +0000 Subject: Accepting new namespaced elements Message-ID: <9159c3dc0903120746l7ca310dq92eeeb2393e433f0@mail.gmail.com> Hi, I have patched my version of Venus to work as a basic client for NewsGator and want to maintain the ng:xxx elements that appear in the Venus cache (and are available in the template etc.). I have modified /venus/planet/reconstitute.py to do this - is this the correct way of adding more namespace support (http://intertwingly.net/code/venus/docs/venus.svg suggests yes) or should I be using a filter/plugin? As a side note, and possibly off-topic, does anyone know if feedparser.py is actively maintained? I appreciate that triage is time-consuming but some of the issues on http://code.google.com/p/feedparser/issues/list are close to two years old. Some even have patches. I have had to customise my local install to work around http://code.google.com/p/feedparser/issues/detail?id=74 (there is a patch for this issue in Python <2.5 in http://code.google.com/p/feedparser/issues/detail?id=40 and http://code.google.com/p/feedparser/issues/detail?id=68) but I am on Python 2.5. Cheers, Phil Wilson From rubys at intertwingly.net Fri Mar 13 11:22:10 2009 From: rubys at intertwingly.net (Sam Ruby) Date: Thu, 12 Mar 2009 20:22:10 -0400 Subject: Accepting new namespaced elements In-Reply-To: <9159c3dc0903120746l7ca310dq92eeeb2393e433f0@mail.gmail.com> References: <9159c3dc0903120746l7ca310dq92eeeb2393e433f0@mail.gmail.com> Message-ID: <49B9A732.8050501@intertwingly.net> Phil Wilson wrote: > Hi, > > I have patched my version of Venus to work as a basic client for > NewsGator and want to maintain the ng:xxx elements that appear in the > Venus cache (and are available in the template etc.). > > I have modified /venus/planet/reconstitute.py to do this - is this the > correct way of adding more namespace support > (http://intertwingly.net/code/venus/docs/venus.svg suggests yes) or > should I be using a filter/plugin? reconstitute sounds like the right place. Is this patch general enough that I should pull or apply it? > As a side note, and possibly off-topic, does anyone know if > feedparser.py is actively maintained? I appreciate that triage is > time-consuming but some of the issues on > http://code.google.com/p/feedparser/issues/list are close to two years > old. Some even have patches. I have had to customise my local install > to work around http://code.google.com/p/feedparser/issues/detail?id=74 > (there is a patch for this issue in Python <2.5 in > http://code.google.com/p/feedparser/issues/detail?id=40 and > http://code.google.com/p/feedparser/issues/detail?id=68) but I am on > Python 2.5. I do have commit access to feedparser. > Cheers, > > Phil Wilson From planet at philwilson.org Sun Mar 15 03:27:52 2009 From: planet at philwilson.org (Phil Wilson) Date: Sat, 14 Mar 2009 16:27:52 +0000 Subject: Accepting new namespaced elements In-Reply-To: <49B9A732.8050501@intertwingly.net> References: <9159c3dc0903120746l7ca310dq92eeeb2393e433f0@mail.gmail.com> <49B9A732.8050501@intertwingly.net> Message-ID: <9159c3dc0903140927i30ed2d31wccb598e8795ca1cb@mail.gmail.com> Reply to list this time around! >> I have modified /venus/planet/reconstitute.py to do this - is this the >> correct way of adding more namespace support >> (http://intertwingly.net/code/venus/docs/venus.svg suggests yes) or >> should I be using a filter/plugin? > > reconstitute sounds like the right place. Is this patch general enough that > I should pull or apply it? No, it's hard-coded to my username and password. I'll refactor that out and put up an initial version that you can take a look at. I fully expect to have to iterate a number of times before the code is acceptable since it involves modifications to a number of files. >> As a side note, and possibly off-topic, does anyone know if >> feedparser.py is actively maintained? > > I do have commit access to feedparser. There appear to be no tests for passing urllib2 handlers through to feedparser at present, I will try and write some as part of this work. Cheers, Phil From jordimassaguerpla at yahoo.es Mon Mar 16 23:35:57 2009 From: jordimassaguerpla at yahoo.es (Jordi Massaguer) Date: Mon, 16 Mar 2009 12:35:57 +0000 (GMT) Subject: planet appliance Message-ID: <705750.7310.qm@web27705.mail.ukl.yahoo.com> Hi all! Just wanted to share with you this appliance: http://jordimassaguerpla.blogspot.com/search/label/appliance%20planetplanet It has been done at the SUSE Studio team, at Novell, where I belong and we'll be very happy to hear your feedback. This appliance is for distributing and deploying planet easier than what is right now. Thanks Jordi Massaguer Pla From brian.ewins at gmail.com Tue Mar 17 04:01:59 2009 From: brian.ewins at gmail.com (Baz) Date: Mon, 16 Mar 2009 17:01:59 +0000 Subject: planet appliance In-Reply-To: <705750.7310.qm@web27705.mail.ukl.yahoo.com> References: <705750.7310.qm@web27705.mail.ukl.yahoo.com> Message-ID: <2faad3050903161001p293eca5dsd3525f3999394106@mail.gmail.com> 2009/3/16 Jordi Massaguer : > > Hi all! > > Just wanted to share with you this appliance: > > http://jordimassaguerpla.blogspot.com/search/label/appliance%20planetplanet > > It has been done at the SUSE Studio team, at Novell, where I belong and we'll be very happy to hear your feedback. > > This appliance is for distributing and deploying planet easier than what is right now. You got me wondering if anyone had done a planet in the cloud, seems so: http://markmail.org/message/4i4km6yzo6sn4iwp Its not clear how much Aaron actually used of Planet, or Venus - he mentions later on that his code only supports RSS 2.0, which suggests that he didn't use the 'real' planet code at all - just feedparser. No code posted, and the site appears to be abandonware - pity. > > Thanks > > Jordi Massaguer Pla > > > > > -- > devel mailing list > devel at lists.planetplanet.org > http://lists.planetplanet.org/mailman/listinfo/devel > From kevin.hamilton at gmail.com Tue Mar 17 04:10:39 2009 From: kevin.hamilton at gmail.com (Kevin Hamilton) Date: Mon, 16 Mar 2009 12:10:39 -0500 Subject: planet appliance In-Reply-To: <2faad3050903161001p293eca5dsd3525f3999394106@mail.gmail.com> References: <705750.7310.qm@web27705.mail.ukl.yahoo.com> <2faad3050903161001p293eca5dsd3525f3999394106@mail.gmail.com> Message-ID: Planet in the cloud? Isn't that what this ( http://intertwingly.net/blog/2007/08/01/CSV-Subscription-Lists ) is all about? On Mon, Mar 16, 2009 at 12:01 PM, Baz wrote: > 2009/3/16 Jordi Massaguer : > > > > Hi all! > > > > Just wanted to share with you this appliance: > > > > > http://jordimassaguerpla.blogspot.com/search/label/appliance%20planetplanet > > > > It has been done at the SUSE Studio team, at Novell, where I belong and > we'll be very happy to hear your feedback. > > > > This appliance is for distributing and deploying planet easier than what > is right now. > > You got me wondering if anyone had done a planet in the cloud, seems so: > http://markmail.org/message/4i4km6yzo6sn4iwp > > Its not clear how much Aaron actually used of Planet, or Venus - he > mentions later on that his code only supports RSS 2.0, which suggests > that he didn't use the 'real' planet code at all - just feedparser. No > code posted, and the site appears to be abandonware - pity. > > > > > Thanks > > > > Jordi Massaguer Pla > > > > > > > > > > -- > > devel mailing list > > devel at lists.planetplanet.org > > http://lists.planetplanet.org/mailman/listinfo/devel > > > -- > devel mailing list > devel at lists.planetplanet.org > http://lists.planetplanet.org/mailman/listinfo/devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: /archives/devel/attachments/20090316/02917c2e/attachment.htm From jakobsson.robin at gmail.com Wed Mar 25 03:45:03 2009 From: jakobsson.robin at gmail.com (Robin Jakobsson) Date: Tue, 24 Mar 2009 17:45:03 +0100 Subject: Can we change this -> "owner_email = janet@slut.sex" ? Message-ID: <5bee08d30903240945l1fbf3206lf47878f5221a2ad@mail.gmail.com> Hi! Can somebody please change the "owner_email = janet at slut.sex" code example in examples/fancy/config.ini to something more friendly, like "janet at schmanet.com" or whatever. Thank you in advance. From brian.ewins at gmail.com Wed Mar 25 21:25:33 2009 From: brian.ewins at gmail.com (Baz) Date: Wed, 25 Mar 2009 10:25:33 +0000 Subject: Can we change this -> "owner_email = janet@slut.sex" ? In-Reply-To: <5bee08d30903240945l1fbf3206lf47878f5221a2ad@mail.gmail.com> References: <5bee08d30903240945l1fbf3206lf47878f5221a2ad@mail.gmail.com> Message-ID: <2faad3050903250325p18005c5dm2dd538e023f6a2c6@mail.gmail.com> 2009/3/24 Robin Jakobsson : > Hi! > Can somebody please change the "owner_email = janet at slut.sex" code > example in examples/fancy/config.ini to something more friendly, like > "janet at schmanet.com" or whatever. Better to use domains from rfc 2606, that's what they're there for http://www.ietf.org/rfc/rfc2606.txt eg janet at example.com, janet at schmanet.test > > Thank you in advance. > -- > devel mailing list > devel at lists.planetplanet.org > http://lists.planetplanet.org/mailman/listinfo/devel > From jakobsson.robin at gmail.com Wed Mar 25 21:33:26 2009 From: jakobsson.robin at gmail.com (Robin Jakobsson) Date: Wed, 25 Mar 2009 11:33:26 +0100 Subject: Can we change this -> "owner_email = janet@slut.sex" ? In-Reply-To: <2faad3050903250325p18005c5dm2dd538e023f6a2c6@mail.gmail.com> References: <5bee08d30903240945l1fbf3206lf47878f5221a2ad@mail.gmail.com> <2faad3050903250325p18005c5dm2dd538e023f6a2c6@mail.gmail.com> Message-ID: <5bee08d30903250333v176edadw86e243ec5813604f@mail.gmail.com> Yeah, that would be awesome. Thanks! On Wed, Mar 25, 2009 at 11:25 AM, Baz wrote: > 2009/3/24 Robin Jakobsson : >> Hi! >> Can somebody please change the "owner_email = janet at slut.sex" code >> example in examples/fancy/config.ini to something more friendly, like >> "janet at schmanet.com" or whatever. > > Better to use domains from rfc 2606, that's what they're there for > http://www.ietf.org/rfc/rfc2606.txt > > eg janet at example.com, janet at schmanet.test > >> >> Thank you in advance. >> -- >> devel mailing list >> devel at lists.planetplanet.org >> http://lists.planetplanet.org/mailman/listinfo/devel >> > From planet at philwilson.org Sat Mar 28 11:25:26 2009 From: planet at philwilson.org (Phil Wilson) Date: Sat, 28 Mar 2009 00:25:26 +0000 Subject: Accepting new namespaced elements In-Reply-To: <49B9A732.8050501@intertwingly.net> References: <9159c3dc0903120746l7ca310dq92eeeb2393e433f0@mail.gmail.com> <49B9A732.8050501@intertwingly.net> Message-ID: <9159c3dc0903271725m3fbb9c0ex5c3300cdb6463c34@mail.gmail.com> >> I have modified /venus/planet/reconstitute.py to do this - is this the >> correct way of adding more namespace support >> (http://intertwingly.net/code/venus/docs/venus.svg suggests yes) or >> should I be using a filter/plugin? > > reconstitute sounds like the right place. ?Is this patch general enough that > I should pull or apply it? My Newsgator work is now in bzr on http://philwilson.org/code/venus-ng/ and there is a little more detail on http://philwilson.org/blog/2009/03/venus-ng I only regard this as a first-pass (i.e. "it works") which means it's more a fork of venus at the moment than a branch that can be merged in (detail on the blog). Additionally I accidentally reverted most of my namespace code at some point before committing, so it only maintains one newsgator element at the moment. Anyway, I'd appreciate it if anyone could take a look. Cheers, Phil