From thom@debian.org Mon Jan 19 03:05:01 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 4DDA657D0 for ; Mon, 19 Jan 2004 03:05:01 +0000 (GMT) Received: from au-mai-0003.flow.com.au (au-mai-0003.flow.com.au [202.129.90.39]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0E17B57C2 for ; Mon, 19 Jan 2004 03:05:00 +0000 (GMT) Received: from home.perkypants.org (m077-215.nv.iinet.net.au [203.217.77.215]) by au-mai-0003.flow.com.au (Postfix) with ESMTP id 76B545380D0 for ; Mon, 19 Jan 2004 14:04:56 +1100 (EST) Received: from [192.168.10.254] (unknown [192.168.10.254]) by home.perkypants.org (Postfix) with ESMTP id E77213BE3 for ; Mon, 19 Jan 2004 14:04:53 +1100 (EST) Mime-Version: 1.0 (Apple Message framework v609) Content-Transfer-Encoding: 7bit Message-Id: <48F21050-4A2C-11D8-9F4E-000393BDB390@debian.org> Content-Type: text/plain; charset=US-ASCII; format=flowed To: devel@lists.planetplanet.org From: Thom May Date: Mon, 19 Jan 2004 13:35:07 +1030 X-Mailer: Apple Mail (2.609) X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 Subject: [Devel] We should be up... X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 03:05:01 -0000 Status: O Content-Length: 43 Lines: 4 and running now. Sorry for the delay ;-) From scott@netsplit.com Mon Jan 19 03:47:38 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id C81E157CA for ; Mon, 19 Jan 2004 03:47:38 +0000 (GMT) Received: from mailstore.positive-internet.com (unknown [80.87.128.80]) by amnesiac.heapspace.net (Postfix) with ESMTP id B7FB457AC for ; Mon, 19 Jan 2004 03:47:37 +0000 (GMT) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by mailstore.positive-internet.com (Postfix) with ESMTP id B39E4177812 for ; Mon, 19 Jan 2004 03:47:37 +0000 (GMT) Received: (qmail 4288 invoked from network); 19 Jan 2004 03:47:36 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 19 Jan 2004 03:47:36 -0000 From: Scott James Remnant To: devel@lists.planetplanet.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-lbSi2R3izygywInXM+o/" Message-Id: <1074484058.1585.86.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 19 Jan 2004 03:47:38 +0000 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 Subject: [Devel] Planetary alignment X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 03:47:38 -0000 Status: O Content-Length: 2330 Lines: 73 --=-lbSi2R3izygywInXM+o/ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Yay, we have a list, thanks Thom, you rock :-) So here's some changes I've made today: scott@netsplit.com--projects http://www.netsplit.com/arch planet--devel--0.0 patch-15 * For those feeds lacking full date and time information for their entries we maintain a "time cache". Basically for each entry seen, we record the time we first saw it, and use that. (watch out the first time you run with this, it'll "first see" every new entry of a feed without dates or times, and stick them all at the top. Best to run it first with the output somewhere else, then edit cache/*,times and fix them up.) patch-16, patch-17 * These fix a bug-fix in feedparser -- it doesn't remove the namespace prefix from elements inside an Atom content tag. Also the following change from my codebase still hasn't been merged to Jeff's, it makes it use the site's unique id for the guid rather than the link (which planetlib makes safe to do): ----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8= <---- diff -x {arch} -x .arch-ids -ruNp planet-jdub/examples/rss20.xml.tmpl plane= t-scott/examples/rss20.xml.tmpl --- planet-jdub/examples/rss20.xml.tmpl 2004-01-13 00:12:11.000000000 +0000 +++ planet-scott/examples/rss20.xml.tmpl 2004-01-18 21:13:09.0000000= 00 +0000 @@ -8,7 +8,7 @@ <TMPL_VAR channel_name><TMPL_IF title>: <TMPL_VAR title></TM= PL_IF> - + ---->8-------->8-------->8-------->8-------->8-------->8-------->8-------->= 8---- Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-lbSi2R3izygywInXM+o/ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQBAC1NaIexP3IStZ2wRAqKdAJ4yfj+W/zLP4xgzgfrQdSKg1n2q1wCggzMD KfEHWOGF7Leg5fOQ0oJ2ZOc= =MC0f -----END PGP SIGNATURE----- --=-lbSi2R3izygywInXM+o/-- From greebo@flute.bandcamp.tv Mon Jan 19 04:31:33 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 316E957CA for ; Mon, 19 Jan 2004 04:31:33 +0000 (GMT) Received: from flute.bandcamp.tv (flute.bandcamp.tv [61.8.3.175]) by amnesiac.heapspace.net (Postfix) with ESMTP id 7584E57AC for ; Mon, 19 Jan 2004 04:31:30 +0000 (GMT) Received: from flute.bandcamp.tv (localhost [127.0.0.1]) by flute.bandcamp.tv (8.12.3/8.12.3/Debian-6.6) with ESMTP id i0J4edRR017632 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Mon, 19 Jan 2004 15:40:39 +1100 Received: from localhost (localhost [[UNIX: localhost]]) by flute.bandcamp.tv (8.12.3/8.12.3/Debian-6.6) id i0J4ecWI017630 for devel@lists.planetplanet.org; Mon, 19 Jan 2004 15:40:38 +1100 Date: Mon, 19 Jan 2004 15:00:26 +1030 From: Jeff Waugh To: devel@lists.planetplanet.org Subject: Re: [Devel] Planetary alignment Message-ID: <20040119043026.GG3439@willow> References: <1074484058.1585.86.camel@descent.netsplit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1074484058.1585.86.camel@descent.netsplit.com> X-Message-Flag: Cranky? Try Free Software instead! X-Operating-System: Linux 2.4.18-newpmac ppc Reply-By: Thu Jan 22 14:58:03 CST 2004 X-Uptime: 14:58:03 up 16:25, 6 users, load average: 0.18, 0.24, 0.12 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 04:31:33 -0000 Status: O Content-Length: 1332 Lines: 40 > Yay, we have a list, thanks Thom, you rock :-) Yaay! :-) > patch-15 > * For those feeds lacking full date and time information for > their entries we maintain a "time cache". Basically for > each entry seen, we record the time we first saw it, and use > that. > > (watch out the first time you run with this, it'll "first see" > every new entry of a feed without dates or times, and stick > them all at the top. Best to run it first with the output > somewhere else, then edit cache/*,times and fix them up.) Ah, rocking. Zach Beane sent me a really seedy patch for this, but you've done it just how I was hoping to. Hurrah for sleep-hack-planet-revolving. ;-) > patch-16, patch-17 > * These fix a bug-fix in feedparser -- it doesn't remove the > namespace prefix from elements inside an Atom content tag. Heh, saw that on planet debian. > Also the following change from my codebase still hasn't been merged to > Jeff's, it makes it use the site's unique id for the guid rather than > the link (which planetlib makes safe to do): Yeah, just hadn't committed yet. We should be synced pretty well now. - Jeff -- Come to gnome.conf.au 2004! http://www.gnome.org/~jdub/2004/gnome.conf.au/ Toothpaste is the most important meal of the day. From skvidal@phy.duke.edu Tue Jan 20 22:08:50 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 1B24857C2 for ; Tue, 20 Jan 2004 22:08:50 +0000 (GMT) Received: from mail.phy.duke.edu (mail.phy.duke.edu [152.3.182.2]) by amnesiac.heapspace.net (Postfix) with ESMTP id A878357AC for ; Tue, 20 Jan 2004 22:08:48 +0000 (GMT) Received: from opus.phy.duke.edu (opus.phy.duke.edu [152.3.182.42]) by mail.phy.duke.edu (Postfix) with ESMTP id 0C97DA78E1 for ; Tue, 20 Jan 2004 17:08:48 -0500 (EST) From: seth vidal To: devel@lists.planetplanet.org Content-Type: text/plain Message-Id: <1074636527.4390.32.camel@opus> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 (1.4.3-1.duke.1) Date: 20 Jan 2004 17:08:47 -0500 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 Subject: [Devel] a few bugs X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2004 22:08:50 -0000 Status: O Content-Length: 924 Lines: 35 Hi, A few bugs that I've bumped into: - if a feed doesn't have utf8 compliant data then the planet code will just backtrace and not try to work around it - leaving you with a blank index.html. - an advogato user put a link in an entry, the link was turned into the location of their feed. - very odd, this one. I've looked at the code and I was thinking it might be useful to add a makefile to it and make it more fhs compliant for an install: /etc/planet /etc/planet/templates /usr/bin/planet /usr/share/planet/ (planet-libs-here) /var/cache/planet/ /var/www/planet/output /usr/share/doc/planet-version-number/examples/ also I was thinking that maybe an /etc/planet/feeds.d/ dir where you just put one feed per file might be handy for sites administered by multiple people. it might make it a easier to pass around updates via debs or rpms - also version numbers might also be handy. thoughts? -sv From scott@netsplit.com Wed Jan 21 12:30:25 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 5C45057AE for ; Wed, 21 Jan 2004 12:30:25 +0000 (GMT) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 9B2AD57C6 for ; Wed, 21 Jan 2004 12:30:22 +0000 (GMT) Received: (qmail 3529 invoked from network); 21 Jan 2004 12:30:21 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 21 Jan 2004 12:30:21 -0000 Subject: Re: [Devel] a few bugs From: Scott James Remnant To: devel@lists.planetplanet.org In-Reply-To: <1074636527.4390.32.camel@opus> References: <1074636527.4390.32.camel@opus> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-QcGNbcsl1pJvEAfbQTcy" Message-Id: <1074688226.1585.164.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 21 Jan 2004 12:30:26 +0000 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2004 12:30:25 -0000 Status: O Content-Length: 2340 Lines: 70 --=-QcGNbcsl1pJvEAfbQTcy Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2004-01-20 at 22:08, seth vidal wrote: > A few bugs that I've bumped into: >=20 Do you know which version of Planet you're using? And which version of Python are you using it with? > - if a feed doesn't have utf8 compliant data then the planet code will > just backtrace and not try to work around it - leaving you with a blank > index.html. >=20 Do you have a copy of this backtrace? There's a try/except around adding a Channel so shouldn't ever result in a blank index.html (unless you're running a really old version :p) > - an advogato user put a link in an entry, the link was turned into the > location of their feed. - very odd, this one. > =20 Strange, we've got Advogato feeds on Planet Debian and they seem to work ok... Don't suppose you've still got that feed in your cache directory? > I've looked at the code and I was thinking it might be useful to add a > makefile to it and make it more fhs compliant for an install: >=20 Ugh. If we were installing properly, it should probably be a Pythonesque install with a planet module and stuff -- just gets icky :p Besides, I don't have root on the server I run Planet Debian from, don't think Jeff has either for Planet GNOME > also I was thinking that maybe an /etc/planet/feeds.d/ dir where you > just put one feed per file might be handy for sites administered by > multiple people. >=20 I was vaguely considering support for FOAF or OPML feed lists which it'd use in addition to the config file, but then I saw how utterly immense rdflib was and decided not to worry about that :-) > it might make it a easier to pass around updates via debs or rpms - also > version numbers might also be handy. >=20 We'll start counting real version numbers when we release a version I guess ;) Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-QcGNbcsl1pJvEAfbQTcy Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQBADnDhIexP3IStZ2wRAogGAJ4pYx6qPq+XP1J8UDa7l4Or3ZDhFQCeP8HI FdUa52YrjB/MkE+d3oO1sTs= =AwfQ -----END PGP SIGNATURE----- --=-QcGNbcsl1pJvEAfbQTcy-- From skvidal@phy.duke.edu Wed Jan 21 14:06:01 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 593D657C6 for ; Wed, 21 Jan 2004 14:06:01 +0000 (GMT) Received: from mail.phy.duke.edu (mail.phy.duke.edu [152.3.182.2]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6B4AA57DE for ; Wed, 21 Jan 2004 14:05:50 +0000 (GMT) Received: from [192.168.0.6] (rdu57-255-028.nc.rr.com [66.57.255.28]) by mail.phy.duke.edu (Postfix) with ESMTP id CF4CCA7852; Wed, 21 Jan 2004 09:05:48 -0500 (EST) Subject: Re: [Devel] a few bugs From: seth vidal To: Scott James Remnant In-Reply-To: <1074688226.1585.164.camel@descent.netsplit.com> References: <1074636527.4390.32.camel@opus> <1074688226.1585.164.camel@descent.netsplit.com> Content-Type: text/plain Message-Id: <1074693700.9060.35.camel@binkley> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 21 Jan 2004 09:01:41 -0500 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2004 14:06:01 -0000 Status: O Content-Length: 1797 Lines: 64 > Do you know which version of Planet you're using? And which version of > Python are you using it with? planet.py has 0.1 in it - this is the latest version I got from Jeff. python is 2.2.3 > Do you have a copy of this backtrace? There's a try/except around > adding a Channel so shouldn't ever result in a blank index.html (unless > you're running a really old version :p) no I don't. I've been trying to recreate it but I can't seem to force it to happen. The person who caused it did with wordpress and using an image smiley of some type. He said he can cause it again. When he does I'll catch the trace then. > > Strange, we've got Advogato feeds on Planet Debian and they seem to work > ok... Don't suppose you've still got that feed in your cache directory? No I don't. Again - this one was a one off. But I checked the template and the cache and it was right in the cache but wrong in the template. > Ugh. If we were installing properly, it should probably be a > Pythonesque install with a planet module and stuff -- just gets icky :p true - but it makes maintenance easier for people who like to maintain things via pkgs. > Besides, I don't have root on the server I run Planet Debian from, don't > think Jeff has either for Planet GNOME fair enough - but there are lots of these aggregates coming up it seems and maybe I'm the only one with root. > I was vaguely considering support for FOAF or OPML feed lists which it'd > use in addition to the config file, but then I saw how utterly immense > rdflib was and decided not to worry about that :-) I was thinking: file1: [someurlhere] name=some name file2: [someotherurlhere] name=some other name etc etc etc > We'll start counting real version numbers when we release a version I > guess ;) ok. -sv From scott@netsplit.com Sat Jan 24 04:31:02 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 530D157AE for ; Sat, 24 Jan 2004 04:31:02 +0000 (GMT) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 82AD457C6 for ; Sat, 24 Jan 2004 04:31:00 +0000 (GMT) Received: (qmail 1181 invoked from network); 24 Jan 2004 04:30:59 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 24 Jan 2004 04:30:59 -0000 From: Scott James Remnant To: devel@lists.planetplanet.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-3/ojZQcaak13gqFU8oye" Message-Id: <1074918667.1585.303.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sat, 24 Jan 2004 04:31:08 +0000 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 Subject: [Devel] Important Patch X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2004 04:31:02 -0000 Status: O Content-Length: 1551 Lines: 55 --=-3/ojZQcaak13gqFU8oye Content-Type: text/plain Content-Transfer-Encoding: quoted-printable scott@netsplit.com--projects http://www.netsplit.com/arch planet--devel--0.0 2004-01-24 04:24:24 GMT Scott James Remnant pat= ch-25 Summary: make all feeds utf-8 before processing Revision: planet--devel--0.0--patch-25 =20 We've tripped a fairly dangerous bug in Expat, it cannot cope with XML which mixes UTF-8 and other encodings like ISO-8859-1, rather spectacularly in fact: =20 >>> import feedparser >>> feedparser.parse("http://planet.debian.net/rss20.xml") Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1075413120 (LWP 19833)] 0x4069e5f0 in XmlInitUnknownEncodingNS () from /usr/lib/python2.3/site-packages/_xmlplus/parsers/pyexpat.so =20 So we ensude that data is utf-8 before processing it, first we see if it really is utf-8, then we try iso-8859-1 then we strip anything that offends us. =20 modified files: planetlib.py Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-3/ojZQcaak13gqFU8oye Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQBAEfULIexP3IStZ2wRAqPXAJ9RbcYRrxyskXJ+R0RITYcGlZqIpwCfa0d/ LqCrPwQDE5Z3fMShmGUFDOk= =iXrB -----END PGP SIGNATURE----- --=-3/ojZQcaak13gqFU8oye-- From thom@planetarytramp.net Thu Feb 5 16:59:17 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 8403E57D8 for ; Thu, 5 Feb 2004 16:59:17 +0000 (GMT) Received: from mirror.positive-internet.com (mirror.positive-internet.com [80.87.128.67]) by amnesiac.heapspace.net (Postfix) with ESMTP id 1E3FC57C6 for ; Thu, 5 Feb 2004 16:59:12 +0000 (GMT) Received: by mirror.positive-internet.com (Postfix, from userid 1002) id 9EF114354C; Thu, 5 Feb 2004 16:59:11 +0000 (GMT) Date: Thu, 5 Feb 2004 16:59:11 +0000 From: Thom May To: devel@lists.planetplanet.org Message-ID: <20040205165911.GE578@mirror.positive-internet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline X-Operating-System: Linux/2.6.0-1-686 (i686) User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 Subject: [Devel] Fun tracebacks X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 16:59:17 -0000 Status: O Content-Length: 3335 Lines: 59 Just installed mx.Tidy, now get: WARNING:root:Cache read failed Traceback (most recent call last): File "/home/thom/planet--devel--0.0--patch-36/planetlib.py", line 241, in cache_read self.update(cache_uri) File "/home/thom/planet--devel--0.0--patch-36/planetlib.py", line 173, in update self._update(baseuri, data) File "/home/thom/planet--devel--0.0--patch-36/planetlib.py", line 289, in _update feed.feed(data) File "/usr/local/lib/python2.3/sgmllib.py", line 95, in feed self.goahead(0) File "/usr/local/lib/python2.3/sgmllib.py", line 134, in goahead k = self.parse_endtag(i) File "/usr/local/lib/python2.3/sgmllib.py", line 293, in parse_endtag self.finish_endtag(tag) File "/usr/local/lib/python2.3/sgmllib.py", line 333, in finish_endtag self.unknown_endtag(tag) File "/home/thom/planet--devel--0.0--patch-36/feedparser.py", line 358, in unknown_endtag method() File "/home/thom/planet--devel--0.0--patch-36/feedparser.py", line 720, in _end_description value = self.pop('description') File "/home/thom/planet--devel--0.0--patch-36/feedparser.py", line 484, in pop output = sanitizeHTML(output) File "/home/thom/planet--devel--0.0--patch-36/feedparser.py", line 944, in sanitizeHTML nerrors, nwarnings, data, errordata = mxtidy.tidy(data, output_xhtml=1, numeric_entities=1, wrap=0) File "/usr/local/lib/python2.3/site-packages/mx/Tidy/Tidy.py", line 38, in tidy return mxTidy.tidy(input, output, errors, kws) TypeError: inputstream must be a file object or string INFO:root:Updating feed DEBUG:root:Encoding: UTF-8 DEBUG:root:Encoding: UTF-8 DEBUG:root:URI: ERROR:root:Update from failed Traceback (most recent call last): File "/home/thom/planet--devel--0.0--patch-36/planetlib.py", line 112, in __init__ self.update() File "/home/thom/planet--devel--0.0--patch-36/planetlib.py", line 173, in update self._update(baseuri, data) File "/home/thom/planet--devel--0.0--patch-36/planetlib.py", line 289, in _update feed.feed(data) File "/usr/local/lib/python2.3/sgmllib.py", line 95, in feed self.goahead(0) File "/usr/local/lib/python2.3/sgmllib.py", line 134, in goahead k = self.parse_endtag(i) File "/usr/local/lib/python2.3/sgmllib.py", line 293, in parse_endtag self.finish_endtag(tag) File "/usr/local/lib/python2.3/sgmllib.py", line 333, in finish_endtag self.unknown_endtag(tag) File "/home/thom/planet--devel--0.0--patch-36/feedparser.py", line 358, in unknown_endtag method() File "/home/thom/planet--devel--0.0--patch-36/feedparser.py", line 720, in _end_description value = self.pop('description') File "/home/thom/planet--devel--0.0--patch-36/feedparser.py", line 484, in pop output = sanitizeHTML(output) File "/home/thom/planet--devel--0.0--patch-36/feedparser.py", line 944, in sanitizeHTML nerrors, nwarnings, data, errordata = mxtidy.tidy(data, output_xhtml=1, numeric_entities=1, wrap=0) File "/usr/local/lib/python2.3/site-packages/mx/Tidy/Tidy.py", line 38, in tidy return mxTidy.tidy(input, output, errors, kws) TypeError: inputstream must be a file object or string From scott@netsplit.com Fri Feb 6 00:51:49 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id D373C57D8 for ; Fri, 6 Feb 2004 00:51:49 +0000 (GMT) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 210E857AA for ; Fri, 6 Feb 2004 00:51:48 +0000 (GMT) Received: (qmail 19399 invoked from network); 6 Feb 2004 00:51:47 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 6 Feb 2004 00:51:47 -0000 From: Scott James Remnant To: devel@lists.planetplanet.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-1GfgY7tqv3uDAyFpoAZ4" Message-Id: <1076028707.6241.13.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 06 Feb 2004 00:51:47 +0000 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 Subject: [Devel] Managing the Planetarium with FOAF X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 00:51:49 -0000 Status: O Content-Length: 13100 Lines: 204 --=-1GfgY7tqv3uDAyFpoAZ4 Content-Type: multipart/mixed; boundary="=-JxKnpd297jbL82VzY8w9" --=-JxKnpd297jbL82VzY8w9 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable The Planetarium's getting a bit large now, keeping track of all those gate codes is getting tricky. We might as well do this kind of thing the "right" way, so here's a FOAF file of the current Planetarium. I've attached a small script that needs the Redland RDF toolkit, and reads this file in and splits out some HTML to represent it. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-JxKnpd297jbL82VzY8w9 Content-Disposition: attachment; filename=planetarium.xml Content-Type: text/xml; name=planetarium.xml; charset=UTF-8 Content-Transfer-Encoding: base64 PD94bWwgdmVyc2lvbj0iMS4wIj8+DQo8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMu b3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiDQogICAgICAgICB4bWxuczpyZGZzPSJodHRw Oi8vd3d3LnczLm9yZy8yMDAwLzAxL3JkZi1zY2hlbWEjIg0KICAgICAgICAgeG1sbnM6Zm9hZj0i aHR0cDovL3htbG5zLmNvbS9mb2FmLzAuMS8iDQogICAgICAgICB4bWxuczpyc3M9Imh0dHA6Ly9w dXJsLm9yZy9yc3MvMS4wLyINCiAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMv ZWxlbWVudHMvMS4xLyI+DQoNCjxmb2FmOkdyb3VwPg0KPGZvYWY6bmFtZT5QbGFuZXRhcml1bTwv Zm9hZjpuYW1lPg0KPGZvYWY6aG9tZXBhZ2U+aHR0cDovL3d3dy5wbGFuZXRwbGFuZXQub3JnLzwv Zm9hZjpob21lcGFnZT4NCjxyZGZzOnNlZUFsc28gcmRmOnJlc291cmNlPSJodHRwOi8vd3d3LnBs YW5ldHBsYW5ldC5vcmcvcGxhbmV0YXJpdW0ueG1sIiAvPg0KDQo8Zm9hZjptZW1iZXI+DQogICAg PGZvYWY6R3JvdXA+DQoJPGZvYWY6bmFtZT5BZHZvZ2F0bzwvZm9hZjpuYW1lPg0KCTxmb2FmOndl YmxvZz4NCgkgICAgPGZvYWY6RG9jdW1lbnQNCgkJICByZGY6YWJvdXQ9Imh0dHA6Ly9hZHZvZ2F0 by5vcmcvcmVjZW50bG9nLmh0bWw/dGhyZXNoPTQiPg0KCSAgICA8L2ZvYWY6RG9jdW1lbnQ+DQoJ PC9mb2FmOndlYmxvZz4NCiAgICA8L2ZvYWY6R3JvdXA+DQo8L2ZvYWY6bWVtYmVyPg0KDQo8Zm9h ZjptZW1iZXI+DQogICAgPGZvYWY6R3JvdXA+DQoJPGZvYWY6bmFtZT5BcGFjaGU8L2ZvYWY6bmFt ZT4NCgk8Zm9hZjp3ZWJsb2c+DQoJICAgIDxmb2FmOkRvY3VtZW50DQoJCSAgcmRmOmFib3V0PSJo dHRwOi8vd3d3LnBsYW5ldGFwYWNoZS5vcmcvIj4NCgkJPHJkZnM6c2VlQWxzbyByZGY6cmVzb3Vy Y2U9Imh0dHA6Ly93d3cucGxhbmV0YXBhY2hlLm9yZy9yc3MxMC54bWwiIC8+DQoJICAgIDwvZm9h ZjpEb2N1bWVudD4NCgk8L2ZvYWY6d2VibG9nPg0KCTxyZGZzOnNlZUFsc28gcmRmOnJlc291cmNl PSJodHRwOi8vd3d3LnBsYW5ldGFwYWNoZS5vcmcvZm9hZnJvbGwueG1sIiAvPg0KICAgIDwvZm9h ZjpHcm91cD4NCjwvZm9hZjptZW1iZXI+DQoNCjxmb2FmOm1lbWJlcj4NCiAgICA8Zm9hZjpHcm91 cD4NCgk8Zm9hZjpuYW1lPkFycyBMaW51eDwvZm9hZjpuYW1lPg0KCTxmb2FmOndlYmxvZz4NCgkg ICAgPGZvYWY6RG9jdW1lbnQNCgkJICByZGY6YWJvdXQ9Imh0dHA6Ly9wbGFuZXQuYXJzbGludXgu Y29tLyI+DQoJCTxyZGY6c2VlQWxzbyByZGY6cmVzb3VyY2U9Imh0dHA6Ly9wbGFuZXQuYXJzbGlu dXguY29tL3JzczEwLnhtbCIgLz4NCgkgICAgPC9mb2FmOkRvY3VtZW50Pg0KCTwvZm9hZjp3ZWJs b2c+DQoJPHJkZjpzZWVBbHNvIHJkZjpyZXNvdXJjZT0iaHR0cDovL3BsYW5ldC5hcnNsaW51eC5j b20vZm9hZnJvbGwueG1sIiAvPg0KICAgIDwvZm9hZjpHcm91cD4NCjwvZm9hZjptZW1iZXI+DQoN Cjxmb2FmOm1lbWJlcj4NCiAgICA8Zm9hZjpHcm91cD4NCgk8Zm9hZjpuYW1lPkRlYmlhbjwvZm9h ZjpuYW1lPg0KCTxmb2FmOndlYmxvZz4NCgkgICAgPGZvYWY6RG9jdW1lbnQNCgkJICByZGY6YWJv dXQ9Imh0dHA6Ly9wbGFuZXQuZGViaWFuLm5ldC8iPg0KCQk8cmRmOnNlZUFsc28gcmRmOnJlc291 cmNlPSJodHRwOi8vcGxhbmV0LmRlYmlhbi5uZXQvcnNzMTAueG1sIiAvPg0KCSAgICA8L2ZvYWY6 RG9jdW1lbnQ+DQoJPC9mb2FmOndlYmxvZz4NCgk8cmRmOnNlZUFsc28gcmRmOnJlc291cmNlPSJo dHRwOi8vcGxhbmV0LmRlYmlhbixuZXQvZm9hZnJvbGwueG1sIiAvPg0KICAgIDwvZm9hZjpHcm91 cD4NCjwvZm9hZjptZW1iZXI+DQoNCjxmb2FmOm1lbWJlcj4NCiAgICA8Zm9hZjpHcm91cD4NCgk8 Zm9hZjpuYW1lPkZlZG9yYTwvZm9hZjpuYW1lPg0KCTxmb2FmOndlYmxvZz4NCgkgICAgPGZvYWY6 RG9jdW1lbnQNCgkJICByZGY6YWJvdXQ9Imh0dHA6Ly9mZWRvcmEubGludXguZHVrZS5lZHUvZmVk b3JhcGVvcGxlLyI+DQoJCTxyZGY6c2VlQWxzbyByZGY6cmVzb3VyY2U9Imh0dHA6Ly9mZWRvcmEu bGludXguZHVrZS5lZHUvZmVkb3JhcGVvcGxlL3JzczEwLnhtbCIgLz4NCgkgICAgPC9mb2FmOkRv Y3VtZW50Pg0KCTwvZm9hZjp3ZWJsb2c+DQoJPHJkZjpzZWVBbHNvIHJkZjpyZXNvdXJjZT0iaHR0 cDovL2ZlZG9yYS5saW51eC5kdWtlLmVkdS9mZWRvcmFwZW9wbGUvZm9hZnJvbGwueG1sIiAvPg0K ICAgIDwvZm9hZjpHcm91cD4NCjwvZm9hZjptZW1iZXI+DQoNCjxmb2FmOm1lbWJlcj4NCiAgICA8 Zm9hZjpHcm91cD4NCgk8Zm9hZjpuYW1lPkdOT01FPC9mb2FmOm5hbWU+DQoJPGZvYWY6d2VibG9n Pg0KCSAgICA8Zm9hZjpEb2N1bWVudA0KCQkgIHJkZjphYm91dD0iaHR0cDovL3BsYW5ldC5nbm9t ZS5vcmcvIj4NCgkJPHJkZjpzZWVBbHNvIHJkZjpyZXNvdXJjZT0iaHR0cDovL3BsYW5ldC5nbm9t ZS5vcmcvcnNzMTAueG1sIiAvPg0KCSAgICA8L2ZvYWY6RG9jdW1lbnQ+DQoJPC9mb2FmOndlYmxv Zz4NCgk8cmRmOnNlZUFsc28gcmRmOnJlc291cmNlPSJodHRwOi8vcGxhbmV0Lmdub21lLm9yZy9m b2Fmcm9sbC54bWwiIC8+DQogICAgPC9mb2FmOkdyb3VwPg0KPC9mb2FmOm1lbWJlcj4NCg0KPGZv YWY6bWVtYmVyPg0KICAgIDxmb2FmOkdyb3VwPg0KCTxmb2FmOm5hbWU+R05PTUUgS29yZWE8L2Zv YWY6bmFtZT4NCgk8Zm9hZjp3ZWJsb2c+DQoJICAgIDxmb2FmOkRvY3VtZW50DQoJCSAgcmRmOmFi b3V0PSJodHRwOi8vZ25vbWUub3Iua3IvcGdrLyI+DQoJICAgIDwvZm9hZjpEb2N1bWVudD4NCgk8 L2ZvYWY6d2VibG9nPg0KICAgIDwvZm9hZjpHcm91cD4NCjwvZm9hZjptZW1iZXI+DQoNCjxmb2Fm Om1lbWJlcj4NCiAgICA8Zm9hZjpHcm91cD4NCgk8Zm9hZjpuYW1lPkhpc3BhTGludXg8L2ZvYWY6 bmFtZT4NCgk8Zm9hZjp3ZWJsb2c+DQoJICAgIDxmb2FmOkRvY3VtZW50DQoJCSAgcmRmOmFib3V0 PSJodHRwOi8vcGxhbmV0YS5oaXNwYWxpbnV4LmVzLyI+DQoJICAgIDwvZm9hZjpEb2N1bWVudD4N Cgk8L2ZvYWY6d2VibG9nPg0KICAgIDwvZm9hZjpHcm91cD4NCjwvZm9hZjptZW1iZXI+DQoNCjxm b2FmOm1lbWJlcj4NCiAgICA8Zm9hZjpHcm91cD4NCgk8Zm9hZjpuYW1lPktERTwvZm9hZjpuYW1l Pg0KCTxmb2FmOndlYmxvZz4NCgkgICAgPGZvYWY6RG9jdW1lbnQNCgkJICByZGY6YWJvdXQ9Imh0 dHA6Ly93d3cua2RlZGV2ZWxvcGVycy5vcmcvYmxvZyI+DQoJCTxyZGY6c2VlQWxzbyByZGY6cmVz b3VyY2U9Imh0dHA6Ly93d3cua2RlZGV2ZWxvcGVycy5vcmcvbm9kZS9mZWVkIiAvPg0KCSAgICA8 L2ZvYWY6RG9jdW1lbnQ+DQoJPC9mb2FmOndlYmxvZz4NCiAgICA8L2ZvYWY6R3JvdXA+DQo8L2Zv YWY6bWVtYmVyPg0KDQo8Zm9hZjptZW1iZXI+DQogICAgPGZvYWY6R3JvdXA+DQoJPGZvYWY6bmFt ZT5MaW51eCBAIEtlcm5lbFRyYXA8L2ZvYWY6bmFtZT4NCgk8Zm9hZjp3ZWJsb2c+DQoJICAgIDxm b2FmOkRvY3VtZW50DQoJCSAgcmRmOmFib3V0PSJodHRwOi8va2VybmVsdHJhcC5vcmcvaGFja2Vy cy9saW51eCI+DQoJICAgIDwvZm9hZjpEb2N1bWVudD4NCgk8L2ZvYWY6d2VibG9nPg0KICAgIDwv Zm9hZjpHcm91cD4NCjwvZm9hZjptZW1iZXI+DQoNCjxmb2FmOm1lbWJlcj4NCiAgICA8Zm9hZjpH cm91cD4NCgk8Zm9hZjpuYW1lPkxpbnV4Q2hpeDwvZm9hZjpuYW1lPg0KCTxmb2FmOndlYmxvZz4N CgkgICAgPGZvYWY6RG9jdW1lbnQNCgkJICByZGY6YWJvdXQ9Imh0dHA6Ly9saXZlLmxpbnV4Y2hp eC5vcmcvIj4NCgkJPHJkZjpzZWVBbHNvIHJkZjpyZXNvdXJjZT0iaHR0cDovL2xpdmUubGludXhj aGl4Lm9yZy9yc3MueG1sIiAvPg0KCSAgICA8L2ZvYWY6RG9jdW1lbnQ+DQoJPC9mb2FmOndlYmxv Zz4NCgk8cmRmOnNlZUFsc28gcmRmOnJlc291cmNlPSJodHRwOi8vbGl2ZS5saW51eGNoaXgub3Jn L2ZvYWZyb2xsLnhtbCIgLz4NCiAgICA8L2ZvYWY6R3JvdXA+DQo8L2ZvYWY6bWVtYmVyPg0KDQo8 Zm9hZjptZW1iZXI+DQogICAgPGZvYWY6R3JvdXA+DQoJPGZvYWY6bmFtZT5MaXNwPC9mb2FmOm5h bWU+DQoJPGZvYWY6d2VibG9nPg0KCSAgICA8Zm9hZjpEb2N1bWVudA0KCQkgIHJkZjphYm91dD0i aHR0cDovL3hhY2guY29tL3BsYW5ldC1saXNwLyI+DQoJCTxyZGY6c2VlQWxzbyByZGY6cmVzb3Vy Y2U9Imh0dHA6Ly9wbGFuZXQubGlzcC5vcmcvcnNzMTAueG1sIiAvPg0KCSAgICA8L2ZvYWY6RG9j dW1lbnQ+DQoJPC9mb2FmOndlYmxvZz4NCgk8cmRmOnNlZUFsc28gcmRmOnJlc291cmNlPSJodHRw Oi8vcGxhbmV0Lmxpc3Aub3JnL2ZvYWZyb2xsLnhtbCIgLz4NCiAgICA8L2ZvYWY6R3JvdXA+DQo8 L2ZvYWY6bWVtYmVyPg0KDQo8Zm9hZjptZW1iZXI+DQogICAgPGZvYWY6R3JvdXA+DQoJPGZvYWY6 bmFtZT5Nb25vPC9mb2FmOm5hbWU+DQoJPGZvYWY6d2VibG9nPg0KCSAgICA8Zm9hZjpEb2N1bWVu dA0KCQkgIHJkZjphYm91dD0iaHR0cDovL3d3dy5nby1tb25vLmNvbS9tb25vbG9ndWUvIj4NCgkJ PHJkZjpzZWVBbHNvIHJkZjpyZXNvdXJjZT0iaHR0cDovL3d3dy5nby1tb25vLmNvbS9tb25vbG9n dWUvaW5kZXgucnNzIiAvPg0KCSAgICA8L2ZvYWY6RG9jdW1lbnQ+DQoJPC9mb2FmOndlYmxvZz4N CiAgICA8L2ZvYWY6R3JvdXA+DQo8L2ZvYWY6bWVtYmVyPg0KDQo8Zm9hZjptZW1iZXI+DQogICAg PGZvYWY6R3JvdXA+DQoJPGZvYWY6bmFtZT5Ob3ZlbGw8L2ZvYWY6bmFtZT4NCgk8Zm9hZjp3ZWJs b2c+DQoJICAgIDxmb2FmOkRvY3VtZW50DQoJCSAgcmRmOmFib3V0PSJodHRwOi8vcGVvcGxlLm5v dmVsbC5jb20vcG4vIj4NCgkgICAgPC9mb2FmOkRvY3VtZW50Pg0KCTwvZm9hZjp3ZWJsb2c+DQog ICAgPC9mb2FmOkdyb3VwPg0KPC9mb2FmOm1lbWJlcj4NCg0KPGZvYWY6bWVtYmVyPg0KICAgIDxm b2FmOkdyb3VwPg0KCTxmb2FmOm5hbWU+UGVybDwvZm9hZjpuYW1lPg0KCTxmb2FmOndlYmxvZz4N CgkgICAgPGZvYWY6RG9jdW1lbnQNCgkJICByZGY6YWJvdXQ9Imh0dHA6Ly9wbGFuZXQucGVybC5v cmcvIj4NCgkJPHJkZjpzZWVBbHNvIHJkZjpyZXNvdXJjZT0iaHR0cDovL3BsYW5ldC5wZXJsLm9y Zy9yc3MxMC54bWwiIC8+DQoJICAgIDwvZm9hZjpEb2N1bWVudD4NCgk8L2ZvYWY6d2VibG9nPg0K CTxyZGY6c2VlQWxzbyByZGY6cmVzb3VyY2U9Imh0dHA6Ly9wbGFuZXQucGVybC5vcmcvZm9hZnJv bGwueG1sIiAvPg0KICAgIDwvZm9hZjpHcm91cD4NCjwvZm9hZjptZW1iZXI+DQoNCjxmb2FmOm1l bWJlcj4NCiAgICA8Zm9hZjpHcm91cD4NCgk8Zm9hZjpuYW1lPlBIUDwvZm9hZjpuYW1lPg0KCTxm b2FmOndlYmxvZz4NCgkgICAgPGZvYWY6RG9jdW1lbnQNCgkJICByZGY6YWJvdXQ9Imh0dHA6Ly93 d3cucGxhbmV0LXBocC5uZXQvIj4NCgkJPHJkZjpzZWVBbHNvIHJkZjpyZXNvdXJjZT0iaHR0cDov L3d3dy5wbGFuZXQtcGhwLm5ldC9yZGYvIiAvPg0KCSAgICA8L2ZvYWY6RG9jdW1lbnQ+DQoJPC9m b2FmOndlYmxvZz4NCiAgICA8L2ZvYWY6R3JvdXA+DQo8L2ZvYWY6bWVtYmVyPg0KDQo8Zm9hZjpt ZW1iZXI+DQogICAgPGZvYWY6R3JvdXA+DQoJPGZvYWY6bmFtZT5QeXRob248L2ZvYWY6bmFtZT4N Cgk8Zm9hZjp3ZWJsb2c+DQoJICAgIDxmb2FmOkRvY3VtZW50DQoJCSAgcmRmOmFib3V0PSJodHRw Oi8vd3d3Lm1lY2hhbmljYWxjYXQubmV0L3B5YmxhZ2cuaHRtbCI+DQoJICAgIDwvZm9hZjpEb2N1 bWVudD4NCgk8L2ZvYWY6d2VibG9nPg0KICAgIDwvZm9hZjpHcm91cD4NCjwvZm9hZjptZW1iZXI+ DQoNCjxmb2FmOm1lbWJlcj4NCiAgICA8Zm9hZjpHcm91cD4NCgk8Zm9hZjpuYW1lPlJERjwvZm9h ZjpuYW1lPg0KCTxmb2FmOndlYmxvZz4NCgkgICAgPGZvYWY6RG9jdW1lbnQNCgkJICByZGY6YWJv dXQ9Imh0dHA6Ly9wbGFuZXQucmRmaGFjay5jb20vIj4NCgkJPHJkZjpzZWVBbHNvIHJkZjpyZXNv dXJjZT0iaHR0cDovL3BsYW5ldC5yZGZoYWNrLmNvbS9pbmRleC5yZGYiIC8+DQoJICAgIDwvZm9h ZjpEb2N1bWVudD4NCgk8L2ZvYWY6d2VibG9nPg0KCTxyZGY6c2VlQWxzbyByZGY6cmVzb3VyY2U9 Imh0dHA6Ly9qb3VybmFsLmRham9iZS5vcmcvam91cm5hbC8yMDAzLzA3L3NlbWJsb2dzL2Jsb2dn ZXJzLnJkZiIgLz4NCiAgICA8L2ZvYWY6R3JvdXA+DQo8L2ZvYWY6bWVtYmVyPg0KDQo8Zm9hZjpt ZW1iZXI+DQogICAgPGZvYWY6R3JvdXA+DQoJPGZvYWY6bmFtZT5TdVNFPC9mb2FmOm5hbWU+DQoJ PGZvYWY6d2VibG9nPg0KCSAgICA8Zm9hZjpEb2N1bWVudA0KCQkgIHJkZjphYm91dD0iaHR0cDov L3d3dy5ydWJiZXJ0dXJuaXAub3JnLnVrL3BsYW5ldHN1c2UvIj4NCgkgICAgPC9mb2FmOkRvY3Vt ZW50Pg0KCTwvZm9hZjp3ZWJsb2c+DQogICAgPC9mb2FmOkdyb3VwPg0KPC9mb2FmOm1lbWJlcj4N Cg0KPGZvYWY6bWVtYmVyPg0KICAgIDxmb2FmOkdyb3VwPg0KCTxmb2FmOm5hbWU+VHdpc3RlZDwv Zm9hZjpuYW1lPg0KCTxmb2FmOndlYmxvZz4NCgkgICAgPGZvYWY6RG9jdW1lbnQNCgkJICByZGY6 YWJvdXQ9Imh0dHA6Ly9wbGFuZXQudHdpc3RlZG1hdHJpeC5jb20vIj4NCgkJPHJkZjpzZWVBbHNv IHJkZjpyZXNvdXJjZT0iaHR0cDovL3BsYW5ldC50d2lzdGVkbWF0cml4LmNvbS9yc3MueG1sIiAv Pg0KCSAgICA8L2ZvYWY6RG9jdW1lbnQ+DQoJPC9mb2FmOndlYmxvZz4NCgk8cmRmOnNlZUFsc28g cmRmOnJlc291cmNlPSJodHRwOi8vcGxhbmV0LnR3aXN0ZWRtYXRyaXguY29tL2ZvYWZyb2xsLnht bCIgLz4NCiAgICA8L2ZvYWY6R3JvdXA+DQo8L2ZvYWY6bWVtYmVyPg0KDQo8Zm9hZjptZW1iZXI+ DQogICAgPGZvYWY6R3JvdXA+DQoJPGZvYWY6bmFtZT5YRkNFPC9mb2FmOm5hbWU+DQoJPGZvYWY6 d2VibG9nPg0KCSAgICA8Zm9hZjpEb2N1bWVudA0KCQkgIHJkZjphYm91dD0iaHR0cDovL3hmY2Uu b3JnL2Jsb2cvIj4NCgkJPHJkZjpzZWVBbHNvIHJkZjpyZXNvdXJjZT0iaHR0cDovL3hmY2Uub3Jn L2Jsb2cvd3AtcnNzMi5waHAiIC8+DQoJICAgIDwvZm9hZjpEb2N1bWVudD4NCgk8L2ZvYWY6d2Vi bG9nPg0KICAgIDwvZm9hZjpHcm91cD4NCjwvZm9hZjptZW1iZXI+DQoNCjwvZm9hZjpHcm91cD4N CjwvcmRmOlJERj4NCg== --=-JxKnpd297jbL82VzY8w9 Content-Disposition: attachment; filename=planetarium.py Content-Type: text/x-python; name=planetarium.py; charset=UTF-8 Content-Transfer-Encoding: base64 IyEvdXNyL2Jpbi9lbnYgcHl0aG9uDQojIC0qLSBjb2Rpbmc6IFVURi04IC0qLQ0KIiIiUkRGL0ZP QUYgUGxhbmV0YXJpdW0uDQoNClRoaXMgc2NyaXB0IHJlYWRzIGFuIFJERi9GT0FGICdQbGFuZXRh cml1bScgZmlsZSBmcm9tIHRoZSBwYXRoIGdpdmVuDQphcyBhbiBhcmd1bWVudCBhbmQgb3V0cHV0 cyBhIHZhbGlkIEhUTUwgbGlzdCBmb3IgaXQgb24gc3Rkb3V0Lg0KDQpSZXF1aXJlcyBQeXRob24g Mi4yIGFuZCB0aGUgUmVkbGFuZCBSREYgdG9vbGtpdC4NCiIiIg0KDQppbXBvcnQgY2dpDQppbXBv cnQgc3lzDQppbXBvcnQgUkRGDQoNClJERl9NRU1CRVIgID0gUkRGLlVyaSgiaHR0cDovL3htbG5z LmNvbS9mb2FmLzAuMS9tZW1iZXIiKQ0KUkRGX05BTUUgICAgPSBSREYuVXJpKCJodHRwOi8veG1s bnMuY29tL2ZvYWYvMC4xL25hbWUiKQ0KUkRGX1dFQkxPRyAgPSBSREYuVXJpKCJodHRwOi8veG1s bnMuY29tL2ZvYWYvMC4xL3dlYmxvZyIpDQpSREZfU0VFQUxTTyA9IFJERi5VcmkoImh0dHA6Ly93 d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyNzZWVBbHNvIikNCg0KDQpkZWYgZG9f cGxhbmV0YXJpdW0oZmlsZW5hbWUsIHVyaSk6DQogICAgbW9kZWwgPSBSREYuTW9kZWwoKQ0KICAg IA0KICAgIHBmaWxlID0gb3BlbihmaWxlbmFtZSkNCiAgICBSREYuUGFyc2VyKCkucGFyc2Vfc3Ry aW5nX2ludG9fbW9kZWwobW9kZWwsIHBmaWxlLnJlYWQoKSwgUkRGLlVyaSh1cmkpKQ0KICAgIHBm aWxlLmNsb3NlKCkNCg0KICAgIHByaW50ICI8dWw+Ig0KDQogICAgIyBGaW5kIGFsbCBncm91cCBt ZW1iZXJzDQogICAgbWVtX3FyeSA9IFJERi5TdGF0ZW1lbnQocHJlZGljYXRlPVJERl9NRU1CRVIp DQogICAgZm9yIG1lbWJlciBpbiBtb2RlbC5maW5kX3N0YXRlbWVudHMobWVtX3FyeSk6DQogICAg ICAgIG5hbWVOb2RlID0gbW9kZWwuZ2V0X3RhcmdldChtZW1iZXIub2JqZWN0LCBSREZfTkFNRSkN CiAgICAgICAgbmFtZSA9IG5hbWVOb2RlLmxpdGVyYWxfdmFsdWVbJ3N0cmluZyddDQogICAgICAg IA0KICAgICAgICBsaW5rTm9kZSA9IG1vZGVsLmdldF90YXJnZXQobWVtYmVyLm9iamVjdCwgUkRG X1dFQkxPRykNCiAgICAgICAgbGluayA9IHN0cihsaW5rTm9kZS51cmkpDQoNCiAgICAgICAgcHJp bnQgKCI8bGk+PGEgaHJlZj1cIiIgKyBjZ2kuZXNjYXBlKGxpbmspICsgIlwiPiIgKyBjZ2kuZXNj YXBlKG5hbWUpDQogICAgICAgICAgICAgICArICI8L2E+PC9saT4iKQ0KDQogICAgcHJpbnQgIjwv dWw+Ig0KICAgICAgICANCg0KaWYgX19uYW1lX18gPT0gIl9fbWFpbl9fIjoNCiAgICBpZiBsZW4o c3lzLmFyZ3ZbMTpdKSAhPSAxOg0KICAgICAgICBwcmludCAiVXNhZ2U6IHBsYW5ldGFyaXVtLnB5 IFBMQU5FVEFSSVVNLlhNTCINCiAgICAgICAgcHJpbnQNCiAgICAgICAgcHJpbnQgIlJlYWRzIGFu IFJERi9GT0FGIFBsYW5ldGFyaXVtIGZpbGUgYW5kIG91dHB1dHMgYW4gSFRNTCIsIFwNCiAgICAg ICAgICAgICAgInJlcHJlc2VudGF0aW9uIG9mIGl0LiINCiAgICAgICAgc3lzLmV4aXQoMSkNCg0K ICAgIGRvX3BsYW5ldGFyaXVtKHN5cy5hcmd2WzFdLCAiZmlsZTouIikNCg== --=-JxKnpd297jbL82VzY8w9-- --=-1GfgY7tqv3uDAyFpoAZ4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAIuUjIexP3IStZ2wRAgo4AJ9T2JNmsKWlW1YhC3PKtpRR4WordwCbBnvu UiHWJWVB/MkGfpZ5pEU2UaQ= =lvQc -----END PGP SIGNATURE----- --=-1GfgY7tqv3uDAyFpoAZ4-- From jdub@perkypants.org Fri Feb 6 01:03:22 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id D3FCC57D8 for ; Fri, 6 Feb 2004 01:03:22 +0000 (GMT) Received: from au-mai-0003.flow.com.au (au-mai-0003.flow.com.au [202.129.90.39]) by amnesiac.heapspace.net (Postfix) with ESMTP id CC39857AA for ; Fri, 6 Feb 2004 01:03:20 +0000 (GMT) Received: from home.perkypants.org (unknown [203.173.26.65]) by au-mai-0003.flow.com.au (Postfix) with ESMTP id 91932538007 for ; Fri, 6 Feb 2004 12:03:17 +1100 (EST) Received: from lazarus.home (lazarus.home [192.168.10.10]) by home.perkypants.org (Postfix) with ESMTP id 3FCF5E8CEB for ; Fri, 6 Feb 2004 12:03:17 +1100 (EST) Received: by lazarus.home (Postfix, from userid 1000) id 0905794314; Fri, 6 Feb 2004 12:03:16 +1100 (EST) Date: Fri, 6 Feb 2004 12:03:16 +1100 From: Jeff Waugh To: devel@lists.planetplanet.org Subject: Re: [Devel] Managing the Planetarium with FOAF Message-ID: <20040206010316.GL19994@lazarus> References: <1076028707.6241.13.camel@descent.netsplit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1076028707.6241.13.camel@descent.netsplit.com> Reply-By: Mon Feb 9 12:01:35 EST 2004 X-Operating-System: Linux 2.6.1-mm1 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 12:01:35 up 6 days, 26 min, 3 users, load average: 0.11, 0.06, 0.01 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 01:03:23 -0000 Status: O Content-Length: 677 Lines: 20 > The Planetarium's getting a bit large now, keeping track of all those > gate codes is getting tricky. We might as well do this kind of thing > the "right" way, so here's a FOAF file of the current Planetarium. > > I've attached a small script that needs the Redland RDF toolkit, and > reads this file in and splits out some HTML to represent it. Yeah, totally. Edd has recommended this format: http://www-106.ibm.com/developerworks/xml/library/x-pblog/sidefile1.html - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "Debian is not as minor as many business end people think." - Alan Cox From mary@home.puzzling.org Sat Feb 7 10:27:22 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 8C31D57D8 for ; Sat, 7 Feb 2004 10:27:22 +0000 (GMT) Received: from home.puzzling.org (home.puzzling.org [203.206.130.190]) by amnesiac.heapspace.net (Postfix) with ESMTP id A9DFF57C6 for ; Sat, 7 Feb 2004 10:27:20 +0000 (GMT) Received: from localhost (flay [127.0.0.1]) by home.puzzling.org (Postfix) with ESMTP id BA30F7880B9 for ; Sat, 7 Feb 2004 21:27:18 +1100 (EST) Received: from home.puzzling.org ([127.0.0.1]) by localhost (flay [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24495-04 for ; Sat, 7 Feb 2004 21:27:18 +1100 (EST) Received: from titus.home.puzzling.org (titus.home.puzzling.org [203.206.130.226]) by home.puzzling.org (Postfix) with SMTP id 73E3F7880B5 for ; Sat, 7 Feb 2004 21:27:18 +1100 (EST) Received: (nullmailer pid 9924 invoked by uid 1001); Sat, 07 Feb 2004 10:27:17 -0000 Date: Sat, 7 Feb 2004 21:27:17 +1100 From: Mary Gardiner To: devel@lists.planetplanet.org Message-ID: <20040207102717.GA9681@titus.home.puzzling.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Nihilism: Immortality is all I seek... Give us this day our daily week... X-GPG-Key: 1024D/77625870 X-GPG-Fingerprint: B141 CD1A 4603 1CD7 6D64 EFBF D256 C568 7762 5870 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at home.puzzling.org X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 Subject: [Devel] Detecting updated feeds with Planet X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2004 10:27:22 -0000 Status: O Content-Length: 2022 Lines: 48 Hello :) Jeff suggested I subscribe after I sent a version of this to him. There's a couple of reasons you might want to know if a Planet actually has any new items in it or not: 1. So that you don't change the output files unecessarily 2. So you can ping blogrolling.com etc when you update :) Anyway, I've hacked in a way of telling if there is anything new in the Planet or not, and a xmlrpc ping mechanism (controlled by a ping_urls config option). It currently doesn't check this for generation purposes, only for ping purposes. It would obviously be a trivial change though. The way I do this is a major hack: for each channel it compares the items in the cache to the final list of items: if the latter has items that the former doesn't, then the channel must be updated, otherwise not. One flaw: it relies on the cache to tell it if we've seen a particular item before. If there are two Planets sharing a cache, then the second one to pull in a particular feed won't recognise some items as new. The "is this new?" thing is pretty hard to do with RSS but I guess the alternative would be having some extra files in the cache, one per planet. Second flaw: A new feed will always make the Planet think it has updated even if the items in that feed are so old they won't be on the page. This is probably not a bad thing: the page should regenerate anyway so the blogroll updates, and a bogus ping or two is OK (and it means Technorati picks up on the new item, which is obviously good for people who care). Anyway, this is currently in my private arch repository, which is a branch of Jeff's. It is mirrored at http://puzzling.org/pub/arch/ There are about 7 patches because I'm a fanatical "tiny committer". -Mary -- You do not have a clue. You would not have a clue if an angel of the Lord appeared to you and told you that you were going to give birth to a clue after ninety years of barrenness. -- Naomi Chana, baraita.net ----- End forwarded message ----- From jdub@perkypants.org Tue Feb 10 03:22:57 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 6AE3F57D8 for ; Tue, 10 Feb 2004 03:22:57 +0000 (GMT) Received: from au-mai-0003.flow.com.au (au-mai-0003.flow.com.au [202.129.90.39]) by amnesiac.heapspace.net (Postfix) with ESMTP id B9F5A57AA for ; Tue, 10 Feb 2004 03:22:54 +0000 (GMT) Received: from home.perkypants.org (m066-154.nv.iinet.net.au [203.217.66.154]) by au-mai-0003.flow.com.au (Postfix) with ESMTP id 9D58453810B for ; Tue, 10 Feb 2004 14:22:51 +1100 (EST) Received: from lazarus.home (lazarus.home [192.168.10.10]) by home.perkypants.org (Postfix) with ESMTP id 981C4E8F21 for ; Tue, 10 Feb 2004 14:22:41 +1100 (EST) Received: by lazarus.home (Postfix, from userid 1000) id 714EE9437A; Tue, 10 Feb 2004 14:22:41 +1100 (EST) Date: Tue, 10 Feb 2004 14:22:41 +1100 From: Jeff Waugh To: devel@lists.planetplanet.org Message-ID: <20040210032241.GX1721@lazarus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Reply-By: Fri Feb 13 14:19:28 EST 2004 X-Operating-System: Linux 2.6.2-mm1 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 14:19:28 up 1 day, 20:30, 3 users, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 Subject: [Devel] Universal Feed Parser X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 03:22:57 -0000 Status: O Content-Length: 530 Lines: 16 Hmm, interesting beta release from Mark: http://diveintomark.org/archives/2004/02/01/feed-parser-3 Is anyone using mxTidy with their Planet? Good? I was thinking of submitting some libtidy support to Mark (mxTidy can be troublesome to install on old machines, some people prefer/trust libtidy, yada). - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "The plural of lego is legouch, from when you tread on those plural on the floor in bare feet." - Telsa Gwynne From thom@planetarytramp.net Tue Feb 10 10:51:07 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 5310457AA for ; Tue, 10 Feb 2004 10:51:07 +0000 (GMT) Received: from mirror.positive-internet.com (mirror.positive-internet.com [80.87.128.67]) by amnesiac.heapspace.net (Postfix) with ESMTP id DAD9257F0 for ; Tue, 10 Feb 2004 10:51:05 +0000 (GMT) Received: by mirror.positive-internet.com (Postfix, from userid 1002) id 693864354C; Tue, 10 Feb 2004 10:51:05 +0000 (GMT) Date: Tue, 10 Feb 2004 10:51:05 +0000 From: Thom May To: Jeff Waugh Subject: Re: [Devel] Universal Feed Parser Message-ID: <20040210105104.GC7890@mirror.positive-internet.com> References: <20040210032241.GX1721@lazarus> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20040210032241.GX1721@lazarus> X-Operating-System: Linux/2.6.0-1-686 (i686) User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 10:51:07 -0000 Status: O Content-Length: 588 Lines: 15 * Jeff Waugh (jdub@perkypants.org) wrote : > Hmm, interesting beta release from Mark: > > http://diveintomark.org/archives/2004/02/01/feed-parser-3 > Yeah, it requires something of a rewrite; I was playing with it on the weeekend but ran out of cycles. > Is anyone using mxTidy with their Planet? Good? I was thinking of submitting > some libtidy support to Mark (mxTidy can be troublesome to install on old > machines, some people prefer/trust libtidy, yada). I am using mxTidy, but see the traceback i posted here a few days ago - it seems to get very unhappy with some feeds. -T From jaya@te.pdft.ugm.ac.id Tue Feb 10 19:40:26 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id F3F6857D8 for ; Tue, 10 Feb 2004 19:40:25 +0000 (GMT) Received: from gate.jarkom.net (unknown [202.169.229.11]) by amnesiac.heapspace.net (Postfix) with ESMTP id 8395557BA for ; Tue, 10 Feb 2004 19:40:21 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by gate.jarkom.net (Postfix) with ESMTP id 438F33FB3E for ; Wed, 11 Feb 2004 02:40:19 +0700 (WIT) Received: from gate.jarkom.net ([127.0.0.1]) by localhost (gate [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01145-03 for ; Wed, 11 Feb 2004 02:40:18 +0700 (WIT) Received: by gate.jarkom.net (Postfix, from userid 1000) id B61C43FAD8; Wed, 11 Feb 2004 02:40:18 +0700 (WIT) Date: Wed, 11 Feb 2004 02:40:18 +0700 To: devel@lists.planetplanet.org Message-ID: <20040210194018.GA11265@te.pdft.ugm.ac.id> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline User-Agent: Mutt/1.5.5.1i From: jaya@te.pdft.ugm.ac.id (I Gede Wijaya S) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at te.pdft.ugm.ac.id X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 Subject: [Devel] error in createing rssx.xml X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 19:40:26 -0000 Status: O Content-Length: 3045 Lines: 88 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I use planet-devel and my OS is Debian stable and I have installed python2.2 and python2.2-xml. But when I try to crate my planet, I got this error: INFO:root:Writing /home/jaya/public_html/planet/wordpress/index.html ERROR:root:Couldn't save /home/jaya/public_html/planet/wordpress/index.html Traceback (most recent call last): File "planet.py", line 186, in ? output.write(tp.process(template)) File "htmltmpl.py", line 607, in process loop_total, globalp)) UnicodeError: ASCII encoding error: ordinal not in range(128) INFO:root:Processing rss20.xml.tmpl INFO:root:Writing /home/jaya/public_html/planet/wordpress/rss20.xml ERROR:root:Couldn't save /home/jaya/public_html/planet/wordpress/rss20.xml Traceback (most recent call last): File "planet.py", line 186, in ? output.write(tp.process(template)) File "htmltmpl.py", line 607, in process loop_total, globalp)) UnicodeError: ASCII encoding error: ordinal not in range(128) INFO:root:Processing rss10.xml.tmpl INFO:root:Writing /home/jaya/public_html/planet/wordpress/rss10.xml ERROR:root:Couldn't save /home/jaya/public_html/planet/wordpress/rss10.xml Traceback (most recent call last): File "planet.py", line 186, in ? output.write(tp.process(template)) File "htmltmpl.py", line 607, in process loop_total, globalp)) UnicodeError: ASCII encoding error: ordinal not in range(128) INFO:root:Processing opml.xml.tmpl INFO:root:Writing /home/jaya/public_html/planet/wordpress/opml.xml INFO:root:Processing foafroll.xml.tmpl INFO:root:Writing /home/jaya/public_html/planet/wordpress/foafroll.xml and here comes my config.ini: # Planet configuration file [Planet] name = Planet Wordpress-nya Jaya link = http://te.pdft.ugm.ac.id/~jaya owner_name = I Gede Wijaya S owner_email = jaya@te.pdft.ugm.ac.id template_files = /home/jaya/planetwordpress/index.html.tmpl /home/jaya/planetwordpress/rss20.xml.tmpl /home/jaya/planetwordpress/rss10.xml.tmpl /home/jaya/planetwordpress/opml.xml.tmpl /home/jaya/planetwordpress/foafroll.xml.tmpl output_dir = /home/jaya/public_html/planet/wordpress items_per_page = 20 date_format = %B %d, %Y %I:%M %p cache_directory = /home/jaya/public_html/planet/wordpress/cache log_level = DEBUG [http://www.alexking.org/blog/wp-rss2.php] name = alexking.org [http://dinki.mine.nu/word/b2rss2.php] name = Dinki Collection [http://dinki.mine.nu/weblog/wp-rss2.php] name = Mindful Musings [http://xml.photomatt.net/rss2] name = PhotoMatt I have created another planet with different RSS Feed, and there is no problem. Only for this my planet (wordpress) that I got a problem. Thanks for your attention - -- Program Diploma Teknik Elektro Universitas Gadjah Mada Yogyakarta gpg-key: http://te.pdft.ugm.ac.id/~jaya/jaya.gpg Key fingerprint = 8F89 C7CF 0B0C 27F2 4F64 9DED DB5F E088 079E C5E4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAKTOi21/giAeexeQRAupzAJ4m0DdHYrAckNVlKIp/nYbrxPIIkwCfQHzs rSXj1Egm1RuiuLDSlOeQPxs= =fJjY -----END PGP SIGNATURE----- From scott@netsplit.com Tue Feb 10 19:56:51 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 4B27557D8 for ; Tue, 10 Feb 2004 19:56:51 +0000 (GMT) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id AB10057BA for ; Tue, 10 Feb 2004 19:56:49 +0000 (GMT) Received: (qmail 24577 invoked from network); 10 Feb 2004 19:56:48 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 10 Feb 2004 19:56:48 -0000 Subject: Re: [Devel] error in createing rssx.xml From: Scott James Remnant To: I Gede Wijaya S In-Reply-To: <20040210194018.GA11265@te.pdft.ugm.ac.id> References: <20040210194018.GA11265@te.pdft.ugm.ac.id> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-PolQw5Hkm/e5jEYKaj0T" Message-Id: <1076443008.1709.4.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 10 Feb 2004 19:56:48 +0000 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 19:56:51 -0000 Status: O Content-Length: 997 Lines: 38 --=-PolQw5Hkm/e5jEYKaj0T Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2004-02-10 at 19:40, I Gede Wijaya S wrote: > I use planet-devel and my OS is Debian stable and I have installed > python2.2 and python2.2-xml. But when I try to crate my planet, I got > this error: >=20 This looks like the infamous encoding problems that bugged earlier releases... http://www.planetplanet.org/ has a much later version that might fix this for you. Have a try of that and see if it helps matters. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-PolQw5Hkm/e5jEYKaj0T Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAKTeAIexP3IStZ2wRAvi6AJ9W2Fm+H3ZFvb9UcRpd/Ir1nJLdJwCeLV8i urTqdo/+Vs8ttqVnCFpV0nY= =nvJ5 -----END PGP SIGNATURE----- --=-PolQw5Hkm/e5jEYKaj0T-- From skvidal@phy.duke.edu Tue Feb 10 23:37:42 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id B54AB57C6 for ; Tue, 10 Feb 2004 23:37:42 +0000 (GMT) Received: from mail.phy.duke.edu (mail.phy.duke.edu [152.3.182.2]) by amnesiac.heapspace.net (Postfix) with ESMTP id 60A6557BA for ; Tue, 10 Feb 2004 23:37:41 +0000 (GMT) Received: from [192.168.0.6] (rdu57-255-028.nc.rr.com [66.57.255.28]) by mail.phy.duke.edu (Postfix) with ESMTP id 42D52A77EE for ; Tue, 10 Feb 2004 18:37:38 -0500 (EST) From: seth vidal To: devel@lists.planetplanet.org Content-Type: text/plain Message-Id: <1076456258.23430.2.camel@binkley> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.3 (1.5.3-1) Date: Tue, 10 Feb 2004 18:37:38 -0500 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 Subject: [Devel] threading download code X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 23:37:42 -0000 Status: O Content-Length: 198 Lines: 11 Hi, I was wondering if anyone is working on threading the rss feed download code. It seems like it would be a process that would greatly benefit from threading. Thoughts? This being done? -sv From mary@home.puzzling.org Tue Feb 10 23:42:49 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 8EC2F57D8 for ; Tue, 10 Feb 2004 23:42:49 +0000 (GMT) Received: from home.puzzling.org (home.puzzling.org [203.206.130.190]) by amnesiac.heapspace.net (Postfix) with ESMTP id E0F6557BA for ; Tue, 10 Feb 2004 23:42:47 +0000 (GMT) Received: from localhost (flay [127.0.0.1]) by home.puzzling.org (Postfix) with ESMTP id 60A4D7880B6 for ; Wed, 11 Feb 2004 10:42:45 +1100 (EST) Received: from home.puzzling.org ([127.0.0.1]) by localhost (flay [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20659-02 for ; Wed, 11 Feb 2004 10:42:45 +1100 (EST) Received: from titus.home.puzzling.org (titus.home.puzzling.org [203.206.130.226]) by home.puzzling.org (Postfix) with SMTP id 47C9D7880B4 for ; Wed, 11 Feb 2004 10:42:45 +1100 (EST) Received: (nullmailer pid 8609 invoked by uid 1001); Tue, 10 Feb 2004 23:42:45 -0000 Date: Wed, 11 Feb 2004 10:42:45 +1100 From: Mary Gardiner Cc: devel@lists.planetplanet.org Subject: Re: [Devel] threading download code Message-ID: <20040210234245.GA8365@titus.home.puzzling.org> References: <1076456258.23430.2.camel@binkley> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1076456258.23430.2.camel@binkley> X-Nihilism: All I ask is our common due... Give us this day our daily cue. X-GPG-Key: 1024D/77625870 X-GPG-Fingerprint: B141 CD1A 4603 1CD7 6D64 EFBF D256 C568 7762 5870 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at home.puzzling.org X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 23:42:49 -0000 Status: O Content-Length: 379 Lines: 15 On Tue, Feb 10, 2004, seth vidal wrote: > Hi, > I was wondering if anyone is working on threading the rss feed download > code. It seems like it would be a process that would greatly benefit > from threading. > > Thoughts? This being done? It's part of the feedparser isn't it? If people are thinking about non-blocking downloading, Twisted might be a good choice ;) -Mary From jdub@perkypants.org Tue Feb 10 23:48:51 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 4929157F3 for ; Tue, 10 Feb 2004 23:48:51 +0000 (GMT) Received: from au-mai-0003.flow.com.au (au-mai-0003.flow.com.au [202.129.90.39]) by amnesiac.heapspace.net (Postfix) with ESMTP id C5D8F57C6 for ; Tue, 10 Feb 2004 23:48:49 +0000 (GMT) Received: from home.perkypants.org (m066-154.nv.iinet.net.au [203.217.66.154]) by au-mai-0003.flow.com.au (Postfix) with ESMTP id 9864F538089; Wed, 11 Feb 2004 10:48:46 +1100 (EST) Received: from lazarus.home (lazarus.home [192.168.10.10]) by home.perkypants.org (Postfix) with ESMTP id 69A1AE8F21; Wed, 11 Feb 2004 10:48:25 +1100 (EST) Received: by lazarus.home (Postfix, from userid 1000) id 3B39C9437A; Wed, 11 Feb 2004 10:48:25 +1100 (EST) Date: Wed, 11 Feb 2004 10:48:25 +1100 From: Jeff Waugh To: Mary Gardiner Subject: Re: [Devel] threading download code Message-ID: <20040210234825.GF1721@lazarus> References: <1076456258.23430.2.camel@binkley> <20040210234245.GA8365@titus.home.puzzling.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040210234245.GA8365@titus.home.puzzling.org> Reply-By: Sat Feb 14 10:44:37 EST 2004 X-Operating-System: Linux 2.6.2-mm1 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 10:44:37 up 2 days, 16:55, 4 users, load average: 0.12, 0.06, 0.01 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 23:48:51 -0000 Status: O Content-Length: 922 Lines: 29 > > I was wondering if anyone is working on threading the rss feed download > > code. It seems like it would be a process that would greatly benefit > > from threading. > > > > Thoughts? This being done? > > It's part of the feedparser isn't it? Well, feedparser does the downloading itself, but you could probably run multiple open_resource calls concurrently (by running a few planetlib update calls concurrently, I guess, in the current codebase). This would certainly help PG, which has buttloads of feeds now. > If people are thinking about non-blocking downloading, Twisted might be a > good choice ;) Heh. Not sure that's worth the trouble. ;-) - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "But in the software world, that's daily business." - Kent Beck "That's pissing money away and leaving scar tissue." - Alan Cooper From jdub@perkypants.org Wed Feb 11 10:43:14 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id E2C9457D8 for ; Wed, 11 Feb 2004 10:43:14 +0000 (GMT) Received: from au-mai-0003.flow.com.au (au-mai-0003.flow.com.au [202.129.90.39]) by amnesiac.heapspace.net (Postfix) with ESMTP id BD68A57C6 for ; Wed, 11 Feb 2004 10:43:12 +0000 (GMT) Received: from home.perkypants.org (m066-154.nv.iinet.net.au [203.217.66.154]) by au-mai-0003.flow.com.au (Postfix) with ESMTP id 4588C538116 for ; Wed, 11 Feb 2004 21:43:09 +1100 (EST) Received: from lazarus.home (lazarus.home [192.168.10.10]) by home.perkypants.org (Postfix) with ESMTP id CB598E8F21 for ; Wed, 11 Feb 2004 21:42:41 +1100 (EST) Received: by lazarus.home (Postfix, from userid 1000) id 0EE5C9437A; Wed, 11 Feb 2004 21:42:40 +1100 (EST) Date: Wed, 11 Feb 2004 21:42:40 +1100 From: Jeff Waugh To: devel@lists.planetplanet.org Message-ID: <20040211104240.GC1721@lazarus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Reply-By: Sat Feb 14 21:42:06 EST 2004 X-Operating-System: Linux 2.6.2-mm1 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 21:42:06 up 3 days, 3:53, 4 users, load average: 0.00, 0.01, 0.00 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 Subject: [Devel] If you're mirroring my arch repo... X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 10:43:15 -0000 Status: O Content-Length: 435 Lines: 16 Hey hey, If you're mirroring my arch repo, you'll have to kill it and re-mirror, as I've just turned on GPG signed revisions. Very nice. :-) Thanks, - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "Slashdot seems to run a lot of obituaries. Perhaps there should be a topic for it." "There already is. It's called the BSD section." - Anonymous Coward From jaya@te.pdft.ugm.ac.id Wed Feb 11 18:21:53 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id D412A57F3 for ; Wed, 11 Feb 2004 18:21:53 +0000 (GMT) Received: from gate.jarkom.net (unknown [202.169.229.11]) by amnesiac.heapspace.net (Postfix) with ESMTP id D6B3257AA for ; Wed, 11 Feb 2004 18:21:45 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by gate.jarkom.net (Postfix) with ESMTP id 3AB793FD04 for ; Thu, 12 Feb 2004 01:21:41 +0700 (WIT) Received: from gate.jarkom.net ([127.0.0.1]) by localhost (gate [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24423-11 for ; Thu, 12 Feb 2004 01:21:40 +0700 (WIT) Received: by gate.jarkom.net (Postfix, from userid 1000) id B3CC23FCBB; Thu, 12 Feb 2004 01:21:40 +0700 (WIT) Date: Thu, 12 Feb 2004 01:21:40 +0700 To: devel@lists.planetplanet.org Message-ID: <20040211182140.GA32306@te.pdft.ugm.ac.id> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline User-Agent: Mutt/1.5.5.1i From: jaya@te.pdft.ugm.ac.id (I Gede Wijaya S) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at te.pdft.ugm.ac.id X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 Subject: [Devel] error in create rssX.xml, maybe some rss feed X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 18:21:53 -0000 Status: O Content-Length: 1460 Lines: 53 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 So today I try my other planet, called "webdesign". This "planet" success in both version 0.1 and now 0.2. In association with my problem yesterday (error in creating rssX.xml in "planet wordpress" that failed both in planet 0.1 and 0.2), I wondering if it is caused by some "invalid"xml? If so, how to turn off the creating of rssX.xml for "my planet"? this is my RSS feed for "planet webdesign" that successed for 0.1 and 0.2 version: [http://www.adactio.com/journal/journal.rss] name = Adactio: Journal [http://brainstormsandraves.com/xml/rssALL.xml] name = Brainstorm and Raves [http://www.zeldman.com/feed/zeldman.xml] name = Jefrrey Zeldman [http://gnuhaus.com/iblog/index.rdf] name = Mark Newhouse [http://www.mezzoblue.com/rss/index.xml] name = Mezzoblue [http://simon.incutio.com/syndicate/rss1.0] name = Simon Willison's Weblog [http://www.simplebits.com/xml/rss.xml] name = SimpleBits [http://www.stopdesign.com/index.xml] name = StopDesign [http://gtmcknight.com/log/rss/fullposts.xml] name = Taylor McKnight - -- Program Diploma Teknik Elektro Universitas Gadjah Mada Yogyakarta gpg-key: http://te.pdft.ugm.ac.id/~jaya/jaya.gpg Key fingerprint = 8F89 C7CF 0B0C 27F2 4F64 9DED DB5F E088 079E C5E4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAKnK021/giAeexeQRAl6ZAJ4qs8Yi7WH5/FIrh5ifwMTjYWG4XwCbBi0Y HjSd3+5dsqYrsT3KXKU1LI4= =J0TO -----END PGP SIGNATURE----- From cwryu@debian.org Mon Feb 16 14:11:56 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id EEDB457F0 for ; Mon, 16 Feb 2004 14:11:56 +0000 (GMT) Received: from zeus.codehall.org (unknown [61.74.109.202]) by amnesiac.heapspace.net (Postfix) with ESMTP id 72C7057BA for ; Mon, 16 Feb 2004 14:11:53 +0000 (GMT) Received: from localhost ([127.0.0.1] ident=cwryu) by zeus.codehall.org with esmtp (Exim 3.36 #1 (Debian)) id 1AsjTS-0001lh-00 for ; Mon, 16 Feb 2004 23:11:50 +0900 From: Changwoo Ryu To: devel@lists.planetplanet.org Content-Type: text/plain Message-Id: <1076940709.1325.4.camel@zeus.codehall.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 16 Feb 2004 23:11:49 +0900 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham version=2.61 Subject: [Devel] Planet GNOME Korea goes to planet! X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 14:11:57 -0000 Status: O Content-Length: 360 Lines: 19 Hi, planet fans. I just migrated Planet GNOME Korea to planet. http://gnome.or.kr/pgk/ It works very well. I just added hacks to display the user supplied image in RSS. But the following aggregated RSS seems to NOT-well-formed, because some contains '&' characters. http://gnome.or.kr/pgk/rss20.xml -- Changwoo Ryu From dstone@trinity.unimelb.edu.au Mon Feb 16 23:12:12 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id C0CE357D8 for ; Mon, 16 Feb 2004 23:12:12 +0000 (GMT) Received: from epistula.trinity.unimelb.edu.au (epistula.trinity.unimelb.edu.au [203.28.240.16]) by amnesiac.heapspace.net (Postfix) with ESMTP id 41BAE57AA for ; Mon, 16 Feb 2004 23:12:10 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by epistula.trinity.unimelb.edu.au (Postfix) with ESMTP id 907AE9D for ; Tue, 17 Feb 2004 10:12:07 +1100 (EST) Received: from epistula.trinity.unimelb.edu.au ([127.0.0.1]) by localhost (epistula [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29517-03-61 for ; Tue, 17 Feb 2004 10:12:07 +1100 (EST) Received: from bill.trinity.unimelb.edu.au (bill.trinity.unimelb.edu.au [203.28.240.2]) by epistula.trinity.unimelb.edu.au (Postfix) with ESMTP id 4993E97 for ; Tue, 17 Feb 2004 10:12:07 +1100 (EST) Received: from localhost (epistula.trinity.unimelb.edu.au [203.28.240.16]) by bill.trinity.unimelb.edu.au (Postfix) with ESMTP id 30D8717E55 for ; Tue, 17 Feb 2004 10:12:07 +1100 (EST) Received: from bill.trinity.unimelb.edu.au ([203.28.240.3]) by localhost (epistula [203.28.240.16]) (amavisd-new, port 10024) with LMTP id 07122-02 for ; Tue, 17 Feb 2004 10:12:06 +1100 (EST) Received: by bill.trinity.unimelb.edu.au (Postfix, from userid 1280) id C765017E36; Tue, 17 Feb 2004 10:12:06 +1100 (EST) Date: Tue, 17 Feb 2004 10:12:06 +1100 From: Daniel Stone To: devel@lists.planetplanet.org Message-ID: <20040216231206.GB4635@trinity.unimelb.edu.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Bn2rw/3z4jIqBvZU" Content-Disposition: inline User-Agent: Mutt/1.3.28i X-GnuPG-Key: 3CED7EFD X-Virus-Scanned: by amavisd-new-20030616-p3 (Debian) at trinity.unimelb.edu.au X-Virus-Scanned: by amavisd-new-20030616-p3 (Debian) at trinity.unimelb.edu.au X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 Subject: [Devel] I WANT IN UR CLUB! X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 23:12:12 -0000 Status: O Content-Length: 983 Lines: 33 --Bn2rw/3z4jIqBvZU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey guys, I've finally fixed planet.freedesktop.org to have a decent style (thanks to Christian Hammond), and some actual content, and stuff. If those of you who link to other Planets could please link to this one, and refer to it as 'planet.freedesktop.org', or 'freedesktop.org', that'd be sweet. Cheers. --=20 Daniel Stone "The programs are documented fully by _The Rise and Fall of a Fooish Bar_, available by the Info system." -- debian/manpage.sgml.ex, dh_make template --Bn2rw/3z4jIqBvZU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAMU5GcPClnTztfv0RAgRQAJ9fXqSWlH1Jw3ABtnQeTbUE7cLoFwCfYdeg 6v0nx183zXbW3jLPVyGlPJQ= =WHam -----END PGP SIGNATURE----- --Bn2rw/3z4jIqBvZU-- From jdub@perkypants.org Tue Feb 17 00:34:29 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id A8C5E57F1 for ; Tue, 17 Feb 2004 00:34:29 +0000 (GMT) Received: from au-mai-0003.flow.com.au (au-mai-0003.flow.com.au [202.129.90.39]) by amnesiac.heapspace.net (Postfix) with ESMTP id 9D93457BA for ; Tue, 17 Feb 2004 00:34:27 +0000 (GMT) Received: from home.perkypants.org (unknown [203.173.27.120]) by au-mai-0003.flow.com.au (Postfix) with ESMTP id 9BC9C5381CB; Tue, 17 Feb 2004 11:34:24 +1100 (EST) Received: from lazarus.home (lazarus.home [192.168.10.10]) by home.perkypants.org (Postfix) with ESMTP id DDD17E8F2C; Tue, 17 Feb 2004 11:34:22 +1100 (EST) Received: by lazarus.home (Postfix, from userid 1000) id BA14A943C6; Tue, 17 Feb 2004 11:34:22 +1100 (EST) Date: Tue, 17 Feb 2004 11:34:22 +1100 From: Jeff Waugh To: Changwoo Ryu Subject: Re: [Devel] Planet GNOME Korea goes to planet! Message-ID: <20040217003422.GF1721@lazarus> References: <1076940709.1325.4.camel@zeus.codehall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1076940709.1325.4.camel@zeus.codehall.org> Reply-By: Fri Feb 20 11:33:02 EST 2004 X-Operating-System: Linux 2.6.2-mm1 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 11:33:03 up 8 days, 17:43, 4 users, load average: 0.26, 0.07, 0.02 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham version=2.61 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2004 00:34:29 -0000 Status: O Content-Length: 743 Lines: 29 > I just migrated Planet GNOME Korea to planet. > > http://gnome.or.kr/pgk/ Yaaaay! :-) > It works very well. I just added hacks to display the user > supplied image in RSS. Oooh - could you please send a diff? I was thinking about doing this the other day! > But the following aggregated RSS seems to NOT-well-formed, because some > contains '&' characters. > > http://gnome.or.kr/pgk/rss20.xml Perhaps we should ESCAPE="URL" the elements in the tmpl file? - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ There's no horse higher, no mailing list taunt lower, no developer base wider. Rock My Code in the Bosom of Debian. From cwryu@debian.org Tue Feb 17 12:46:53 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 61D5857F1 for ; Tue, 17 Feb 2004 12:46:53 +0000 (GMT) Received: from zeus.codehall.org (unknown [61.74.109.202]) by amnesiac.heapspace.net (Postfix) with ESMTP id E373D57AA for ; Tue, 17 Feb 2004 12:46:49 +0000 (GMT) Received: from localhost ([127.0.0.1] ident=cwryu) by zeus.codehall.org with esmtp (Exim 3.36 #1 (Debian)) id 1At4cI-0003Tn-00; Tue, 17 Feb 2004 21:46:22 +0900 Subject: Re: [Devel] Planet GNOME Korea goes to planet! From: Changwoo Ryu To: Jeff Waugh In-Reply-To: <20040217003422.GF1721@lazarus> References: <1076940709.1325.4.camel@zeus.codehall.org> <20040217003422.GF1721@lazarus> Content-Type: multipart/mixed; boundary="=-yjbx6PXB2mNzppRrBdBx" Message-Id: <1077021981.1325.28.camel@zeus.codehall.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 17 Feb 2004 21:46:21 +0900 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham version=2.61 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2004 12:46:53 -0000 Status: O Content-Length: 3745 Lines: 124 --=-yjbx6PXB2mNzppRrBdBx Content-Type: text/plain Content-Transfer-Encoding: 7bit 2004-02-17 09:34, Jeff Waugh: > > It works very well. I just added hacks to display the user > > supplied image in RSS. > > Oooh - could you please send a diff? I was thinking about doing this the > other day! > Sure, attached it. (ignore the encoding-related ones... A PGK user has wrong UTF-8, and fallback to ISO8859-1 is bad for Korean language) > > But the following aggregated RSS seems to NOT-well-formed, because some > > contains '&' characters. > > > > http://gnome.or.kr/pgk/rss20.xml > > Perhaps we should ESCAPE="URL" the elements in the tmpl file? No. '&' should be escaped to '&' in this case (XML CDATA). Is there such escaping method? -- Changwoo Ryu --=-yjbx6PXB2mNzppRrBdBx Content-Disposition: attachment; filename=planet-image.diff Content-Type: text/x-patch; name=planet-image.diff; charset=EUC-KR Content-Transfer-Encoding: 7bit diff -u planet-devel/feedparser.py planet-pgk/feedparser.py --- planet-devel/feedparser.py 2004-02-09 08:23:57.000000000 +0900 +++ planet-pgk/feedparser.py 2004-02-16 22:48:46.000000000 +0900 @@ -541,11 +541,22 @@ _end_feed = _end_channel def _start_image(self, attrs): + value = self._getAttribute(attrs, 'rdf:resource') + if value: + self.channel['image'] = value self.inimage = 1 def _end_image(self): self.inimage = 0 + def _start_url(self, attrs): + self.push('url', self.inimage) + + def _end_url(self): + value = self.pop('url') + if self.inimage: + self.channel['image'] = value + def _start_textinput(self, attrs): self.intextinput = 1 _start_textInput = _start_textinput diff -u planet-devel/planet.py planet-pgk/planet.py --- planet-devel/planet.py 2004-02-09 08:23:57.000000000 +0900 +++ planet-pgk/planet.py 2004-02-16 22:53:56.000000000 +0900 @@ -139,6 +139,7 @@ info["summary"] = newsitem.summary info["content"] = newsitem.content info["link"] = newsitem.link + info["image"] = newsitem.image chaninfo = channels[newsitem.channel] for k, v in chaninfo.items(): diff -u planet-devel/planetlib.py planet-pgk/planetlib.py --- planet-devel/planetlib.py 2004-02-09 08:23:57.000000000 +0900 +++ planet-pgk/planetlib.py 2004-02-16 22:51:30.000000000 +0900 @@ -98,6 +98,8 @@ self.items = [] + self.image = None + if props: self.props = props else: @@ -194,7 +196,7 @@ exc_info=1) try: - data = unicode(data, "utf8").encode("utf8") + data = unicode(data, "utf8", 'ignore').encode("utf8") logging.debug("Encoding: UTF-8") except UnicodeError: try: @@ -280,6 +282,8 @@ logging.warning("Empty feed, cowardly not updating") return + self.image = feed.channel.get('image', '') + new_items = [] for item in feed.items: new_items.append(NewsItem(item, self)) @@ -293,7 +297,7 @@ self.title = feed.channel.get('title', '') self.description = feed.channel.get('description', '') self.link = feed.channel.get('link', '') - + self.cache_write(data) return self.items @@ -365,6 +369,8 @@ if self.date is None or self.date[3:6] == (0, 0, 0): self.date = self._cached_time() + self.image = channel.image + def _cached_time(self): """Retrieve or save a cached time for this entry. --=-yjbx6PXB2mNzppRrBdBx-- From mparaz@techscene.com Thu Feb 19 15:21:08 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 4638357F1 for ; Thu, 19 Feb 2004 15:21:08 +0000 (GMT) Received: from techscene.com (unknown [66.199.224.23]) by amnesiac.heapspace.net (Postfix) with ESMTP id A0A5057BA for ; Thu, 19 Feb 2004 15:21:06 +0000 (GMT) Received: from techscene.com (unknown [127.0.0.1]) by techscene.com (Postfix) with ESMTP id C4F5C700A6 for ; Thu, 19 Feb 2004 15:21:05 +0000 (UTC) Received: (from mparaz@localhost) by techscene.com (8.12.8/8.12.8/Submit) id i1JFL55Y001602 for devel@lists.planetplanet.org; Thu, 19 Feb 2004 15:21:05 GMT Date: Thu, 19 Feb 2004 15:21:05 +0000 From: Miguel A Paraz To: devel@lists.planetplanet.org Message-ID: <20040219152105.GB1212@techscene.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Subject: [Devel] Setting Timezone X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 15:21:08 -0000 Status: O Content-Length: 218 Lines: 13 Hi, Thanks for excellent work :) I have it running here: http://blogs.techscene.com I changed format_date to use gmtime() instead of utctime(). Is that good? What if I want to change it to an arbitrary timezone? From menesis@delfi.lt Mon Feb 23 17:39:56 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 8667057F2 for ; Mon, 23 Feb 2004 17:39:56 +0000 (GMT) Received: from tango.dokeda.lt (tango.dokeda.lt [212.59.6.135]) by amnesiac.heapspace.net (Postfix) with ESMTP id 66AD357BA for ; Mon, 23 Feb 2004 17:39:53 +0000 (GMT) Received: from delfi.lt (unknown [172.16.1.48]) by tango.dokeda.lt (Postfix) with ESMTP id 3F1D47FA7D3 for ; Mon, 23 Feb 2004 19:41:57 +0200 (EET) Message-ID: <403A3ACA.5030302@delfi.lt> Date: Mon, 23 Feb 2004 19:39:22 +0200 From: Gediminas Paulauskas User-Agent: Mozilla Thunderbird 0.5a (20031223) X-Accept-Language: en-us, en MIME-Version: 1.0 To: devel@lists.planetplanet.org Content-Type: multipart/mixed; boundary="------------030204000906060707030304" X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=2.63 Subject: [Devel] encoding fix for planet X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 17:39:56 -0000 Status: O Content-Length: 5590 Lines: 145 This is a multi-part message in MIME format. --------------030204000906060707030304 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I have downloaded planet-devel.tar.bz2 and fired it up succesfully for use for a group of friends. I have found a few problems. 1. Most of the feeds were in windows-1257 encoding, and that is written in the header, like . Planet did not convert and display them correctly. I modified planetlib.py to use the specified encoding, not hardcoded iso-8859-1, and it works well now. The patch planet-encoding.diff contains this fix. 2. In example/index.html.tmpl would be good to add this line in , so that browsers know which charset to choose. 3. Example feed templates do not escape links in all needed places, so produced xml files are invalid. The patch planet-feeds.diff fixes that. Test with http://pukomuko.esu.lt/index.php?page=index&item=rss 4. INSTALL file refers to pyblagg.py, should be planet.py Run it: python pyblagg.py pathto/config.ini Thanks for the program, was easy to make it go! Gediminas Paulauskas --------------030204000906060707030304 Content-Type: text/plain; name="planet-encoding.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="planet-encoding.diff" --- planet-devel/planetlib.py 2004-02-09 01:23:58.000000000 +0200 +++ planet/planetlib.py 2004-02-23 19:12:28.000000000 +0200 @@ -180,7 +180,8 @@ We then take the data and try to squeeze it into a UTF-8 string using Python's unicode module. If it doesn't decode as UTF-8 - we try ISO-8559-1 before ruthlessly stripping the bad characters. + we try using encoding specified in xml header (or ISO-8859-1 if + not specified) before ruthlessly stripping the bad characters. """ data = f.read() @@ -197,13 +198,19 @@ data = unicode(data, "utf8").encode("utf8") logging.debug("Encoding: UTF-8") except UnicodeError: + encoding = "iso8859_1" + xmlheaderRe = re.compile('<\?.*encoding=[\'"](.*?)[\'"].*\?>') + match = xmlheaderRe.match(data) + if match: + encoding = match.groups()[0].lower() + try: - data = unicode(data, "iso8859_1").encode("utf8") - logging.debug("Encoding: ISO-8859-1") + data = unicode(data, encoding).encode("utf8") + logging.debug("Encoding: " + encoding) except UnicodeError: data = unicode(data, "ascii", "replace").encode("utf8") - logging.warn("Feed wasn't in UTF-8 or ISO-8859-1, replaced " + - "all non-ASCII characters.") + logging.warn("Feed wasn't in UTF-8 or " + encoding + + ", replaced all non-ASCII characters.") return data --------------030204000906060707030304 Content-Type: text/plain; name="planet-feeds.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="planet-feeds.diff" diff -u planet-devel/examples/foafroll.xml.tmpl planet/examples/foafroll.xml.tmpl --- planet-devel/examples/foafroll.xml.tmpl 2004-02-09 01:23:58.000000000 +0200 +++ planet/examples/foafroll.xml.tmpl 2004-02-23 16:44:00.000000000 +0200 @@ -8,7 +8,7 @@ > - + " /> diff -u planet-devel/examples/rss10.xml.tmpl planet/examples/rss10.xml.tmpl --- planet-devel/examples/rss10.xml.tmpl 2004-02-09 01:23:58.000000000 +0200 +++ planet/examples/rss10.xml.tmpl 2004-02-23 16:44:02.000000000 +0200 @@ -8,8 +8,8 @@ > "> <TMPL_VAR name> - - - + + - @@ -23,7 +23,7 @@ "> <TMPL_VAR channel_name><TMPL_IF title>: <TMPL_VAR title></TMPL_IF> - + diff -u planet-devel/examples/rss20.xml.tmpl planet/examples/rss20.xml.tmpl --- planet-devel/examples/rss20.xml.tmpl 2004-02-09 01:23:58.000000000 +0200 +++ planet/examples/rss20.xml.tmpl 2004-02-23 16:45:14.000000000 +0200 @@ -2,15 +2,15 @@ <TMPL_VAR name> - + en - - + - <TMPL_VAR channel_name><TMPL_IF title>: <TMPL_VAR title></TMPL_IF> - - + + --------------030204000906060707030304-- From blog@fergusnet.com Tue Feb 24 01:01:01 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 7F4CE57D8 for ; Tue, 24 Feb 2004 01:01:01 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by amnesiac.heapspace.net (Postfix) with ESMTP id CF0B257F6 for ; Tue, 24 Feb 2004 01:00:58 +0000 (GMT) Received: from server.fergusnet.com ([68.48.188.86]) by comcast.net (sccrmhc13) with ESMTP id <2004022401005001600d9msne>; Tue, 24 Feb 2004 01:00:50 +0000 Received: from server.fergusnet.com (localhost [127.0.0.1]) by server.fergusnet.com (8.12.10/8.12.9) with ESMTP id i1O10nG1016747 for ; Mon, 23 Feb 2004 20:00:49 -0500 Received: (from apache@localhost) by server.fergusnet.com (8.12.10/8.12.10/Submit) id i1O10nqN016746; Mon, 23 Feb 2004 20:00:49 -0500 Date: Mon, 23 Feb 2004 20:00:49 -0500 Message-Id: <200402240100.i1O10nqN016746@server.fergusnet.com> X-Authentication-Warning: server.fergusnet.com: apache set sender to blog@fergusnet.com using -f To: devel@lists.planetplanet.org Received: from 192.168.0.3 (auth. user fergus@mail.fergusnet.com) by fergusnet.com with HTTP; Mon, 23 Feb 2004 20:00:49 -0500 X-IlohaMail-Blah: fergus@mail.fergusnet.com X-IlohaMail-Method: mail() [mem] X-IlohaMail-Dummy: moo X-Mailer: IlohaMail/0.8.12 (On: fergusnet.com) From: "Richard Ferguson" Bounce-To: "Richard Ferguson" Errors-To: "Richard Ferguson" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.2 required=5.0 tests=BAYES_00, MSGID_FROM_MTA_HEADER autolearn=no version=2.63 Subject: [Devel] New TMPL_IF functionality X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: Richard Ferguson List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 01:01:01 -0000 Status: O Content-Length: 4251 Lines: 109 All, I started using your planeplanet scripts a few days and needed some extended IF functionality. I wanted more than just to know if a variable is present or not so I added a new tag . It allows you to do regular expression searching on the value of the variable. here is an example .. I also had to modify the tokenizer expression to allow the pass through of the regular expression special characters. -- Richard Ferguson Here is the patch if any one wants to try it out. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D --- planet-devel.orig/htmltmpl.py=092004-02-08 18:23:57.000000000 -0500 +++ planet-devel/htmltmpl.py=092004-02-23 19:48:25.000000000 -0500 @@ -49,12 +49,13 @@ # Total number of possible parameters. # Increment if adding a parameter to any statement. -PARAMS_NUMBER =3D 3 +PARAMS_NUMBER =3D 4 # Relative positions of parameters in TemplateCompiler.tokenize(). PARAM_NAME =3D 1 PARAM_ESCAPE =3D 2 PARAM_GLOBAL =3D 3 +PARAM_REGEX =3D 4 PARAM_GETTEXT_STRING =3D 1 # Find a way to lock files. Currently implemented only for UNIX and windows. @@ -649,6 +650,23 @@ output_control.append(DISABLE_OUTPUT) self.DEB("IF: DISABLE: " + str(var)) + elif token =3D=3D "." + regex =3D tokens[i + PARAM_REGEX] + if not regex: + raise TemplateError, "No regular expression in ." + globalp =3D tokens[i + PARAM_GLOBAL] + skip_params =3D 1 + value =3D self.find_value(var, loop_name, loop_pass, loop_total, globalp) + if re.compile(regex).search(value): + output_control.append(ENABLE_OUTPUT) + self.DEB("IF_MATCH: ENABLE: " + str(var)) + else: + output_control.append(DISABLE_OUTPUT) + self.DEB("IF_MATCH: DISABLE: " + str(var)) + elif token =3D=3D "." + output_control.pop() + self.DEB("IF_MATCH: END") + elif token =3D=3D ") [%s]? # eat trailing newline (opt.) """ % os.linesep @@ -1149,6 +1175,7 @@ tokens.append(self.find_name(params)) tokens.append(self.find_param("ESCAPE", params)) tokens.append(self.find_param("GLOBAL", params)) + tokens.append(self.find_param("REGEX", params)) else: # "Normal" template data. if self._gettext: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D From blog@fergusnet.com Tue Feb 24 01:05:29 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 6583A57FA for ; Tue, 24 Feb 2004 01:05:29 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by amnesiac.heapspace.net (Postfix) with ESMTP id F081B57F2 for ; Tue, 24 Feb 2004 01:05:26 +0000 (GMT) Received: from server.fergusnet.com ([68.48.188.86]) by comcast.net (sccrmhc12) with ESMTP id <2004022401052501200985nte>; Tue, 24 Feb 2004 01:05:25 +0000 Received: from server.fergusnet.com (localhost [127.0.0.1]) by server.fergusnet.com (8.12.10/8.12.9) with ESMTP id i1O15PG1016890 for ; Mon, 23 Feb 2004 20:05:25 -0500 Received: (from apache@localhost) by server.fergusnet.com (8.12.10/8.12.10/Submit) id i1O15PtI016889; Mon, 23 Feb 2004 20:05:25 -0500 Date: Mon, 23 Feb 2004 20:05:25 -0500 Message-Id: <200402240105.i1O15PtI016889@server.fergusnet.com> X-Authentication-Warning: server.fergusnet.com: apache set sender to blog@fergusnet.com using -f To: devel@lists.planetplanet.org Received: from 192.168.0.3 (auth. user fergus@mail.fergusnet.com) by fergusnet.com with HTTP; Mon, 23 Feb 2004 20:05:25 -0500 X-IlohaMail-Blah: fergus@mail.fergusnet.com X-IlohaMail-Method: mail() [mem] X-IlohaMail-Dummy: moo X-Mailer: IlohaMail/0.8.12 (On: fergusnet.com) From: "Richard Ferguson" Bounce-To: "Richard Ferguson" Errors-To: "Richard Ferguson" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.2 required=5.0 tests=BAYES_00, MSGID_FROM_MTA_HEADER autolearn=no version=2.63 Subject: [Devel] New TMPL_IF functionality (again) X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: Richard Ferguson List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 01:05:29 -0000 Status: O Content-Length: 85 Lines: 6 sorry the patch didn't pass through well.... here is the file -- Richard Ferguson From jdub@perkypants.org Tue Feb 24 01:11:15 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 1CCFD57F9 for ; Tue, 24 Feb 2004 01:11:15 +0000 (GMT) Received: from au-mai-0003.flow.com.au (au-mai-0003.flow.com.au [202.129.90.39]) by amnesiac.heapspace.net (Postfix) with ESMTP id B20A657C6 for ; Tue, 24 Feb 2004 01:11:12 +0000 (GMT) Received: from home.perkypants.org (m023-209.nv.iinet.net.au [203.217.23.209]) by au-mai-0003.flow.com.au (Postfix) with ESMTP id C3F9A53814C; Tue, 24 Feb 2004 12:11:09 +1100 (EST) Received: from lazarus.home (lazarus.home [192.168.10.10]) by home.perkypants.org (Postfix) with ESMTP id 3BBF3E8CF1; Tue, 24 Feb 2004 12:11:09 +1100 (EST) Received: by lazarus.home (Postfix, from userid 1000) id DA0C49444F; Tue, 24 Feb 2004 12:11:08 +1100 (EST) Date: Tue, 24 Feb 2004 12:11:08 +1100 From: Jeff Waugh To: Richard Ferguson Subject: Re: [Devel] New TMPL_IF functionality Message-ID: <20040224011108.GB27139@lazarus> References: <200402240100.i1O10nqN016746@server.fergusnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402240100.i1O10nqN016746@server.fergusnet.com> Reply-By: Fri Feb 27 12:09:42 EST 2004 X-Operating-System: Linux 2.6.3-mm1 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 12:09:42 up 2 days, 18:55, 4 users, load average: 0.19, 0.05, 0.01 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 01:11:15 -0000 Status: O Content-Length: 607 Lines: 23 > I started using your planeplanet scripts a few days and needed some > extended IF functionality. Yowza! Cool... The htmltmpl code is actually a copy'n'paste file from the HTMLTMPL project, so you might want to give them a yell about this feature: http://htmltmpl.sf.net/ btw, are you running your own private aggregator, or a public project aggregator? Thanks, - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "If I had an inch for every penis size spam I'd recieved..." - Luis Villa From blog@fergusnet.com Tue Feb 24 01:13:13 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 1601957F0 for ; Tue, 24 Feb 2004 01:13:13 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by amnesiac.heapspace.net (Postfix) with ESMTP id D2FC057D8 for ; Tue, 24 Feb 2004 01:13:10 +0000 (GMT) Received: from server.fergusnet.com ([68.48.188.86]) by comcast.net (sccrmhc12) with ESMTP id <2004022401131001200afkhle>; Tue, 24 Feb 2004 01:13:10 +0000 Received: from fergusnet.com (rumba.apt.fergusnet.com [192.168.0.3]) by server.fergusnet.com (8.12.10/8.12.9) with ESMTP id i1O1D9G1017114 for ; Mon, 23 Feb 2004 20:13:09 -0500 Message-ID: <403AA525.9040802@fergusnet.com> Date: Mon, 23 Feb 2004 20:13:09 -0500 From: Richard Ferguson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116 X-Accept-Language: en-us, en MIME-Version: 1.0 To: devel@lists.planetplanet.org Content-Type: multipart/mixed; boundary="------------040308010009070807000600" X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Subject: [Devel] TMPL_IF_MATCH patch file (for real this time) X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 01:13:13 -0000 Status: O Content-Length: 3690 Lines: 91 This is a multi-part message in MIME format. --------------040308010009070807000600 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit wow.. so my webmail app is broke and doesn't attach files right. Let me try again... --------------040308010009070807000600 Content-Type: text/x-patch; name="tmpl_if_match.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="tmpl_if_match.patch" --- planet-devel.orig/htmltmpl.py 2004-02-08 18:23:57.000000000 -0500 +++ planet-devel/htmltmpl.py 2004-02-23 19:48:25.000000000 -0500 @@ -49,12 +49,13 @@ # Total number of possible parameters. # Increment if adding a parameter to any statement. -PARAMS_NUMBER = 3 +PARAMS_NUMBER = 4 # Relative positions of parameters in TemplateCompiler.tokenize(). PARAM_NAME = 1 PARAM_ESCAPE = 2 PARAM_GLOBAL = 3 +PARAM_REGEX = 4 PARAM_GETTEXT_STRING = 1 # Find a way to lock files. Currently implemented only for UNIX and windows. @@ -649,6 +650,23 @@ output_control.append(DISABLE_OUTPUT) self.DEB("IF: DISABLE: " + str(var)) + elif token == "." + regex = tokens[i + PARAM_REGEX] + if not regex: + raise TemplateError, "No regular expression in ." + globalp = tokens[i + PARAM_GLOBAL] + skip_params = 1 + value = self.find_value(var, loop_name, loop_pass, loop_total, globalp) + if re.compile(regex).search(value): + output_control.append(ENABLE_OUTPUT) + self.DEB("IF_MATCH: ENABLE: " + str(var)) + else: + output_control.append(DISABLE_OUTPUT) + self.DEB("IF_MATCH: DISABLE: " + str(var)) + elif token == "." + output_control.pop() + self.DEB("IF_MATCH: END") + elif token == ") [%s]? # eat trailing newline (opt.) """ % os.linesep @@ -1149,6 +1175,7 @@ tokens.append(self.find_name(params)) tokens.append(self.find_param("ESCAPE", params)) tokens.append(self.find_param("GLOBAL", params)) + tokens.append(self.find_param("REGEX", params)) else: # "Normal" template data. if self._gettext: --------------040308010009070807000600-- From blog@fergusnet.com Thu Mar 4 01:53:28 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 5B29B57D1 for ; Thu, 4 Mar 2004 01:53:28 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by amnesiac.heapspace.net (Postfix) with ESMTP id C2D6F57CA for ; Thu, 4 Mar 2004 01:53:24 +0000 (GMT) Received: from server.apt.fergusnet.com (pcp02553147pcs.manass01.va.comcast.net[68.48.188.86]) by comcast.net (rwcrmhc13) with ESMTP id <2004030401532301500ro72je>; Thu, 4 Mar 2004 01:53:23 +0000 Received: from server.apt.fergusnet.com (localhost [127.0.0.1]) by server.apt.fergusnet.com (8.12.10/8.12.9) with ESMTP id i241rLlb025553 for ; Wed, 3 Mar 2004 20:53:21 -0500 Received: (from apache@localhost) by server.apt.fergusnet.com (8.12.10/8.12.10/Submit) id i241rKpb025552; Wed, 3 Mar 2004 20:53:20 -0500 Message-Id: <200403040153.i241rKpb025552@server.apt.fergusnet.com> X-Authentication-Warning: server.apt.fergusnet.com: apache set sender to blog@fergusnet.com using -f To: devel@lists.planetplanet.org Received: from 192.168.0.3 (auth. user fergus@mail.fergusnet.com) by fergusnet.com with HTTP; Wed, 03 Mar 2004 20:53:20 -0500 Date: Wed, 03 Mar 2004 20:53:20 -0500 X-Mailer: IlohaMail/0.8.12 (On: fergusnet.com) From: "Richard Ferguson" Bounce-To: "Richard Ferguson" Errors-To: "Richard Ferguson" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="RWP_PART_fergus1078365200" X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00, MSGID_FROM_MTA_HEADER autolearn=no version=2.63 Subject: [Devel] New last_n_days option X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: Richard Ferguson List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 01:53:28 -0000 Status: O Content-Length: 4665 Lines: 78 This message is in MIME format. --RWP_PART_fergus1078365200 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable All, I added a new option to my planetplanet site that will only display the last n number of days of posts. This option does not overrider the items_per_page attribute but is an addition to it. Oh yeah, a value of 0 for last_n_days will disable the date checking and work as usual. I wouldn't call myself a python programmer so this might not be the most elegant way of doing it, but it does work. If anybody is wondering I am using this to generate weekly summaries of multiple blogs. --RWP_PART_fergus1078365200 Content-Type: text/x-patch; name="last_n_days.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="last_n_days.patch" LS0tIHBsYW5ldC1kZXZlbC5vcmlnL3BsYW5ldC5weQkyMDA0LTAyLTA4IDE4OjIzOjU3LjAwMDAw MDAwMCAtMDUwMAorKysgcGxhbmV0LWRldmVsL3BsYW5ldC5weQkyMDA0LTAzLTAzIDIwOjQyOjE5 LjAwMDAwMDAwMCAtMDUwMApAQCAtMzgsNiArMzgsNyBAQCBURU1QTEFURV9GSUxFUyA9ICIgIi5q b2luKCgnZXhhbXBsZXMvcGxhCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAnZXhhbXBsZXMv cGxhbmV0LnJzczIwLnRtcGwnKSkKIE9VVFBVVF9ESVIgPSAnb3V0cHV0JwogSVRFTVNfUEVSX1BB R0UgPSA2MAorTEFTVF9OX0RBWVMgPSAwCiBEQVRFX0ZPUk1BVCA9ICclQiAlZCwgJVkgJUk6JU0g JXAnCiBMT0dfTEVWRUwgPSAnV0FSTklORycKIApAQCAtODEsNiArODIsOCBAQCBpZiBfX25hbWVf XyA9PSAiX19tYWluX18iOgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICByYXc9MSkKICAg ICBpdGVtc19wZXJfcGFnZSA9IGludChjb25maWdfZ2V0KGNvbmZpZywgJ1BsYW5ldCcsICdpdGVt c19wZXJfcGFnZScsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBJVEVNU19Q RVJfUEFHRSkpCisgICAgbGFzdF9uX2RheXMgPSBpbnQoY29uZmlnX2dldChjb25maWcsICdQbGFu ZXQnLCAnbGFzdF9uX2RheXMnLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg TEFTVF9OX0RBWVMpKQogICAgIGlmIGNvbmZpZy5oYXNfb3B0aW9uKCdQbGFuZXQnLCAnY2FjaGVf ZGlyZWN0b3J5Jyk6CiAgICAgICAgIHBsYW5ldGxpYi5jYWNoZV9kaXJlY3RvcnkgPSBjb25maWcu Z2V0KCdQbGFuZXQnLCAnY2FjaGVfZGlyZWN0b3J5JykKICAgICBsb2dfbGV2ZWwgPSBjb25maWdf Z2V0KGNvbmZpZywgJ1BsYW5ldCcsICdsb2dfbGV2ZWwnLCBMT0dfTEVWRUwpCkBAIC0xMjcsNiAr MTMwLDExIEBAIGlmIF9fbmFtZV9fID09ICJfX21haW5fXyI6CiAgICAgIyBQcmVwYXJlIHRoZSB0 ZW1wbGF0ZSBpbmZvcm1hdGlvbiBmb3IgdGhlIGl0ZW1zCiAgICAgaXRlbXMgPSBbXQogICAgIHBy ZXZfZGF0ZSA9IE5vbmUKKyAgICAKKyAgICAjIGxpbWl0IGl0ZW1zIGJ5IG51bWJlciBvZiBkYXlz IGVsYXBzZWQgaWYgZGVzaXJlZAorICAgIGlmIGxhc3Rfbl9kYXlzICE9IDA6CisgICAgICAgIGRh dGVfdG9kYXlfcmF3ID0gdGltZS50aW1lKCkKKyAgICAKICAgICBmb3IgbmV3c2l0ZW0gaW4gcGxh bmV0Lml0ZW1zKClbOml0ZW1zX3Blcl9wYWdlXToKICAgICAgICAgZm9ybWF0X2RhdGUgPSBuZXdz aXRlbS5jaGFubmVsLmZvcm1hdF9kYXRlCiAgICAgICAgIApAQCAtMTQzLDkgKzE1MSwxNiBAQCBp ZiBfX25hbWVfXyA9PSAiX19tYWluX18iOgogICAgICAgICBjaGFuaW5mbyA9IGNoYW5uZWxzW25l d3NpdGVtLmNoYW5uZWxdCiAgICAgICAgIGZvciBrLCB2IGluIGNoYW5pbmZvLml0ZW1zKCk6CiAg ICAgICAgICAgICBpbmZvWyJjaGFubmVsXyIgKyBrXSA9IHYKLSAgICAgICAgICAgIAotICAgICAg ICBkYXRlID0gdGltZS5nbXRpbWUobmV3c2l0ZW0uY2hhbm5lbC51dGN0aW1lKG5ld3NpdGVtLmRh dGUpKQorICAgICAgICAgICAKKyAgICAgICAgZGF0ZV9yYXcgPSBuZXdzaXRlbS5jaGFubmVsLnV0 Y3RpbWUobmV3c2l0ZW0uZGF0ZSkKKyAgICAgICAgZGF0ZSA9IHRpbWUuZ210aW1lKGRhdGVfcmF3 KQorICAgICAgICAKICAgICAgICAgaWYgcHJldl9kYXRlICE9IGRhdGVbOjNdOgorICAgICAgICAg ICAgaWYgbGFzdF9uX2RheXMgIT0gMDoKKyAgICAgICAgICAgICAgICBkYXlzX3Bhc3NlZCA9IHRp bWUuZ210aW1lKGRhdGVfdG9kYXlfcmF3IC0gZGF0ZV9yYXcpLnRtX3lkYXkKKyAgICAgICAgICAg ICAgICBpZiBkYXlzX3Bhc3NlZCA+PSBsYXN0X25fZGF5czoKKyAgICAgICAgICAgICAgICAgICAg YnJlYWsKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICBp bmZvWyJuZXdfZGF0ZSJdID0gdGltZS5zdHJmdGltZSgiJUIgJWQsICVZIiwgZGF0ZSkKICAgICAg ICAgICAgIHByZXZfZGF0ZSA9IGRhdGVbOjNdCiAgICAgICAgIGVsc2U6Ci0tLSBwbGFuZXQtZGV2 ZWwub3JpZy9leGFtcGxlcy9jb25maWcuaW5pCTIwMDQtMDItMDggMTg6MjM6NTcuMDAwMDAwMDAw IC0wNTAwCisrKyBwbGFuZXQtZGV2ZWwvZXhhbXBsZXMvY29uZmlnLmluaQkyMDA0LTAzLTAzIDIw OjQzOjM0LjAwMDAwMDAwMCAtMDUwMApAQCAtMTQsMTAgKzE0LDEyIEBAIG93bmVyX2VtYWlsID0g emlnQHBsYW5ldC56b2cKICMgdGVtcGxhdGVfZmlsZXM6IFNwYWNlLXNlcGFyYXRlZCBsaXN0IG9m IG91dHB1dCB0ZW1wbGF0ZSBmaWxlcwogIyBvdXRwdXRfZGlyOiBEaXJlY3RvcnkgdG8gcGxhY2Ug b3V0cHV0IGZpbGVzCiAjIGl0ZW1zX3Blcl9wYWdlOiBIb3cgbWFueSBpdGVtcyB0byBwdXQgb24g ZWFjaCBwYWdlCisjIGxhc3Rfbl9kYXlzOiBMaW1pdCBwb3N0cyBmcm9tIHRoZSBsYXN0IG4gZGF5 cwogIyBkYXRlX2Zvcm1hdDogc3RyZnRpbWUgZm9ybWF0IGZvciB0aGUgZGVmYXVsdCAnZGF0ZScg dGVtcGxhdGUgdmFyaWFibGUKIHRlbXBsYXRlX2ZpbGVzID0gZXhhbXBsZXMvaW5kZXguaHRtbC50 bXBsIGV4YW1wbGVzL3JzczIwLnhtbC50bXBsIGV4YW1wbGVzL3JzczEwLnhtbC50bXBsIGV4YW1w bGVzL29wbWwueG1sLnRtcGwgZXhhbXBsZXMvZm9hZnJvbGwueG1sLnRtcGwKIG91dHB1dF9kaXIg PSBvdXRwdXQKIGl0ZW1zX3Blcl9wYWdlID0gNjAKK2xhc3Rfbl9kYXlzID0gNwogZGF0ZV9mb3Jt YXQgPSAlQiAlZCwgJVkgJUk6JU0gJXAKICAKICMgY2FjaGVfZGlyZWN0b3J5OiBXaGVyZSBjYWNo ZWQgZmVlZHMgYXJlIHN0b3JlZAo= --RWP_PART_fergus1078365200-- From jdub@perkypants.org Thu Mar 4 01:56:47 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 998CD57CF for ; Thu, 4 Mar 2004 01:56:47 +0000 (GMT) Received: from au-mai-0003.flow.com.au (au-mai-0003.flow.com.au [202.129.90.39]) by amnesiac.heapspace.net (Postfix) with ESMTP id A3EF257AC for ; Thu, 4 Mar 2004 01:56:44 +0000 (GMT) Received: from home.perkypants.org (m070-216.nv.iinet.net.au [203.217.70.216]) by au-mai-0003.flow.com.au (Postfix) with ESMTP id 8E160538005; Thu, 4 Mar 2004 12:56:41 +1100 (EST) Received: from lazarus.home (lazarus.home [192.168.10.10]) by home.perkypants.org (Postfix) with ESMTP id 60390E8ED4; Thu, 4 Mar 2004 12:56:41 +1100 (EST) Received: by lazarus.home (Postfix, from userid 1000) id D431194367; Thu, 4 Mar 2004 12:56:45 +1100 (EST) Date: Thu, 4 Mar 2004 12:56:45 +1100 From: Jeff Waugh To: Richard Ferguson Subject: Re: [Devel] New last_n_days option Message-ID: <20040304015645.GH12356@lazarus> References: <200403040153.i241rKpb025552@server.apt.fergusnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200403040153.i241rKpb025552@server.apt.fergusnet.com> X-Message-Flag: Cranky? Try Free Software instead! X-Operating-System: Linux 2.6.3-mm1 i686 Reply-By: Sun Mar 7 12:55:21 EST 2004 X-Uptime: 12:55:21 up 5 days, 9:14, 5 users, load average: 0.08, 0.02, 0.01 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 01:56:47 -0000 Status: O Content-Length: 1035 Lines: 27 > I added a new option to my planetplanet site that will only display > the last n number of days of posts. This option does not overrider the > items_per_page attribute but is an addition to it. Oh yeah, a value of 0 > for last_n_days will disable the date checking and work as usual. > > I wouldn't call myself a python programmer so this might not be the > most elegant way of doing it, but it does work. I'll let Scott judge the beauty of your code, but it looks okay to me. ;-) > If anybody is wondering I am using this to generate weekly summaries > of multiple blogs. That's a bloody good feature, excellent thinking! Maybe we should start offering this on some of the 'big' Planet sites. :-) - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "You know, the crunchy, folk-singer part of me wants to believe that a performance is a dialogue, but I can't hear a fucking thing you're saying." - Ani DiFranco From scott@netsplit.com Thu Mar 4 07:39:00 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 69C8957D4 for ; Thu, 4 Mar 2004 07:39:00 +0000 (GMT) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id A97AF57AC for ; Thu, 4 Mar 2004 07:38:47 +0000 (GMT) Received: (qmail 29251 invoked from network); 4 Mar 2004 07:38:46 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 4 Mar 2004 07:38:46 -0000 Subject: Re: [Devel] New last_n_days option From: Scott James Remnant To: Richard Ferguson , devel@lists.planetplanet.org In-Reply-To: <20040304015645.GH12356@lazarus> References: <200403040153.i241rKpb025552@server.apt.fergusnet.com> <20040304015645.GH12356@lazarus> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-/7//bKUSiqVpD37AqSFs" Message-Id: <1078385939.29463.10.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 04 Mar 2004 07:38:59 +0000 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 07:39:00 -0000 Status: O Content-Length: 1690 Lines: 57 --=-/7//bKUSiqVpD37AqSFs Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2004-03-04 at 01:56, Jeff Waugh wrote: > >=20 > > I added a new option to my planetplanet site that will only display > > the last n number of days of posts. This option does not overrider the > > items_per_page attribute but is an addition to it. Oh yeah, a value of = 0 > > for last_n_days will disable the date checking and work as usual. > >=20 > > I wouldn't call myself a python programmer so this might not be the > > most elegant way of doing it, but it does work. >=20 > I'll let Scott judge the beauty of your code, but it looks okay to me. ;-= ) >=20 Yup. Let's apply this :-) > > If anybody is wondering I am using this to generate weekly summaries > > of multiple blogs. >=20 > That's a bloody good feature, excellent thinking! Maybe we should start > offering this on some of the 'big' Planet sites. :-) >=20 In my head, I've got the idea of config sections named after the templates (or something) that let you configure this kind of stuff for each template. That way you could have a digest.html with different settings to index.html and whatnot. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-/7//bKUSiqVpD37AqSFs Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBARt0SIexP3IStZ2wRAkj2AKCL6zFoaCI5bbYB/SOZcVhdD20c7ACgoRGY PtMOdAownX/N9ch+ESvZsM0= =LCLo -----END PGP SIGNATURE----- --=-/7//bKUSiqVpD37AqSFs-- From jdub@perkypants.org Thu Mar 4 07:44:21 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 74D0757D1 for ; Thu, 4 Mar 2004 07:44:21 +0000 (GMT) Received: from au-mai-0003.flow.com.au (au-mai-0003.flow.com.au [202.129.90.39]) by amnesiac.heapspace.net (Postfix) with ESMTP id 647D257AC for ; Thu, 4 Mar 2004 07:44:18 +0000 (GMT) Received: from home.perkypants.org (m070-216.nv.iinet.net.au [203.217.70.216]) by au-mai-0003.flow.com.au (Postfix) with ESMTP id 5C9275381CE; Thu, 4 Mar 2004 18:44:05 +1100 (EST) Received: from lazarus.home (lazarus.home [192.168.10.10]) by home.perkypants.org (Postfix) with ESMTP id 12E78E8ED4; Thu, 4 Mar 2004 18:44:05 +1100 (EST) Received: by lazarus.home (Postfix, from userid 1000) id 381C294367; Thu, 4 Mar 2004 18:44:08 +1100 (EST) Date: Thu, 4 Mar 2004 18:44:08 +1100 From: Jeff Waugh To: Scott James Remnant Subject: Re: [Devel] New last_n_days option Message-ID: <20040304074408.GO12356@lazarus> References: <200403040153.i241rKpb025552@server.apt.fergusnet.com> <20040304015645.GH12356@lazarus> <1078385939.29463.10.camel@descent.netsplit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1078385939.29463.10.camel@descent.netsplit.com> X-Message-Flag: Cranky? Try Free Software instead! X-Operating-System: Linux 2.6.3-mm1 i686 Reply-By: Sun Mar 7 18:42:17 EST 2004 X-Uptime: 18:42:17 up 5 days, 15:01, 5 users, load average: 3.75, 3.33, 2.90 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 07:44:21 -0000 Status: O Content-Length: 904 Lines: 29 > > I'll let Scott judge the beauty of your code, but it looks okay to me. ;-) > > Yup. Let's apply this :-) Cool, my only niggle was the variable/config name... Should it be days_per_page to fit with the current items_per_page? > > That's a bloody good feature, excellent thinking! Maybe we should start > > offering this on some of the 'big' Planet sites. :-) > > In my head, I've got the idea of config sections named after the templates > (or something) that let you configure this kind of stuff for each > template. > > That way you could have a digest.html with different settings to > index.html and whatnot. That'd be way sweet. Especially if there was a "pipe output to command" setting! ;-) - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "Have you ever kissed a girl?" - Bryan Cantrill to Dave Miller From scott@netsplit.com Thu Mar 4 07:50:05 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 5859557D1 for ; Thu, 4 Mar 2004 07:50:05 +0000 (GMT) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id A843657AC for ; Thu, 4 Mar 2004 07:50:02 +0000 (GMT) Received: (qmail 29341 invoked from network); 4 Mar 2004 07:50:01 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 4 Mar 2004 07:50:01 -0000 Subject: Re: [Devel] New last_n_days option From: Scott James Remnant To: Richard Ferguson , devel@lists.planetplanet.org In-Reply-To: <20040304074408.GO12356@lazarus> References: <200403040153.i241rKpb025552@server.apt.fergusnet.com> <20040304015645.GH12356@lazarus> <1078385939.29463.10.camel@descent.netsplit.com> <20040304074408.GO12356@lazarus> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-5YSkJowv2BjI2ZYcX+8D" Message-Id: <1078386615.29463.12.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 04 Mar 2004 07:50:15 +0000 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 07:50:05 -0000 Status: O Content-Length: 991 Lines: 41 --=-5YSkJowv2BjI2ZYcX+8D Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2004-03-04 at 07:44, Jeff Waugh wrote: > >=20 > > > I'll let Scott judge the beauty of your code, but it looks okay to me= ;-) > > > > Yup. Let's apply this :-) >=20 > Cool, my only niggle was the variable/config name... Should it be > days_per_page to fit with the current items_per_page? >=20 Yeah, make sure the comment notes its the absolute limit of the two as well. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-5YSkJowv2BjI2ZYcX+8D Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBARt+2IexP3IStZ2wRAjAQAJ9cn7zcPVcYXLG061ERtrqsxircWQCfXr6K 9S/gNKj5Y95iZTAG6YyhJqE= =CMSI -----END PGP SIGNATURE----- --=-5YSkJowv2BjI2ZYcX+8D-- From jdub@perkypants.org Thu Mar 4 07:57:28 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 8382057AC for ; Thu, 4 Mar 2004 07:57:28 +0000 (GMT) Received: from au-mai-0003.flow.com.au (au-mai-0003.flow.com.au [202.129.90.39]) by amnesiac.heapspace.net (Postfix) with ESMTP id CB31357D4 for ; Thu, 4 Mar 2004 07:57:25 +0000 (GMT) Received: from home.perkypants.org (m070-216.nv.iinet.net.au [203.217.70.216]) by au-mai-0003.flow.com.au (Postfix) with ESMTP id B8B4C538173 for ; Thu, 4 Mar 2004 18:57:23 +1100 (EST) Received: from lazarus.home (lazarus.home [192.168.10.10]) by home.perkypants.org (Postfix) with ESMTP id 4DBD2E8ED4 for ; Thu, 4 Mar 2004 18:57:23 +1100 (EST) Received: by lazarus.home (Postfix, from userid 1000) id 9F46B94367; Thu, 4 Mar 2004 18:57:27 +1100 (EST) Date: Thu, 4 Mar 2004 18:57:27 +1100 From: Jeff Waugh To: devel@lists.planetplanet.org Subject: Re: [Devel] New last_n_days option Message-ID: <20040304075727.GP12356@lazarus> References: <200403040153.i241rKpb025552@server.apt.fergusnet.com> <20040304015645.GH12356@lazarus> <1078385939.29463.10.camel@descent.netsplit.com> <20040304074408.GO12356@lazarus> <1078386615.29463.12.camel@descent.netsplit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1078386615.29463.12.camel@descent.netsplit.com> X-Message-Flag: Cranky? Try Free Software instead! X-Operating-System: Linux 2.6.3-mm1 i686 Reply-By: Sun Mar 7 18:56:37 EST 2004 X-Uptime: 18:56:37 up 5 days, 15:15, 6 users, load average: 0.10, 0.55, 1.61 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 07:57:28 -0000 Status: O Content-Length: 684 Lines: 20 > > Cool, my only niggle was the variable/config name... Should it be > > days_per_page to fit with the current items_per_page? > > Yeah, make sure the comment notes its the absolute limit of the two as > well. I think it makes more sense to have items_per_page as the absolute limit - what do you guys reckon? I'll keep it as is for now. - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "The most beautiful things about the world are deer and bunnies. Even in a carnivorous way I like them, they are my favourite meats. When I see them together I feel that is a safe place." - Vincent Gallo From menesis@delfi.lt Wed Mar 10 21:22:04 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id C749B57E2 for ; Wed, 10 Mar 2004 21:22:04 +0000 (GMT) Received: from tango.dokeda.lt (tango.dokeda.lt [212.59.6.135]) by amnesiac.heapspace.net (Postfix) with ESMTP id 099EA57AC for ; Wed, 10 Mar 2004 21:22:03 +0000 (GMT) Received: from maumas.kalnieciai.lt (unknown [172.16.1.48]) by tango.dokeda.lt (Postfix) with ESMTP id 92FAF7F9EFA for ; Wed, 10 Mar 2004 23:24:45 +0200 (EET) Received: by maumas.kalnieciai.lt (Postfix, from userid 500) id A1304A811; Wed, 10 Mar 2004 23:22:00 +0200 (EET) From: Gediminas Paulauskas To: devel@lists.planetplanet.org Content-Type: multipart/mixed; boundary="=-/qkDUO6VtyqZ30ZD1Ims" Message-Id: <1078953719.20101.11.camel@maumas> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.3 (1.5.3-1) Date: Wed, 10 Mar 2004 23:22:00 +0200 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.0 required=5.0 tests=AWL, BAYES_00, J_CHICKENPOX_27, J_CHICKENPOX_47,J_CHICKENPOX_72 autolearn=no version=2.63 Subject: [Devel] make dc:creator available in templates X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 21:22:05 -0000 Status: O Content-Length: 4182 Lines: 82 --=-/qkDUO6VtyqZ30ZD1Ims Content-Type: text/plain Content-Transfer-Encoding: 7bit For planets where some of the feeds are written by multiple authors, you want to know who has written an item. Best example is Evolution feed in Planet GNOME. I have made so, it was surprisingly simple, a patch attached (planet- creator.diff). Then I suggest to modify examples to propagate dc:creator to aggregated rss feeds (creator-examples.diff), and put something like Posted by at into index.html.tmpl Regards, Gediminas --=-/qkDUO6VtyqZ30ZD1Ims Content-Disposition: attachment; filename=planet-creator.diff Content-Type: text/x-diff; name=planet-creator.diff; charset=CP1257 Content-Transfer-Encoding: base64 ZGlmZiAtdSBwbGFuZXQtZGV2ZWwvcGxhbmV0bGliLnB5IHBsYW5ldC9wbGFuZXRsaWIucHkNCi0t LSBwbGFuZXQtZGV2ZWwvcGxhbmV0bGliLnB5CTIwMDQtMDMtMTAgMjI6NTg6MTEuMTY5NzU2MDI3 ICswMjAwDQorKysgcGxhbmV0L3BsYW5ldGxpYi5weQkyMDA0LTAzLTEwIDIyOjIzOjI2LjkyMDU2 MzI4OCArMDIwMA0KQEAgLTM0Myw2ICszNTAsNyBAQA0KICAgICAgICAgc3VtbWFyeTogU3VtbWFy eSBvZiB0aGUgY29udGVudCBmb3IgdGhlIGZpcnN0IHBhZ2UNCiAgICAgICAgIGNvbnRlbnQ6IENv bnRlbnQgb2YgdGhlIGl0ZW0NCiAgICAgICAgIGxpbms6IExpbmsgYXNzb2NpYXRlZCB3aXRoIHRo ZSBpdGVtLCBnZW5lcmFsbHkgdGhlIEhUTUwgdmVyc2lvbg0KKwljcmVhdG9yOiBQZXJzb24gd2hv IGNyZWF0ZWQgdGhlIGl0ZW0NCiANCiAgICAgICAgIGNoYW5uZWw6IENoYW5uZWwgdGhpcyBOZXdz SXRlbSBiZWxvbmdzIHRvDQogICAgICIiIg0KQEAgLTM2NSw2ICszNzMsOCBAQA0KICAgICAgICAg aWYgc2VsZi5kYXRlIGlzIE5vbmUgb3Igc2VsZi5kYXRlWzM6Nl0gPT0gKDAsIDAsIDApOg0KICAg ICAgICAgICAgIHNlbGYuZGF0ZSA9IHNlbGYuX2NhY2hlZF90aW1lKCkNCiANCisJc2VsZi5jcmVh dG9yID0gZGljdC5nZXQoJ2NyZWF0b3InLCAnJyk7DQorDQogICAgIGRlZiBfY2FjaGVkX3RpbWUo c2VsZik6DQogICAgICAgICAiIiJSZXRyaWV2ZSBvciBzYXZlIGEgY2FjaGVkIHRpbWUgZm9yIHRo aXMgZW50cnkuDQogDQpkaWZmIC11IHBsYW5ldC1kZXZlbC9wbGFuZXQucHkgcGxhbmV0L3BsYW5l dC5weQ0KLS0tIHBsYW5ldC1kZXZlbC9wbGFuZXQucHkJMjAwNC0wMy0xMCAyMjo1ODoxMS4wNDM3 NjYwMzEgKzAyMDANCisrKyBwbGFuZXQvcGxhbmV0LnB5CTIwMDQtMDMtMTAgMjI6Mjc6NTcuMzQ0 OTgwNDYwICswMjAwDQpAQCAtMTM5LDYgKzEzOSw3IEBADQogICAgICAgICBpbmZvWyJzdW1tYXJ5 Il0gPSBuZXdzaXRlbS5zdW1tYXJ5DQogICAgICAgICBpbmZvWyJjb250ZW50Il0gPSBuZXdzaXRl bS5jb250ZW50DQogICAgICAgICBpbmZvWyJsaW5rIl0gPSBuZXdzaXRlbS5saW5rDQorICAgICAg ICBpbmZvWyJjcmVhdG9yIl0gPSBuZXdzaXRlbS5jcmVhdG9yDQogDQogICAgICAgICBjaGFuaW5m byA9IGNoYW5uZWxzW25ld3NpdGVtLmNoYW5uZWxdDQogICAgICAgICBmb3IgaywgdiBpbiBjaGFu aW5mby5pdGVtcygpOg0K --=-/qkDUO6VtyqZ30ZD1Ims Content-Disposition: attachment; filename=creator-examples.diff Content-Type: text/x-diff; name=creator-examples.diff; charset=CP1257 Content-Transfer-Encoding: base64 ZGlmZiAtdSBleGFtcGxlcy9yc3MxMC54bWwudG1wbCBjaGF0c3Viby9yc3MxMC54bWwudG1wbA0K LS0tIGV4YW1wbGVzL3JzczEwLnhtbC50bXBsCTIwMDQtMDItMjMgMTY6NDQ6MDIuMDAwMDAwMDAw ICswMjAwDQorKysgY2hhdHN1Ym8vcnNzMTAueG1sLnRtcGwJMjAwNC0wMy0xMCAyMjo0MzoyOC44 NTg3OTE3NjIgKzAyMDANCkBAIC0yOCw2ICsyOCw5IEBADQogCTxjb250ZW50OmVuY29kZWQ+PFRN UExfVkFSIGNvbnRlbnQgRVNDQVBFPSJIVE1MIj48L2NvbnRlbnQ6ZW5jb2RlZD4NCiAJPC9UTVBM X0lGPg0KIAk8ZGM6ZGF0ZT48VE1QTF9WQVIgZGF0ZV9pc28+PC9kYzpkYXRlPg0KKwk8VE1QTF9J RiBjcmVhdG9yPg0KKwk8ZGM6Y3JlYXRvcj48VE1QTF9WQVIgY3JlYXRvcj48L2RjOmNyZWF0b3I+ DQorCTwvVE1QTF9JRj4NCiA8L2l0ZW0+DQogPC9UTVBMX0xPT1A+DQogDQpPbmx5IGluIGNoYXRz dWJvLzogcnNzMTAueG1sLnRtcGxjDQpkaWZmIC11IGV4YW1wbGVzL3JzczIwLnhtbC50bXBsIGNo YXRzdWJvL3JzczIwLnhtbC50bXBsDQotLS0gZXhhbXBsZXMvcnNzMjAueG1sLnRtcGwJMjAwNC0w Mi0yMyAxNjo0NToxNC4wMDAwMDAwMDAgKzAyMDANCisrKyBjaGF0c3Viby9yc3MyMC54bWwudG1w bAkyMDA0LTAzLTEwIDIyOjU0OjAyLjM4NDUwODU0OCArMDIwMA0KQEAgLTEsNSArMSw3IEBADQog PD94bWwgdmVyc2lvbj0iMS4wIj8+DQotPHJzcyB2ZXJzaW9uPSIyLjAiPg0KKzxyc3MgdmVyc2lv bj0iMi4wIiAgDQorICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8i Pg0KKw0KIDxjaGFubmVsPg0KIAk8dGl0bGU+PFRNUExfVkFSIG5hbWU+PC90aXRsZT4NCiAJPGxp bms+PFRNUExfVkFSIGxpbmsgRVNDQVBFPSJIVE1MIj48L2xpbms+DQpAQCAtMTUsNiArMTcsOSBA QA0KIAk8ZGVzY3JpcHRpb24+PFRNUExfVkFSIGNvbnRlbnQgRVNDQVBFPSJIVE1MIj48L2Rlc2Ny aXB0aW9uPg0KIAk8L1RNUExfSUY+DQogCTxwdWJEYXRlPjxUTVBMX1ZBUiBkYXRlXzgyMj48L3B1 YkRhdGU+DQorCTxUTVBMX0lGIGNyZWF0b3I+DQorCTxkYzpjcmVhdG9yPjxUTVBMX1ZBUiBjcmVh dG9yPjwvZGM6Y3JlYXRvcj4NCisJPC9UTVBMX0lGPg0KIDwvaXRlbT4NCiA8L1RNUExfTE9PUD4N CiANCg== --=-/qkDUO6VtyqZ30ZD1Ims-- From jdub@perkypants.org Thu Mar 11 00:37:05 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 2BC9B57D1 for ; Thu, 11 Mar 2004 00:37:05 +0000 (GMT) Received: from au-mai-0003.flow.com.au (au-mai-0003.flow.com.au [202.129.90.39]) by amnesiac.heapspace.net (Postfix) with ESMTP id 96C7157C2 for ; Thu, 11 Mar 2004 00:37:03 +0000 (GMT) Received: from home.perkypants.org (m070-216.nv.iinet.net.au [203.217.70.216]) by au-mai-0003.flow.com.au (Postfix) with ESMTP id B8F85538054; Thu, 11 Mar 2004 11:36:58 +1100 (EST) Received: from lazarus.home (lazarus.home [192.168.10.10]) by home.perkypants.org (Postfix) with ESMTP id 73B6DE8C7D; Thu, 11 Mar 2004 11:36:58 +1100 (EST) Received: by lazarus.home (Postfix, from userid 1000) id 4506D94409; Thu, 11 Mar 2004 11:36:58 +1100 (EST) Date: Thu, 11 Mar 2004 11:36:58 +1100 From: Jeff Waugh To: Gediminas Paulauskas Subject: Re: [Devel] make dc:creator available in templates Message-ID: <20040311003658.GG23836@lazarus> Mail-Followup-To: Gediminas Paulauskas , devel@lists.planetplanet.org References: <1078953719.20101.11.camel@maumas> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1078953719.20101.11.camel@maumas> X-Message-Flag: Cranky? Try Free Software instead! X-Operating-System: Linux 2.6.3-mm1 i686 Reply-By: Sun Mar 14 11:35:36 EST 2004 X-Uptime: 11:35:36 up 12 days, 7:54, 5 users, load average: 0.04, 0.14, 0.08 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL, BAYES_00, J_CHICKENPOX_27 autolearn=no version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 00:37:05 -0000 Status: O Content-Length: 544 Lines: 17 > For planets where some of the feeds are written by multiple authors, you > want to know who has written an item. Best example is Evolution feed in > Planet GNOME. Wow, thanks Gediminias! That's something various GNOMErs have been asking about for ages - I'll put it in straight away. :-) - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "There, I did it... I defiled a timeless piece of ART!" - Jim Carrey, covering I Am The Walrus From mparaz@techscene.com Sat Mar 13 04:41:45 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 40D1B57E2 for ; Sat, 13 Mar 2004 04:41:45 +0000 (GMT) Received: from techscene.com (unknown [66.199.224.23]) by amnesiac.heapspace.net (Postfix) with ESMTP id D219C57D4 for ; Sat, 13 Mar 2004 04:41:42 +0000 (GMT) Received: from techscene.com (unknown [127.0.0.1]) by techscene.com (Postfix) with ESMTP id A5696700B4 for ; Sat, 13 Mar 2004 04:41:41 +0000 (UTC) Received: (from mparaz@localhost) by techscene.com (8.12.8/8.12.8/Submit) id i2D4ffFk024385 for devel@lists.planetplanet.org; Sat, 13 Mar 2004 04:41:41 GMT Date: Sat, 13 Mar 2004 04:41:40 +0000 From: Miguel A Paraz To: devel@lists.planetplanet.org Message-ID: <20040313044140.GC23826@techscene.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL, BAYES_00, J_CHICKENPOX_82 autolearn=no version=2.63 Subject: [Devel] patch for days_per_page support X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2004 04:41:45 -0000 Status: O Content-Length: 2167 Lines: 64 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I cooked this up to support a short page for one day only. I'll copy the older pages to archive files. --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="planet-devel.patch" --- planet-devel/planet.py 2004-02-08 23:23:57.000000000 +0000 +++ planet-devel.new/planet.py 2004-03-13 04:34:11.000000000 +0000 @@ -38,6 +38,7 @@ 'examples/planet.rss20.tmpl')) OUTPUT_DIR = 'output' ITEMS_PER_PAGE = 60 +DAYS_PER_PAGE = 7 DATE_FORMAT = '%B %d, %Y %I:%M %p' LOG_LEVEL = 'WARNING' @@ -81,6 +82,8 @@ raw=1) items_per_page = int(config_get(config, 'Planet', 'items_per_page', ITEMS_PER_PAGE)) + days_per_page = int(config_get(config, 'Planet', 'days_per_page', + DAYS_PER_PAGE)) if config.has_option('Planet', 'cache_directory'): planetlib.cache_directory = config.get('Planet', 'cache_directory') log_level = config_get(config, 'Planet', 'log_level', LOG_LEVEL) @@ -125,11 +128,18 @@ channels[channel] = info # Prepare the template information for the items + + earliest_time = time.time() - days_per_page * 86400; + items = [] prev_date = None for newsitem in planet.items()[:items_per_page]: - format_date = newsitem.channel.format_date + seconds = newsitem.channel.utctime(newsitem.date) + if (seconds < earliest_time): + break + + format_date = newsitem.channel.format_date info = {} info["id"] = newsitem.id info["date"] = format_date(newsitem.date, date_format) @@ -144,7 +154,7 @@ for k, v in chaninfo.items(): info["channel_" + k] = v - date = time.gmtime(newsitem.channel.utctime(newsitem.date)) + date = time.gmtime(seconds) if prev_date != date[:3]: info["new_date"] = time.strftime("%B %d, %Y", date) prev_date = date[:3] --UugvWAfsgieZRqgk-- From jdub@perkypants.org Sat Mar 13 05:14:01 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 6DF2E57D4 for ; Sat, 13 Mar 2004 05:14:01 +0000 (GMT) Received: from au-mai-0003.flow.com.au (au-mai-0003.flow.com.au [202.129.90.39]) by amnesiac.heapspace.net (Postfix) with ESMTP id 073EF57AC for ; Sat, 13 Mar 2004 05:13:59 +0000 (GMT) Received: from home.perkypants.org (m070-216.nv.iinet.net.au [203.217.70.216]) by au-mai-0003.flow.com.au (Postfix) with ESMTP id D3BCC538170; Sat, 13 Mar 2004 16:13:54 +1100 (EST) Received: from lazarus.home (lazarus.home [192.168.10.10]) by home.perkypants.org (Postfix) with ESMTP id A8F8BE8C7E; Sat, 13 Mar 2004 16:13:54 +1100 (EST) Received: by lazarus.home (Postfix, from userid 1000) id A24C094414; Sat, 13 Mar 2004 16:13:54 +1100 (EST) Date: Sat, 13 Mar 2004 16:13:54 +1100 From: Jeff Waugh To: Miguel A Paraz Subject: Re: [Devel] patch for days_per_page support Message-ID: <20040313051354.GH2119@lazarus> Mail-Followup-To: Miguel A Paraz , devel@lists.planetplanet.org References: <20040313044140.GC23826@techscene.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040313044140.GC23826@techscene.com> Reply-By: Tue Mar 16 16:13:08 EST 2004 X-Operating-System: Linux 2.6.3-mm1 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 16:13:08 up 22:36, 3 users, load average: 0.19, 0.08, 0.02 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2004 05:14:01 -0000 Status: O Content-Length: 565 Lines: 21 > I cooked this up to support a short page for one day only. > I'll copy the older pages to archive files. Hi Miguel, Another patch was sent in for this the other week, and it has been integrated into my arch repo. Perhaps you could compare the two and let us know if there are any good differences? Thanks, - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "That whole 'you complete me' thing is just tragic and totally unrealistic. Go complete yourself." - Anon From mparaz@techscene.com Sat Mar 13 05:58:44 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 2A87D57D4 for ; Sat, 13 Mar 2004 05:58:44 +0000 (GMT) Received: from techscene.com (unknown [66.199.224.23]) by amnesiac.heapspace.net (Postfix) with ESMTP id E87F857AC for ; Sat, 13 Mar 2004 05:58:41 +0000 (GMT) Received: from techscene.com (unknown [127.0.0.1]) by techscene.com (Postfix) with ESMTP id 278A4700B4 for ; Sat, 13 Mar 2004 05:58:41 +0000 (UTC) Received: (from mparaz@localhost) by techscene.com (8.12.8/8.12.8/Submit) id i2D5weJx000399 for devel@lists.planetplanet.org; Sat, 13 Mar 2004 05:58:40 GMT Date: Sat, 13 Mar 2004 05:58:39 +0000 From: Miguel A Paraz To: devel@lists.planetplanet.org Subject: Re: [Devel] patch for days_per_page support Message-ID: <20040313055839.GA390@techscene.com> References: <20040313044140.GC23826@techscene.com> <20040313051354.GH2119@lazarus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040313051354.GH2119@lazarus> User-Agent: Mutt/1.4.1i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2004 05:58:44 -0000 Status: O Content-Length: 993 Lines: 28 On Sat, Mar 13, 2004 at 04:13:54PM +1100, Jeff Waugh wrote: > Another patch was sent in for this the other week, and it has been > integrated into my arch repo. Perhaps you could compare the two and let us > know if there are any good differences? Oh sorry for not checking the arch. Got it. The patch is better since it checks for days only when the dates roll over. Mine was checking each item. I think the contributor has an off-by-one bug, which shows less than one day desired. --- planet.py.old 2004-03-13 05:56:02.000000000 +0000 +++ planet.py 2004-03-13 05:53:30.000000000 +0000 @@ -159,7 +159,7 @@ if prev_date != date[:3]: if days_per_page != 0: days_passed = time.gmtime(date_today_raw - date_raw).tm_yday - if days_passed >= days_per_page: + if days_passed > days_per_page: break info["new_date"] = time.strftime("%B %d, %Y", date) From mparaz@techscene.com Sat Mar 13 06:30:10 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 99FDA57E1 for ; Sat, 13 Mar 2004 06:30:10 +0000 (GMT) Received: from techscene.com (unknown [66.199.224.23]) by amnesiac.heapspace.net (Postfix) with ESMTP id E632D57C2 for ; Sat, 13 Mar 2004 06:30:07 +0000 (GMT) Received: from techscene.com (unknown [127.0.0.1]) by techscene.com (Postfix) with ESMTP id 5C504700B4 for ; Sat, 13 Mar 2004 06:30:04 +0000 (UTC) Received: (from mparaz@localhost) by techscene.com (8.12.8/8.12.8/Submit) id i2D6U3Au000514 for devel@lists.planetplanet.org; Sat, 13 Mar 2004 06:30:03 GMT Date: Sat, 13 Mar 2004 06:30:02 +0000 From: Miguel A Paraz To: devel@lists.planetplanet.org Subject: Re: [Devel] patch for days_per_page support Message-ID: <20040313063002.GB390@techscene.com> References: <20040313044140.GC23826@techscene.com> <20040313051354.GH2119@lazarus> <20040313055839.GA390@techscene.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040313055839.GA390@techscene.com> User-Agent: Mutt/1.4.1i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2004 06:30:10 -0000 Status: O Content-Length: 961 Lines: 23 On Sat, Mar 13, 2004 at 05:58:39AM +0000, Miguel A Paraz wrote: > I think the contributor has an off-by-one bug, which shows less than one > day desired. Oh it's something else. I don't know what the author intended, but using gmtime() on the difference of two Unix times does not give you the difference in dates. I replaced it with division to yield posts from since N day ago (if N = 1, then the same time yesterday). Actual date computation would be more involved than that... --- planet.py.orig 2004-03-13 06:22:49.000000000 +0000 +++ planet.py 2004-03-13 06:21:12.000000000 +0000 @@ -158,7 +158,8 @@ if prev_date != date[:3]: if days_per_page != 0: - days_passed = time.gmtime(date_today_raw - date_raw).tm_yday + days_passed = (date_today_raw / 86400) - (date_raw / 86400) if days_passed >= days_per_page: break From blog@fergusnet.com Sat Mar 13 15:00:43 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 39B9F57D4 for ; Sat, 13 Mar 2004 15:00:43 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by amnesiac.heapspace.net (Postfix) with ESMTP id 88E0457AC for ; Sat, 13 Mar 2004 15:00:40 +0000 (GMT) Received: from server.apt.fergusnet.com (pcp02553147pcs.manass01.va.comcast.net[68.48.188.86]) by comcast.net (sccrmhc12) with ESMTP id <20040313150039012006f0vge>; Sat, 13 Mar 2004 15:00:39 +0000 Received: from server.apt.fergusnet.com (localhost [127.0.0.1]) by server.apt.fergusnet.com (8.12.10/8.12.9) with ESMTP id i2DF0clb017663; Sat, 13 Mar 2004 10:00:38 -0500 Received: (from apache@localhost) by server.apt.fergusnet.com (8.12.10/8.12.10/Submit) id i2DF0cVE017662; Sat, 13 Mar 2004 10:00:38 -0500 Date: Sat, 13 Mar 2004 10:00:38 -0500 Message-Id: <200403131500.i2DF0cVE017662@server.apt.fergusnet.com> X-Authentication-Warning: server.apt.fergusnet.com: apache set sender to blog@fergusnet.com using -f To: mparaz@mparaz.com, devel@lists.planetplanet.org Subject: Re: [Devel] patch for days_per_page support Received: from 192.168.0.3 (auth. user fergus@mail.fergusnet.com) by fergusnet.com with HTTP; Sat, 13 Mar 2004 10:00:37 -0500 X-IlohaMail-Blah: fergus@mail.fergusnet.com X-IlohaMail-Method: mail() [mem] X-IlohaMail-Dummy: moo X-Mailer: IlohaMail/0.8.12 (On: fergusnet.com) In-Reply-To: <20040313063002.GB390@techscene.com> From: "Richard Ferguson" Bounce-To: "Richard Ferguson" Errors-To: "Richard Ferguson" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00, MSGID_FROM_MTA_HEADER autolearn=no version=2.63 Cc: X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: Richard Ferguson List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2004 15:00:43 -0000 Status: O Content-Length: 2048 Lines: 60 Miguel, I was thie original author of the days_per_page patch.. let me try to explain my logic =3D). time.gmtime(0) is the epoch, or 1/1/1970, and I used this value as my reference. I would then take the current raw date - the first raw date, this would give you a date in reference to the epoch. Since the first day of the epoch is 1, you can use this to calculate the days passed. And since it starts with 1, I used >=3D and not >. I didn't know how the raw date information was actually stored, if it is a simple as you make it, i.e. divide by the number seconds in a day then that is alot easier =3D). I say use your method... but in your case there would be an off by one error so we would have to change the comparison to >. ex. days_passed =3D (date_today_raw/86400) - (date_raw/86400) if days_passed > last_n_days: break -- richard ferguson On 3/13/2004, "Miguel A Paraz" wrote: >On Sat, Mar 13, 2004 at 05:58:39AM +0000, Miguel A Paraz wrote: >> I think the contributor has an off-by-one bug, which shows less than one >> day desired. > >Oh it's something else. I don't know what the author intended, but using >gmtime() on the difference of two Unix times does not give you the differenc= e >in dates. I replaced it with division to yield posts from since N day ago >(if N =3D 1, then the same time yesterday). Actual date computation would be >more involved than that... > > >--- planet.py.orig=092004-03-13 06:22:49.000000000 +0000 >+++ planet.py=092004-03-13 06:21:12.000000000 +0000 >@@ -158,7 +158,8 @@ > > if prev_date !=3D date[:3]: > if days_per_page !=3D 0: >- days_passed =3D time.gmtime(date_today_raw - date_raw).tm_y= day >+ days_passed =3D (date_today_raw / 86400) - (date_raw / 8640= 0) > if days_passed >=3D days_per_page: > break > > >_______________________________________________ >Devel mailing list >Devel@lists.planetplanet.org >http://lists.planetplanet.org/mailman/listinfo/devel > From mparaz@techscene.com Mon Mar 15 05:01:19 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 5D27A57C2 for ; Mon, 15 Mar 2004 05:01:19 +0000 (GMT) Received: from techscene.com (unknown [66.199.224.23]) by amnesiac.heapspace.net (Postfix) with ESMTP id 01EAA57D0 for ; Mon, 15 Mar 2004 05:01:17 +0000 (GMT) Received: from techscene.com (unknown [127.0.0.1]) by techscene.com (Postfix) with ESMTP id 28E86700B6 for ; Mon, 15 Mar 2004 05:01:16 +0000 (UTC) Received: (from mparaz@localhost) by techscene.com (8.12.8/8.12.8/Submit) id i2F515Rg006834 for devel@lists.planetplanet.org; Mon, 15 Mar 2004 05:01:05 GMT Date: Mon, 15 Mar 2004 05:01:05 +0000 From: Miguel A Paraz To: devel@lists.planetplanet.org Subject: Re: [Devel] patch for days_per_page support Message-ID: <20040315050105.GE5901@techscene.com> References: <20040313063002.GB390@techscene.com> <200403131500.i2DF0cVE017662@server.apt.fergusnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200403131500.i2DF0cVE017662@server.apt.fergusnet.com> User-Agent: Mutt/1.4.1i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 05:01:19 -0000 Status: O Content-Length: 574 Lines: 15 On Sat, Mar 13, 2004 at 10:00:38AM -0500, Richard Ferguson wrote: > > Miguel, > I was thie original author of the days_per_page patch.. let me try to > explain my logic =). time.gmtime(0) is the epoch, or 1/1/1970, and I > used this value as my reference. I would then take the current raw date > - the first raw date, this would give you a date in reference to the > epoch. Got it... I have never seen gmtime to "raw" (seconds since the epoch) time conversions used for getting day deltas, so I got lost. So Jeff, please ignore my patch in favor of Richard's. From cwryu@debian.org Sun Mar 21 07:43:00 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 078D557D0 for ; Sun, 21 Mar 2004 07:43:00 +0000 (GMT) Received: from zeus.codehall.org (unknown [61.74.112.201]) by amnesiac.heapspace.net (Postfix) with ESMTP id BBA3757D1 for ; Sun, 21 Mar 2004 07:42:55 +0000 (GMT) Received: from localhost ([127.0.0.1] ident=cwryu) by zeus.codehall.org with esmtp (Exim 3.36 #1 (Debian)) id 1B4xbg-0006uL-00 for ; Sun, 21 Mar 2004 16:42:52 +0900 From: Changwoo Ryu To: devel@lists.planetplanet.org Content-Type: text/plain Message-Id: <1079854971.15836.4.camel@zeus.codehall.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 21 Mar 2004 16:42:51 +0900 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Subject: [Devel] this list's archive link is broken X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2004 07:43:00 -0000 Status: O Content-Length: 174 Lines: 7 The archive link on the listinfo page seems broken. The "Devel Archives" link on http://lists.planetplanet.org/mailman/listinfo/devel -- Changwoo Ryu From james@usr-local-bin.org Mon Mar 22 08:54:52 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 187AE57D0 for ; Mon, 22 Mar 2004 08:54:52 +0000 (GMT) Received: from msw1.pinnacle.net (msw1.pinnacle.net [193.128.117.21]) by amnesiac.heapspace.net (Postfix) with ESMTP id 227EF57E3 for ; Mon, 22 Mar 2004 08:54:50 +0000 (GMT) Received: from exchange.pinnacle.co.uk (unverified) by msw1.pinnacle.net (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Mon, 22 Mar 2004 08:49:33 +0000 Received: by exchange.pinnacle.co.uk with Internet Mail Service (5.5.2653.19) id ; Mon, 22 Mar 2004 08:50:16 -0000 Received: from jogley.pinnacle.co.uk ([172.21.192.10]) by exchange2.pinnacle.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id HD9QZ2XL; Mon, 22 Mar 2004 08:49:32 -0000 From: James Ogley To: devel@lists.planetplanet.org X-Mailer: Ximian Evolution 1.4.6 Rubber Turnip www.usr-local-bin.org Content-Type: text/plain Organization: usr local bin Message-Id: <1079945334.31852.8.camel@jogley.pinnacle.co.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Rubber Turnip www.usr-local-bin.org Date: Mon, 22 Mar 2004 08:48:54 +0000 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Subject: [Devel] Planet SuSE new location X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 08:54:52 -0000 Status: O Content-Length: 444 Lines: 11 For anyone with Planet SuSE in your Planetaruim (and if you haven't, why not? ;) ) We've moved to www.planetsuse.org - I've put a redirect page at the old location, but it won't remain for ever... -- James Ogley, Webmaster, Rubber Turnip james@rubberturnip.org.uk http://www.rubberturnip.org.uk Jabber: riggwelter@myjabber.net Using Free Software since 1994, running GNU/Linux (SuSE 9.0) GNOME updates for SuSE: http://www.usr-local-bin.org From steve@fooworks.com Mon Mar 22 12:25:33 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 37AE157AC for ; Mon, 22 Mar 2004 12:25:33 +0000 (GMT) Received: from fep01-mail.bloor.is.net.cable.rogers.com (fep01-mail.bloor.is.net.cable.rogers.com [66.185.86.71]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6062257D1 for ; Mon, 22 Mar 2004 12:25:30 +0000 (GMT) Received: from fooworks.com ([24.233.126.193]) by fep01-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040322122454.JCEF138614.fep01-mail.bloor.is.net.cable.rogers.com@fooworks.com>; Mon, 22 Mar 2004 07:24:54 -0500 Message-ID: <405F137A.10302@fooworks.com> Date: Mon, 22 Mar 2004 12:25:30 -0400 From: Steve Mallett User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.6b) Gecko/20031105 X-Accept-Language: en-us, en MIME-Version: 1.0 To: James Ogley Subject: Re: [Devel] Planet SuSE new location References: <1079945334.31852.8.camel@jogley.pinnacle.co.uk> In-Reply-To: <1079945334.31852.8.camel@jogley.pinnacle.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH PLAIN at fep01-mail.bloor.is.net.cable.rogers.com from [24.233.126.193] using ID at Mon, 22 Mar 2004 07:24:53 -0500 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.0 required=5.0 tests=BAYES_00, DATE_IN_FUTURE_03_06 autolearn=no version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 12:25:33 -0000 Status: O Content-Length: 400 Lines: 14 James Ogley wrote: > For anyone with Planet SuSE in your Planetaruim (and if you haven't, why > not? ;) ) > > We've moved to www.planetsuse.org - I've put a redirect page at the old > location, but it won't remain for ever... While you're at it I put up Planet Java and FOSS Planet late last week. (http://planetjava.org - http://fossplanet.osdir.com) -- Steve Mallett http://steve.osdir.com From jdub@perkypants.org Mon Mar 22 12:41:39 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id EB49457E7 for ; Mon, 22 Mar 2004 12:41:38 +0000 (GMT) Received: from mail.iinet.net.au (mail-06.iinet.net.au [203.59.3.38]) by amnesiac.heapspace.net (Postfix) with SMTP id B40E157AC for ; Mon, 22 Mar 2004 12:41:33 +0000 (GMT) Received: (qmail 30215 invoked from network); 22 Mar 2004 12:41:29 -0000 Received: from unknown (HELO home.perkypants.org) (203.217.70.216) by mail.iinet.net.au with SMTP; 22 Mar 2004 12:41:29 -0000 Received: from lazarus.home (lazarus.home [192.168.10.10]) by home.perkypants.org (Postfix) with ESMTP id B6063E8CBF; Mon, 22 Mar 2004 23:41:28 +1100 (EST) Received: by lazarus.home (Postfix, from userid 1000) id 71FC894458; Mon, 22 Mar 2004 23:41:28 +1100 (EST) Date: Mon, 22 Mar 2004 23:41:28 +1100 From: Jeff Waugh To: Steve Mallett Subject: Re: [Devel] Planet SuSE new location Message-ID: <20040322124128.GF1898@lazarus> Mail-Followup-To: Steve Mallett , James Ogley , devel@lists.planetplanet.org References: <1079945334.31852.8.camel@jogley.pinnacle.co.uk> <405F137A.10302@fooworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <405F137A.10302@fooworks.com> Reply-By: Thu Mar 25 23:39:50 EST 2004 X-Operating-System: Linux 2.6.4-20040315 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 23:39:50 up 2 days, 4:55, 8 users, load average: 0.02, 0.07, 0.06 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 12:41:39 -0000 Status: O Content-Length: 591 Lines: 17 > While you're at it I put up Planet Java and FOSS Planet late last week. > (http://planetjava.org - http://fossplanet.osdir.com) Whoa, zany. :-) Is Planet Java FOSS-only? (Right now, I'm limiting the Planetarium to Free Software related aggregates.) You might want to check out Planet Classpath, which went up last week or so too. - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "When you're running, you want to run as far as you can, and you can't run further than Australia." - Jacek Koman From thom@planetarytramp.net Tue Mar 23 13:14:41 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 1D41F57DF for ; Tue, 23 Mar 2004 13:14:41 +0000 (GMT) Received: from mirror.positive-internet.com (mirror.positive-internet.com [80.87.128.67]) by amnesiac.heapspace.net (Postfix) with ESMTP id AB9EF57CF for ; Tue, 23 Mar 2004 13:14:33 +0000 (GMT) Received: by mirror.positive-internet.com (Postfix, from userid 1002) id 696C343038; Tue, 23 Mar 2004 13:14:33 +0000 (GMT) Date: Tue, 23 Mar 2004 13:14:33 +0000 From: Thom May To: Changwoo Ryu Subject: Re: [Devel] this list's archive link is broken Message-ID: <20040323131433.GW5793@mirror.positive-internet.com> References: <1079854971.15836.4.camel@zeus.codehall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1079854971.15836.4.camel@zeus.codehall.org> X-Operating-System: Linux/2.6.2-1-686 (i686) User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2004 13:14:41 -0000 Status: O Content-Length: 214 Lines: 7 * Changwoo Ryu (cwryu@debian.org) wrote : > The archive link on the listinfo page seems broken. The "Devel > Archives" link on http://lists.planetplanet.org/mailman/listinfo/devel > Should be working now. -Thom From simos74@gmx.net Mon Mar 29 04:52:21 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id E03A757D1 for ; Mon, 29 Mar 2004 03:52:20 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id BBFF857CA for ; Mon, 29 Mar 2004 04:52:18 +0100 (BST) Received: (qmail 10749 invoked by uid 65534); 29 Mar 2004 03:52:17 -0000 Received: from unknown (EHLO [192.168.0.124]) (219.94.58.36) by mail.gmx.net (mp014) with SMTP; 29 Mar 2004 05:52:17 +0200 X-Authenticated: #10070094 From: Simos Xenitellis To: devel@lists.planetplanet.org Content-Type: text/plain Message-Id: <1080532342.4543.8.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 29 Mar 2004 11:52:22 +0800 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.9 required=5.0 tests=BAYES_00,FROM_ENDS_IN_NUMS autolearn=no version=2.63 Subject: [Devel] What's pyblagg and where to get it from? X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 03:52:21 -0000 Status: O Content-Length: 751 Lines: 23 I found that pyblagg was a package that was renamed to spycyroll (http://sourceforge.net/projects/spycyroll) and it does not have any releases yet so one has to download the package from http://spycyroll.sourceforge.net or CVS (sourceforge). It does not appear to be touched often (http://sourceforge.net/mailarchive/forum.php?thread_id=3063936&forum_id=26900). The install file of planetplanet mentions it once; Run it: python pyblagg.py pathto/config.ini My understanding is that the following should be added to INSTALL: You are required to install pyblagg.py in order to get planetplanet working. pyblagg.py is available from the package spycyroll, at http://spycyroll.sourceforge.net (grab tarball or get from CVS). Correct? simos From mary@home.puzzling.org Mon Mar 29 04:57:54 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 6785457DF for ; Mon, 29 Mar 2004 03:57:54 +0000 (GMT) Received: from home.puzzling.org (home.puzzling.org [203.206.130.190]) by amnesiac.heapspace.net (Postfix) with ESMTP id 028E757CA for ; Mon, 29 Mar 2004 04:57:52 +0100 (BST) Received: from localhost (flay [127.0.0.1]) by home.puzzling.org (Postfix) with ESMTP id 7A7AC78825B; Mon, 29 Mar 2004 13:57:49 +1000 (EST) Received: from home.puzzling.org ([127.0.0.1]) by localhost (flay [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18644-10; Mon, 29 Mar 2004 13:57:49 +1000 (EST) Received: by home.puzzling.org (Postfix, from userid 1000) id 67BE6788078; Mon, 29 Mar 2004 13:57:49 +1000 (EST) Date: Mon, 29 Mar 2004 13:57:49 +1000 From: Mary Gardiner To: Simos Xenitellis Subject: Re: [Devel] What's pyblagg and where to get it from? Message-ID: <20040329035749.GA17658@home.puzzling.org> References: <1080532342.4543.8.camel@kl.asia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1080532342.4543.8.camel@kl.asia.com> X-GPG-Key: 1024D/77625870 X-GPG-Fingerprint: B141 CD1A 4603 1CD7 6D64 EFBF D256 C568 7762 5870 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at home.puzzling.org X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 03:57:54 -0000 Status: O Content-Length: 773 Lines: 21 On Mon, Mar 29, 2004, Simos Xenitellis wrote: > The install file of planetplanet mentions it once; > Run it: python pyblagg.py pathto/config.ini > > My understanding is that the following should be added to INSTALL: > > You are required to install pyblagg.py in order to get planetplanet > working. pyblagg.py is available from the package spycyroll, at > http://spycyroll.sourceforge.net (grab tarball or get from CVS). No, the line from the INSTALL file should be changed: Run it: python planet.py pathto/config.ini I don't know the relationship between pyblagg and planet as far as codebases go (planet is, at the very least, a big rewrite) but in some sense, planet began as a fork of pyblagg/spycyroll. Looks like the INSTALL document has survived. -Mary From simos74@gmx.net Mon Mar 29 11:37:27 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 1987557D0 for ; Mon, 29 Mar 2004 10:37:27 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id EDA8E57AC for ; Mon, 29 Mar 2004 11:37:22 +0100 (BST) Received: (qmail 28735 invoked by uid 65534); 29 Mar 2004 10:37:21 -0000 Received: from unknown (EHLO [192.168.0.124]) (219.94.56.114) by mail.gmx.net (mp018) with SMTP; 29 Mar 2004 12:37:21 +0200 X-Authenticated: #10070094 Subject: Re: [Devel] What's pyblagg and where to get it from? From: Simos Xenitellis To: Mary Gardiner In-Reply-To: <20040329035749.GA17658@home.puzzling.org> References: <1080532342.4543.8.camel@kl.asia.com> <20040329035749.GA17658@home.puzzling.org> Content-Type: text/plain Message-Id: <1080554823.4858.1.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 29 Mar 2004 18:37:26 +0800 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00, FROM_ENDS_IN_NUMS autolearn=no version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 10:37:27 -0000 Status: O Content-Length: 986 Lines: 27 On Mon, 2004-03-29 at 11:57, Mary Gardiner wrote: > On Mon, Mar 29, 2004, Simos Xenitellis wrote: > > The install file of planetplanet mentions it once; > > Run it: python pyblagg.py pathto/config.ini > > > > My understanding is that the following should be added to INSTALL: > > > > You are required to install pyblagg.py in order to get planetplanet > > working. pyblagg.py is available from the package spycyroll, at > > http://spycyroll.sourceforge.net (grab tarball or get from CVS). > > No, the line from the INSTALL file should be changed: > > Run it: python planet.py pathto/config.ini > > I don't know the relationship between pyblagg and planet as far as > codebases go (planet is, at the very least, a big rewrite) but in some > sense, planet began as a fork of pyblagg/spycyroll. Looks like the > INSTALL document has survived. Many thanks, it worked. Indeed the INSTALL file should be updated in case people stop reading installation documentation ;-) Simos From scott@netsplit.com Mon Mar 29 17:18:02 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 4D41757D1 for ; Mon, 29 Mar 2004 16:18:02 +0000 (GMT) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 212AA57CA for ; Mon, 29 Mar 2004 17:17:57 +0100 (BST) Received: (qmail 13941 invoked from network); 29 Mar 2004 16:17:56 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 29 Mar 2004 16:17:56 -0000 Subject: Re: [Devel] What's pyblagg and where to get it from? From: Scott James Remnant To: Mary Gardiner In-Reply-To: <20040329035749.GA17658@home.puzzling.org> References: <1080532342.4543.8.camel@kl.asia.com> <20040329035749.GA17658@home.puzzling.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-iewHSsccQiFzTntcVeTL" Message-Id: <1080577076.11427.5.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 29 Mar 2004 17:17:56 +0100 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 16:18:02 -0000 Status: O Content-Length: 972 Lines: 36 --=-iewHSsccQiFzTntcVeTL Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-03-29 at 04:57, Mary Gardiner wrote: > I don't know the relationship between pyblagg and planet as far as > codebases go (planet is, at the very least, a big rewrite) but in some > sense, planet began as a fork of pyblagg/spycyroll. Looks like the > INSTALL document has survived. >=20 We originally ran pyblagg, then I went and wrote planet from scratch but still largely based on it. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-iewHSsccQiFzTntcVeTL Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAaEw0IexP3IStZ2wRArnNAJ91ZxKxuqFLcM3pOBG7N2lzgppyCQCfZpHl RO91qZlOSf5poBC5YdX3ez0= =Cl97 -----END PGP SIGNATURE----- --=-iewHSsccQiFzTntcVeTL-- From simos74@gmx.net Thu Apr 8 09:38:16 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 2743C57E3 for ; Thu, 8 Apr 2004 09:38:16 +0100 (BST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id EDFFC57CF for ; Thu, 8 Apr 2004 09:38:12 +0100 (BST) Received: (qmail 31177 invoked by uid 65534); 8 Apr 2004 08:38:11 -0000 Received: from unknown (EHLO [192.168.0.6]) (219.95.134.204) by mail.gmx.net (mp010) with SMTP; 08 Apr 2004 10:38:11 +0200 X-Authenticated: #10070094 From: Simos Xenitellis To: Planet Planet Dev List Content-Type: text/plain Message-Id: <1081413488.4827.54.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Thu, 08 Apr 2004 16:38:11 +0800 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00, FROM_ENDS_IN_NUMS autolearn=no version=2.63 Subject: [Devel] Doh! where is the planet source? X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 08:38:16 -0000 Status: O Content-Length: 266 Lines: 12 Hi All, Using the planet source from www.planetplanet.org (.tar.bz2 archive or Arch repository) gives me output similar to http://xnum.sourceforge.net/PlanetNotNice/ However, most Planets I have seen look much better. Am I using the correct code or what? simos From jdub@slug.org.au Thu Apr 8 09:46:26 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id B165857E8 for ; Thu, 8 Apr 2004 09:46:26 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 16DF157CF for ; Thu, 8 Apr 2004 09:46:23 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id 7274D10DF0B; Thu, 8 Apr 2004 18:46:14 +1000 (EST) Date: Thu, 8 Apr 2004 09:44:02 +0100 From: Jeff Waugh To: Planet Planet Dev List Subject: Re: [Devel] Doh! where is the planet source? Message-ID: <20040408084402.GS30971@perkypants.org> Mail-Followup-To: Planet Planet Dev List References: <1081413488.4827.54.camel@kl.asia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1081413488.4827.54.camel@kl.asia.com> Reply-By: Sun Apr 11 09:43:28 BST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 09:43:28 up 1 day, 21:12, 7 users, load average: 0.05, 0.05, 0.12 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 08:46:26 -0000 Status: O Content-Length: 652 Lines: 20 > Using the planet source from www.planetplanet.org (.tar.bz2 archive or > Arch repository) gives me output similar to > http://xnum.sourceforge.net/PlanetNotNice/ > > However, most Planets I have seen look much better. Am I using the correct > code or what? My arch repository is the latest code. What are the problems you're seeing? (I can't tell what's wrong with your NotNice output.) - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "Stupidity is used to run 98% of the world's corporations, which tops UNIX server usage by quite a bit." - George Lebl From tetsuya@apache.org Thu Apr 8 09:49:24 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 488B157E3 for ; Thu, 8 Apr 2004 09:49:24 +0100 (BST) Received: from smtp.dream.com (smtp.dream.com [220.111.47.192]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6F7C157CF for ; Thu, 8 Apr 2004 09:49:21 +0100 (BST) Received: from [221.113.210.222] (p7222-air01hon128k.tokyo.ocn.ne.jp [221.113.210.222]) by smtp.dream.com (Postfix) with ESMTP id 891557D8 for ; Thu, 8 Apr 2004 17:49:15 +0900 (JST) Date: Thu, 08 Apr 2004 17:49:23 +0900 From: Tetsuya Kitahata To: Planet Planet Dev List Message-Id: <20040408174906.1591.TETSUYA@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.07.04 [ja] X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Subject: [Devel] Validation Error? X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 08:49:24 -0000 Status: O Content-Length: 255 Lines: 15 Hi, http://www.planetapache.org/rss20.xml There seems Validation Error (on my browser and http://www.feedvalidator.org/check?url=http://www.planetapache.org/rss20.xml) How can this be fixed? Thanks, - Tetsuya Kitahata - E-mail: tetsuya@apache.org From james@usr-local-bin.org Thu Apr 8 09:54:24 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 6ACD057CF for ; Thu, 8 Apr 2004 09:54:24 +0100 (BST) Received: from psmtp.com (exprod7ob2.obsmtp.com [12.158.38.212]) by amnesiac.heapspace.net (Postfix) with SMTP id 93DED57E3 for ; Thu, 8 Apr 2004 09:54:18 +0100 (BST) Received: from source ([193.128.117.142]) by exprod7ob2.obsmtp.com ([12.158.38.250]) with SMTP; Thu, 08 Apr 2004 01:54:17 PDT Received: from exchange.pinnacle.co.uk (unverified) by msw2.pinnacle.net (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Thu, 8 Apr 2004 09:53:24 +0100 Received: by exchange.pinnacle.co.uk with Internet Mail Service (5.5.2653.19) id <2MNTB8A2>; Thu, 8 Apr 2004 09:53:55 +0100 Received: from jogley.pinnacle.co.uk ([172.21.192.10]) by exchange2.pinnacle.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id 2MNTX13S; Thu, 8 Apr 2004 09:53:20 +0100 From: James Ogley To: Planet Planet Dev List X-Mailer: Ximian Evolution 1.4.6 Rubber Turnip www.usr-local-bin.org Subject: Re: [Devel] Doh! where is the planet source? In-Reply-To: <1081413488.4827.54.camel@kl.asia.com> References: <1081413488.4827.54.camel@kl.asia.com> Content-Type: text/plain Organization: usr local bin Message-Id: <1081414396.14148.1.camel@jogley.pinnacle.co.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Rubber Turnip www.usr-local-bin.org Date: Thu, 08 Apr 2004 09:53:16 +0100 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 08:54:24 -0000 Status: O Content-Length: 785 Lines: 18 > Using the planet source from www.planetplanet.org (.tar.bz2 archive or > Arch repository) gives me output similar to > http://xnum.sourceforge.net/PlanetNotNice/ > However, most Planets I have seen look much better. Am I using the > correct code or what? The output looks pretty well right for a basic HTML template in all honesty. Your mail has jogged my memory, you asked me if you could have a copy of the Planet SuSE templates didn't you? I'll try to get them to you over the Easter weekend, been mad crazy busy at work lately... -- James Ogley, Webmaster, Rubber Turnip james@rubberturnip.org.uk http://www.rubberturnip.org.uk Jabber: riggwelter@myjabber.net Using Free Software since 1994, running GNU/Linux (SuSE 9.0) GNOME updates for SuSE: http://www.usr-local-bin.org From simos74@gmx.net Thu Apr 8 10:31:57 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 4F13457E8 for ; Thu, 8 Apr 2004 10:31:57 +0100 (BST) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id 9569457CF for ; Thu, 8 Apr 2004 10:31:54 +0100 (BST) Received: (qmail 2330 invoked by uid 65534); 8 Apr 2004 09:31:53 -0000 Received: from unknown (EHLO [192.168.0.6]) (219.95.134.204) by mail.gmx.net (mp022) with SMTP; 08 Apr 2004 11:31:53 +0200 X-Authenticated: #10070094 Subject: Re: [Devel] Doh! where is the planet source? From: Simos Xenitellis To: Jeff Waugh In-Reply-To: <20040408084402.GS30971@perkypants.org> References: <1081413488.4827.54.camel@kl.asia.com> <20040408084402.GS30971@perkypants.org> Content-Type: text/plain Message-Id: <1081416712.4827.72.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Thu, 08 Apr 2004 17:31:52 +0800 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00, FROM_ENDS_IN_NUMS,HTML_MESSAGE autolearn=no version=2.63 Cc: Planet Planet Dev List X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 09:31:57 -0000 Status: O Content-Length: 2448 Lines: 71 On Thu, 2004-04-08 at 16:44, Jeff Waugh wrote: > > > > Using the planet source from www.planetplanet.org (.tar.bz2 archive or > > Arch repository) gives me output similar to > > http://xnum.sourceforge.net/PlanetNotNice/ > > > > However, most Planets I have seen look much better. Am I using the correct > > code or what? > > My arch repository is the latest code. What are the problems you're seeing? > (I can't tell what's wrong with your NotNice output.) The NotNice output does not use any of those CSS files from Planet GNOME (and others). Compare between http://xnum.sourceforge.net/PlanetNotNice/ and http://xnum.sourceforge.net/PlanetHellas/ (hacked up version, based on Planet GNOME). PlanetNotNice does not even set UTF-8 as the default encoding. It does not use
to place the page segments at a nice location. >From your Arch repository, file examples/index.html.tmpl (actually, did I use Arch correctly? Is this a segment of the LATEST planet code?): ..

" title="">">

">by at

.. Hacked from Planet GNOME (your work:) ) to use CSS and other goodies: ..

" title="">">

.. simos From jdub@slug.org.au Thu Apr 8 10:40:18 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 5DBBE57E3 for ; Thu, 8 Apr 2004 10:40:18 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 4B9FE57CF for ; Thu, 8 Apr 2004 10:40:15 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id C72F310DF0E; Thu, 8 Apr 2004 19:40:13 +1000 (EST) Date: Thu, 8 Apr 2004 10:39:43 +0100 From: Jeff Waugh To: Simos Xenitellis Subject: Re: [Devel] Doh! where is the planet source? Message-ID: <20040408093943.GV30971@perkypants.org> Mail-Followup-To: Simos Xenitellis , Planet Planet Dev List References: <1081413488.4827.54.camel@kl.asia.com> <20040408084402.GS30971@perkypants.org> <1081416712.4827.72.camel@kl.asia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1081416712.4827.72.camel@kl.asia.com> Reply-By: Sun Apr 11 10:39:11 BST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 10:39:11 up 1 day, 22:08, 7 users, load average: 0.67, 0.98, 1.09 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham version=2.63 Cc: Planet Planet Dev List X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 09:40:18 -0000 Status: O Content-Length: 498 Lines: 16 > PlanetNotNice does not even set UTF-8 as the default encoding. It does > not use
to place the page segments at a nice location. Oh, those are just things you'll need to change manually. The provided templates are examples for you to edit. :-) - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "Everyone's a little queer, why can't she be a little straight?" - Weezer, Pink Triangle From simos74@gmx.net Thu Apr 8 10:51:07 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id B1EA957E7 for ; Thu, 8 Apr 2004 10:51:07 +0100 (BST) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id 9B80E57D1 for ; Thu, 8 Apr 2004 10:51:04 +0100 (BST) Received: (qmail 625 invoked by uid 65534); 8 Apr 2004 09:51:03 -0000 Received: from unknown (EHLO [192.168.0.6]) (219.95.134.204) by mail.gmx.net (mp009) with SMTP; 08 Apr 2004 11:51:03 +0200 X-Authenticated: #10070094 Subject: Re: [Devel] Doh! where is the planet source? From: Simos Xenitellis To: James Ogley In-Reply-To: <1081414396.14148.1.camel@jogley.pinnacle.co.uk> References: <1081413488.4827.54.camel@kl.asia.com> <1081414396.14148.1.camel@jogley.pinnacle.co.uk> Content-Type: text/plain Message-Id: <1081417862.4827.92.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Thu, 08 Apr 2004 17:51:02 +0800 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.6 required=5.0 tests=AWL,BAYES_00, FROM_ENDS_IN_NUMS,J_CHICKENPOX_12 autolearn=no version=2.63 Cc: Planet Planet Dev List X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 09:51:07 -0000 Status: O Content-Length: 1799 Lines: 53 On Thu, 2004-04-08 at 16:53, James Ogley wrote: > > Using the planet source from www.planetplanet.org (.tar.bz2 archive or > > Arch repository) gives me output similar to > > http://xnum.sourceforge.net/PlanetNotNice/ > > However, most Planets I have seen look much better. Am I using the > > correct code or what? > > The output looks pretty well right for a basic HTML template in all > honesty. > > Your mail has jogged my memory, you asked me if you could have a copy of > the Planet SuSE templates didn't you? I'll try to get them to you over > the Easter weekend, been mad crazy busy at work lately... Thanks. The default template of Planet is not attractive enough although it could be made to look as good as Planet GNOME (and Planet SuSE, etc). Does everyone hack up the default template from scratch to produce nice looking results? If so, I'ld like to volunteer my crudely hacked-up version (http://xnum.sourceforge.net/PlanetHellas/) for the next Planet release. You may add the following on www.planetplanet.org: ============ To get a copy of Planet using GnuArch, follow the instructions at http://wiki.gnuarch.org/moin.cgi/Quick_20Introduction#head-b8402b7d51ec42b9fd607a2ff6fe1a2775016618 You need to run the commands: % tla register-archive \ http://www.gnome.org/~jdub/arch % to register the archive (need to do only once). (The Arch repository of scott@netsplit.com does not work). % tla archives jdub@perkypants.org--projects http://www.gnome.org/~jdub/arch % Means everything is ok. % tla get \ jdub@perkypants.org--projects/planet--devel--0.0 planet % This is the same as doing "cvs checkout planet". Still, the source I see is similar to http://www.planetplanet.org/planet-devel.tar.bz2 and the date of the patches are mostly up to January 2004. simos From james@usr-local-bin.org Thu Apr 8 10:52:24 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id C17C957E7 for ; Thu, 8 Apr 2004 10:52:24 +0100 (BST) Received: from psmtp.com (exprod7ob1.obsmtp.com [12.158.38.211]) by amnesiac.heapspace.net (Postfix) with SMTP id 107DE57CF for ; Thu, 8 Apr 2004 10:52:21 +0100 (BST) Received: from source ([193.128.117.142]) by exprod7ob1.obsmtp.com ([12.158.38.250]) with SMTP; Thu, 08 Apr 2004 02:52:19 PDT Received: from exchange.pinnacle.co.uk (unverified) by msw2.pinnacle.net (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Thu, 8 Apr 2004 10:52:17 +0100 Received: by exchange.pinnacle.co.uk with Internet Mail Service (5.5.2653.19) id <2MNTB8SA>; Thu, 8 Apr 2004 10:52:50 +0100 Received: from jogley.pinnacle.co.uk ([172.21.192.10]) by exchange2.pinnacle.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id 2MNTX13Z; Thu, 8 Apr 2004 10:52:14 +0100 From: James Ogley To: Planet Planet Dev List X-Mailer: Ximian Evolution 1.4.6 Rubber Turnip www.usr-local-bin.org Subject: Re: [Devel] Doh! where is the planet source? In-Reply-To: <20040408093943.GV30971@perkypants.org> References: <1081413488.4827.54.camel@kl.asia.com> <20040408084402.GS30971@perkypants.org> <1081416712.4827.72.camel@kl.asia.com> <20040408093943.GV30971@perkypants.org> Content-Type: text/plain Organization: usr local bin Message-Id: <1081417930.22446.4.camel@jogley.pinnacle.co.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Rubber Turnip www.usr-local-bin.org Date: Thu, 08 Apr 2004 10:52:10 +0100 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 09:52:25 -0000 Status: O Content-Length: 577 Lines: 13 > Oh, those are just things you'll need to change manually. The provided > templates are examples for you to edit. :-) And also to learn with - I hadn't touched CSS since like 1997 till I started Planet SuSE, and while it currently only works properly in Mozilla, I'm certainly learning, and isn't that what life's all about? (-: -- James Ogley, Webmaster, Rubber Turnip james@rubberturnip.org.uk http://www.rubberturnip.org.uk Jabber: riggwelter@myjabber.net Using Free Software since 1994, running GNU/Linux (SuSE 9.0) GNOME updates for SuSE: http://www.usr-local-bin.org From simos74@gmx.net Thu Apr 8 11:00:24 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 76E2857E9 for ; Thu, 8 Apr 2004 11:00:24 +0100 (BST) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id 5EA4657E3 for ; Thu, 8 Apr 2004 11:00:18 +0100 (BST) Received: (qmail 32656 invoked by uid 65534); 8 Apr 2004 10:00:16 -0000 Received: from unknown (EHLO [192.168.0.6]) (219.95.134.204) by mail.gmx.net (mp026) with SMTP; 08 Apr 2004 12:00:16 +0200 X-Authenticated: #10070094 Subject: Re: [Devel] Doh! where is the planet source? From: Simos Xenitellis To: Jeff Waugh In-Reply-To: <20040408093943.GV30971@perkypants.org> References: <1081413488.4827.54.camel@kl.asia.com> <20040408084402.GS30971@perkypants.org> <1081416712.4827.72.camel@kl.asia.com> <20040408093943.GV30971@perkypants.org> Content-Type: text/plain Message-Id: <1081418415.4827.102.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Thu, 08 Apr 2004 18:00:16 +0800 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00, FROM_ENDS_IN_NUMS,HTML_MESSAGE autolearn=no version=2.63 Cc: Planet Planet Dev List X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 10:00:24 -0000 Status: O Content-Length: 739 Lines: 22 On Thu, 2004-04-08 at 17:39, Jeff Waugh wrote: > > > > PlanetNotNice does not even set UTF-8 as the default encoding. It does > > not use
to place the page segments at a nice location. > > Oh, those are just things you'll need to change manually. The provided > templates are examples for you to edit. :-) Ok, we are reaching somewhere eventually.. 8-] I must say I am "happy" with my manual changes. With regard to adding faces, I noticed only references in examples/config.ini. I did not see any references in planet.py or any other python code or template to use the face paramter. How does "planet.py" pick the face parameter "face=myface.png" to place it in the generated HTML file? simos From jdub@slug.org.au Thu Apr 8 11:00:44 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id B0B4657CF for ; Thu, 8 Apr 2004 11:00:44 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id E612C57E7 for ; Thu, 8 Apr 2004 11:00:38 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id B654810DF0B; Thu, 8 Apr 2004 20:00:37 +1000 (EST) Date: Thu, 8 Apr 2004 11:00:07 +0100 From: Jeff Waugh To: Planet Planet Dev List Subject: Re: [Devel] Doh! where is the planet source? Message-ID: <20040408100007.GX30971@perkypants.org> Mail-Followup-To: Planet Planet Dev List References: <1081413488.4827.54.camel@kl.asia.com> <1081414396.14148.1.camel@jogley.pinnacle.co.uk> <1081417862.4827.92.camel@kl.asia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1081417862.4827.92.camel@kl.asia.com> Reply-By: Sun Apr 11 10:57:52 BST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 10:57:52 up 1 day, 22:26, 7 users, load average: 0.55, 0.40, 0.56 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 10:00:44 -0000 Status: O Content-Length: 727 Lines: 20 > The default template of Planet is not attractive enough although it could > be made to look as good as Planet GNOME (and Planet SuSE, etc). Does > everyone hack up the default template from scratch to produce nice looking > results? Yeah, they did. It's designed to be more of an example and a starting point than anything else... I don't think it would make sense for everyone's final output to look the same. - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "So between a jazz musician, a murderer, and a congressperson, all called 'Dave Camp', I have a lot of pressure to be evil." - GNOME's Dave Camp From james@usr-local-bin.org Thu Apr 8 11:01:57 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id D291E57EC for ; Thu, 8 Apr 2004 11:01:56 +0100 (BST) Received: from psmtp.com (exprod7ob1.obsmtp.com [12.158.38.211]) by amnesiac.heapspace.net (Postfix) with SMTP id 6B59157E7 for ; Thu, 8 Apr 2004 11:01:50 +0100 (BST) Received: from source ([193.128.117.21]) by exprod7ob1.obsmtp.com ([12.158.38.250]) with SMTP; Thu, 08 Apr 2004 03:01:49 PDT Received: from exchange.pinnacle.co.uk (unverified) by msw1.pinnacle.net (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Thu, 8 Apr 2004 11:01:42 +0100 Received: by exchange.pinnacle.co.uk with Internet Mail Service (5.5.2653.19) id <2MNTB84V>; Thu, 8 Apr 2004 11:02:15 +0100 Received: from jogley.pinnacle.co.uk ([172.21.192.10]) by exchange2.pinnacle.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id 2MNTX137; Thu, 8 Apr 2004 11:01:39 +0100 From: James Ogley To: Planet Planet Dev List X-Mailer: Ximian Evolution 1.4.6 Rubber Turnip www.usr-local-bin.org Subject: Re: [Devel] Doh! where is the planet source? In-Reply-To: <1081417862.4827.92.camel@kl.asia.com> References: <1081413488.4827.54.camel@kl.asia.com> <1081414396.14148.1.camel@jogley.pinnacle.co.uk> <1081417862.4827.92.camel@kl.asia.com> Content-Type: text/plain Organization: usr local bin Message-Id: <1081418496.22438.10.camel@jogley.pinnacle.co.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Rubber Turnip www.usr-local-bin.org Date: Thu, 08 Apr 2004 11:01:36 +0100 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL, BAYES_00, J_CHICKENPOX_14 autolearn=no version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 10:01:57 -0000 Status: O Content-Length: 839 Lines: 19 > Does everyone hack up the default template from scratch to produce nice > looking results? Well, if I remember right, and it's a good few months ago now, I initially based mine on the one supplied with Spycyroll, although the actual stylesheet now bears very little resemblance to the original. At the risk of getting into design principles, my first step is always to pick a colour scheme, which you can then apply throughout the CSS. In the case of p.SuSE it was easy, I took the green shades from the new SuSE logo. [Also, there's no need to copy me and the list on the same mail :)] -- James Ogley, Webmaster, Rubber Turnip james@rubberturnip.org.uk http://www.rubberturnip.org.uk Jabber: riggwelter@myjabber.net Using Free Software since 1994, running GNU/Linux (SuSE 9.0) GNOME updates for SuSE: http://www.usr-local-bin.org From jdub@slug.org.au Thu Apr 8 11:03:40 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 7FEB857E7 for ; Thu, 8 Apr 2004 11:03:40 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 19F4D57CF for ; Thu, 8 Apr 2004 11:03:35 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id DF5B910DF0B; Thu, 8 Apr 2004 20:03:33 +1000 (EST) Date: Thu, 8 Apr 2004 11:03:03 +0100 From: Jeff Waugh To: Planet Planet Dev List Subject: Re: [Devel] Doh! where is the planet source? Message-ID: <20040408100303.GY30971@perkypants.org> Mail-Followup-To: Planet Planet Dev List References: <1081413488.4827.54.camel@kl.asia.com> <20040408084402.GS30971@perkypants.org> <1081416712.4827.72.camel@kl.asia.com> <20040408093943.GV30971@perkypants.org> <1081418415.4827.102.camel@kl.asia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1081418415.4827.102.camel@kl.asia.com> Reply-By: Sun Apr 11 11:01:29 BST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 11:01:29 up 1 day, 22:30, 7 users, load average: 0.47, 0.35, 0.50 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL,BAYES_00, HTML_IMAGE_ONLY_06,HTML_MESSAGE autolearn=no version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 10:03:40 -0000 Status: O Content-Length: 600 Lines: 19 > With regard to adding faces, I noticed only references in > examples/config.ini. I did not see any references in planet.py or any > other python code or template to use the face paramter. How does > "planet.py" pick the face parameter "face=myface.png" to place it in the > generated HTML file? It doesn't - but your template will. Use: - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ Push the envelope, or push the daisies. From simos74@gmx.net Thu Apr 8 11:45:54 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id EF01857DF for ; Thu, 8 Apr 2004 11:45:53 +0100 (BST) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id 36A8857D0 for ; Thu, 8 Apr 2004 11:45:51 +0100 (BST) Received: (qmail 19740 invoked by uid 65534); 8 Apr 2004 10:45:49 -0000 Received: from unknown (EHLO [192.168.0.6]) (219.95.134.204) by mail.gmx.net (mp012) with SMTP; 08 Apr 2004 12:45:49 +0200 X-Authenticated: #10070094 Subject: Re: [Devel] Doh! where is the planet source? From: Simos Xenitellis To: Planet Planet Dev List In-Reply-To: <20040408100303.GY30971@perkypants.org> References: <1081413488.4827.54.camel@kl.asia.com> <20040408084402.GS30971@perkypants.org> <1081416712.4827.72.camel@kl.asia.com> <20040408093943.GV30971@perkypants.org> <1081418415.4827.102.camel@kl.asia.com> <20040408100303.GY30971@perkypants.org> Content-Type: text/plain Message-Id: <1081421149.4827.133.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Thu, 08 Apr 2004 18:45:49 +0800 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00, FROM_ENDS_IN_NUMS,HTML_IMAGE_ONLY_06,HTML_MESSAGE autolearn=no version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 10:45:54 -0000 Status: O Content-Length: 551 Lines: 19 On Thu, 2004-04-08 at 18:03, Jeff Waugh wrote: > > > > With regard to adding faces, I noticed only references in > > examples/config.ini. I did not see any references in planet.py or any > > other python code or template to use the face paramter. How does > > "planet.py" pick the face parameter "face=myface.png" to place it in the > > generated HTML file? > > It doesn't - but your template will. Use: > > That's it! It worked. simos From fred@crozat.net Sat Apr 17 21:52:23 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 7DDB457D0 for ; Sat, 17 Apr 2004 21:52:23 +0100 (BST) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by amnesiac.heapspace.net (Postfix) with ESMTP id 9B08D57AC for ; Sat, 17 Apr 2004 21:52:20 +0100 (BST) Received: from twinpeaks.dyndns.org (diderot-2-81-57-82-36.fbx.proxad.net [81.57.82.36]) by postfix4-2.free.fr (Postfix) with ESMTP id 3FF9993BC9 for ; Sat, 17 Apr 2004 22:52:20 +0200 (CEST) Received: from doubler.crozat.net (doubler.crozat.net [192.168.1.2]) by twinpeaks.dyndns.org (Postfix) with ESMTP id 23B37BE48 for ; Sat, 17 Apr 2004 22:52:20 +0200 (CEST) Received: by doubler.crozat.net (Postfix, from userid 501) id 13F63DECD0; Sat, 17 Apr 2004 22:52:20 +0200 (CEST) From: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Crozat To: Planet Planet Dev List Content-Type: multipart/mixed; boundary="=-ufutc3WwuvSllFcEiSjo" Message-Id: <1082235139.3111.21.camel@doubler.crozat.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6-1mdk Date: Sat, 17 Apr 2004 22:52:20 +0200 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL, BAYES_00, J_CHICKENPOX_47 autolearn=no version=2.63 Subject: [Devel] Patch: Freshmeat feed support X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 20:52:23 -0000 Status: O Content-Length: 4573 Lines: 80 --=-ufutc3WwuvSllFcEiSjo Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Hi all, I made some changes in my own copy of PlanetPlanet to be able to parse the "changes" field which is present in Freshmeat new feed (you can see the result on http://twinpeaks.dyndns.org/planet/ ) and I thought it might be useful for other. Since I'm not a Arch specialist, I restricted myself to give a diff for it, instead of publishing my own tree (maybe one day, I'll learn tla enough :) I've also changed an old reference to pyblagg in the INSTALL file. Jeff (or Scott), feel free to merge my changes (well, it would be good for me too, so I won't have to handle merge when the "original" tree change :)) --=20 Fr=E9d=E9ric Crozat - fred@crozat.net --=-ufutc3WwuvSllFcEiSjo Content-Disposition: inline; filename=freshmeat.diff Content-Type: text/x-patch; name=freshmeat.diff; charset=iso-8859-15 Content-Transfer-Encoding: base64 KiBsb29raW5nIGZvciBqZHViQHBlcmt5cGFudHMub3JnLS1wcm9qZWN0cy9wbGFuZXQtLWRldmVs LS0wLjAtLXBhdGNoLTM5IHRvIGNvbXBhcmUgd2l0aA0KKiBjb21wYXJpbmcgdG8gamR1YkBwZXJr eXBhbnRzLm9yZy0tcHJvamVjdHMvcGxhbmV0LS1kZXZlbC0tMC4wLS1wYXRjaC0zOQ0KTSAgcGxh bmV0LnB5DQpNICBJTlNUQUxMDQpNICBmZWVkcGFyc2VyLnB5DQpNICBwbGFuZXRsaWIucHkNCg0K KiBtb2RpZmllZCBmaWxlcw0KDQotLS0gb3JpZy9JTlNUQUxMDQorKysgbW9kL0lOU1RBTEwNCkBA IC0zNCw3ICszNCw3IEBADQogICAgIG9mIGF2YWlsYWJsZSB2YXJpYWJsZXMgaXMgYXQgdGhlIGJv dHRvbSBvZiB0aGlzIGZpbGUuDQogDQogIHYuDQotICAgIFJ1biBpdDogcHl0aG9uIHB5YmxhZ2cu cHkgcGF0aHRvL2NvbmZpZy5pbmkNCisgICAgUnVuIGl0OiBweXRob24gcGxhbmV0LnB5IHBhdGh0 by9jb25maWcuaW5pDQogDQogICAgIFlvdSdsbCB3YW50IHRvIGFkZCB0aGlzIHRvIGNyb24sIG1h a2Ugc3VyZSB5b3UgcnVuIGl0IGZyb20gdGhlDQogICAgIHJpZ2h0IGRpcmVjdG9yeS4NCg0KDQot LS0gb3JpZy9mZWVkcGFyc2VyLnB5DQorKysgbW9kL2ZlZWRwYXJzZXIucHkNCkBAIC0yNTIsNyAr MjUyLDggQEANCiAgICAgICAgICAgICAgICAgICAiaHR0cDovL21hZHNraWxscy5jb20vcHVibGlj L3htbC9yc3MvbW9kdWxlL3RyYWNrYmFjay8iOiAidHJhY2tiYWNrIiwNCiAgICAgICAgICAgICAg ICAgICAiaHR0cDovL21hZHNraWxscy5jb20vcHVibGljL3htbC9yc3MvbW9kdWxlL3BpbmdiYWNr LyI6ICJwaW5nYmFjayIsDQogICAgICAgICAgICAgICAgICAgImh0dHA6Ly9wb3N0bmVvLmNvbS9p Y2JtLyI6ICJpY2JtIiwNCi0gICAgICAgICAgICAgICAgICAiaHR0cDovL3d3dy53My5vcmcvMTk5 OS94aHRtbCI6ICJ4aHRtbCJ9DQorICAgICAgICAgICAgICAgICAgImh0dHA6Ly93d3cudzMub3Jn LzE5OTkveGh0bWwiOiAieGh0bWwiLA0KKyAgICAgICAgICAgICAgICAgICJodHRwOi8vZnJlc2ht ZWF0Lm5ldC9iYWNrZW5kLyI6ICJmbSJ9DQogDQogICAgIGNhbl9iZV9yZWxhdGl2ZV91cmkgPSBb J2xpbmsnLCAnaWQnLCAnd2Z3X2NvbW1lbnQnLCAnd2Z3X2NvbW1lbnRSU1MnLCAnZG9jcycsICd1 cmwnLCAnY29tbWVudHMnXQ0KICAgICBjYW5fY29udGFpbl9yZWxhdGl2ZV91cmlzID0gWydjb250 ZW50JywgJ2JvZHknLCAneGh0bWxfYm9keScsICdjb250ZW50X2VuY29kZWQnLCAnZnVsbGl0ZW0n LCAnZGVzY3JpcHRpb24nLCAndGl0bGUnLCAnc3VtbWFyeScsICdzdWJ0aXRsZScsICdpbmZvJywg J3RhZ2xpbmUnLCAnY29weXJpZ2h0J10NCkBAIC02NDksNiArNjUwLDE0IEBADQogICAgIF9lbmRf ZGNfZGF0ZSA9IF9lbmRfZGN0ZXJtc19tb2RpZmllZA0KICAgICBfZW5kX3B1YmRhdGUgPSBfZW5k X2RjdGVybXNfbW9kaWZpZWQNCiANCisgICAgZGVmIF9zdGFydF9mbV9jaGFuZ2VzKHNlbGYsIGF0 dHJzKToNCisgICAgICAgIHNlbGYucHVzaCgnY2hhbmdlcycsIDEpOw0KKyAgICBfc3RhcnRfY2hh bmdlcyA9IF9zdGFydF9mbV9jaGFuZ2VzDQorDQorICAgIGRlZiBfZW5kX2ZtX2NoYW5nZXMoc2Vs Zik6DQorICAgICAgICBzZWxmLnBvcCgnY2hhbmdlcycpDQorICAgIF9lbmRfY2hhbmdlcyA9IF9l bmRfZm1fY2hhbmdlcw0KKw0KICAgICBkZWYgX3N0YXJ0X2NhdGVnb3J5KHNlbGYsIGF0dHJzKToN CiAgICAgICAgIHNlbGYucHVzaCgnY2F0ZWdvcnknLCAxKQ0KICAgICAgICAgZG9tYWluID0gc2Vs Zi5fZ2V0QXR0cmlidXRlKGF0dHJzLCAnZG9tYWluJykNCg0KDQotLS0gb3JpZy9wbGFuZXQucHkN CisrKyBtb2QvcGxhbmV0LnB5DQpAQCAtMTQ4LDYgKzE0OCwxMCBAQA0KICAgICAgICAgaW5mb1si Y29udGVudCJdID0gbmV3c2l0ZW0uY29udGVudA0KICAgICAgICAgaW5mb1sibGluayJdID0gbmV3 c2l0ZW0ubGluaw0KICAgICAgICAgaW5mb1siY3JlYXRvciJdID0gbmV3c2l0ZW0uY3JlYXRvcg0K KyAgICAgICAgaWYgbmV3c2l0ZW0uY2hhbmdlcyBpcyBub3QgTm9uZToNCisgICAgICAgICAgICBp bmZvWyJjaGFuZ2VzIl0gPSBuZXdzaXRlbS5jaGFuZ2VzDQorICAgICAgICBlbHNlOg0KKyAgICAg ICAgICAgIGluZm9bImNoYW5nZXMiXSA9ICIiDQogDQogICAgICAgICBjaGFuaW5mbyA9IGNoYW5u ZWxzW25ld3NpdGVtLmNoYW5uZWxdDQogICAgICAgICBmb3IgaywgdiBpbiBjaGFuaW5mby5pdGVt cygpOg0KDQoNCi0tLSBvcmlnL3BsYW5ldGxpYi5weQ0KKysrIG1vZC9wbGFuZXRsaWIucHkNCkBA IC0zNjMsNiArMzYzLDEyIEBADQogICAgICAgICAgICAgc2VsZi5jb250ZW50ID0gJycNCiANCiAg ICAgICAgIHNlbGYuZGF0ZSA9IGRpY3QuZ2V0KCdtb2RpZmllZF9wYXJzZWQnKQ0KKw0KKyAgICAg ICAgaWYgJ2NoYW5nZXMnIGluIGRpY3Qua2V5cygpOg0KKyAgICAgICAgICAgIHNlbGYuY2hhbmdl cyA9IGRpY3QuZ2V0KCdjaGFuZ2VzJykNCisgICAgICAgIGVsc2U6DQorICAgICAgICAgICAgc2Vs Zi5jaGFuZ2VzID0gTm9uZQ0KKw0KICAgICAgICAgaWYgc2VsZi5kYXRlIGlzIE5vbmUgb3Igc2Vs Zi5kYXRlWzM6Nl0gPT0gKDAsIDAsIDApOg0KICAgICAgICAgICAgIHNlbGYuZGF0ZSA9IHNlbGYu X2NhY2hlZF90aW1lKCkNCiANCg0KDQoNCg== --=-ufutc3WwuvSllFcEiSjo-- From fred@crozat.net Sun Apr 18 21:41:35 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id AA88257D1 for ; Sun, 18 Apr 2004 21:41:35 +0100 (BST) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by amnesiac.heapspace.net (Postfix) with ESMTP id 3208A57C2 for ; Sun, 18 Apr 2004 21:41:33 +0100 (BST) Received: from twinpeaks.dyndns.org (diderot-2-81-57-82-36.fbx.proxad.net [81.57.82.36]) by postfix4-1.free.fr (Postfix) with ESMTP id B51DFF912A for ; Sun, 18 Apr 2004 22:41:32 +0200 (CEST) Received: from doubler.crozat.net (doubler.crozat.net [192.168.1.2]) by twinpeaks.dyndns.org (Postfix) with ESMTP id 8EC51BE83 for ; Sun, 18 Apr 2004 22:41:32 +0200 (CEST) Received: by doubler.crozat.net (Postfix, from userid 501) id 4CE38DECDC; Sun, 18 Apr 2004 22:41:32 +0200 (CEST) From: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Crozat To: Planet Planet Dev List Content-Type: multipart/mixed; boundary="=-aXruT2ZT9ZsPe6fc/cJ2" Message-Id: <1082320892.7656.1.camel@doubler.crozat.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6-1mdk Date: Sun, 18 Apr 2004 22:41:32 +0200 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL, BAYES_00, J_CHICKENPOX_47 autolearn=no version=2.63 Subject: [Devel] Patch: Freshmeat feed support X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2004 20:41:35 -0000 Status: O Content-Length: 4573 Lines: 80 --=-aXruT2ZT9ZsPe6fc/cJ2 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Hi all, I made some changes in my own copy of PlanetPlanet to be able to parse the "changes" field which is present in Freshmeat new feed (you can see the result on http://twinpeaks.dyndns.org/planet/ ) and I thought it might be useful for other. Since I'm not a Arch specialist, I restricted myself to give a diff for it, instead of publishing my own tree (maybe one day, I'll learn tla enough :) I've also changed an old reference to pyblagg in the INSTALL file. Jeff (or Scott), feel free to merge my changes (well, it would be good for me too, so I won't have to handle merge when the "original" tree change :)) --=20 Fr=E9d=E9ric Crozat - fred@crozat.net --=-aXruT2ZT9ZsPe6fc/cJ2 Content-Disposition: inline; filename=freshmeat.diff Content-Type: text/x-patch; name=freshmeat.diff; charset=iso-8859-15 Content-Transfer-Encoding: base64 KiBsb29raW5nIGZvciBqZHViQHBlcmt5cGFudHMub3JnLS1wcm9qZWN0cy9wbGFuZXQtLWRldmVs LS0wLjAtLXBhdGNoLTM5IHRvIGNvbXBhcmUgd2l0aA0KKiBjb21wYXJpbmcgdG8gamR1YkBwZXJr eXBhbnRzLm9yZy0tcHJvamVjdHMvcGxhbmV0LS1kZXZlbC0tMC4wLS1wYXRjaC0zOQ0KTSAgcGxh bmV0LnB5DQpNICBJTlNUQUxMDQpNICBmZWVkcGFyc2VyLnB5DQpNICBwbGFuZXRsaWIucHkNCg0K KiBtb2RpZmllZCBmaWxlcw0KDQotLS0gb3JpZy9JTlNUQUxMDQorKysgbW9kL0lOU1RBTEwNCkBA IC0zNCw3ICszNCw3IEBADQogICAgIG9mIGF2YWlsYWJsZSB2YXJpYWJsZXMgaXMgYXQgdGhlIGJv dHRvbSBvZiB0aGlzIGZpbGUuDQogDQogIHYuDQotICAgIFJ1biBpdDogcHl0aG9uIHB5YmxhZ2cu cHkgcGF0aHRvL2NvbmZpZy5pbmkNCisgICAgUnVuIGl0OiBweXRob24gcGxhbmV0LnB5IHBhdGh0 by9jb25maWcuaW5pDQogDQogICAgIFlvdSdsbCB3YW50IHRvIGFkZCB0aGlzIHRvIGNyb24sIG1h a2Ugc3VyZSB5b3UgcnVuIGl0IGZyb20gdGhlDQogICAgIHJpZ2h0IGRpcmVjdG9yeS4NCg0KDQot LS0gb3JpZy9mZWVkcGFyc2VyLnB5DQorKysgbW9kL2ZlZWRwYXJzZXIucHkNCkBAIC0yNTIsNyAr MjUyLDggQEANCiAgICAgICAgICAgICAgICAgICAiaHR0cDovL21hZHNraWxscy5jb20vcHVibGlj L3htbC9yc3MvbW9kdWxlL3RyYWNrYmFjay8iOiAidHJhY2tiYWNrIiwNCiAgICAgICAgICAgICAg ICAgICAiaHR0cDovL21hZHNraWxscy5jb20vcHVibGljL3htbC9yc3MvbW9kdWxlL3BpbmdiYWNr LyI6ICJwaW5nYmFjayIsDQogICAgICAgICAgICAgICAgICAgImh0dHA6Ly9wb3N0bmVvLmNvbS9p Y2JtLyI6ICJpY2JtIiwNCi0gICAgICAgICAgICAgICAgICAiaHR0cDovL3d3dy53My5vcmcvMTk5 OS94aHRtbCI6ICJ4aHRtbCJ9DQorICAgICAgICAgICAgICAgICAgImh0dHA6Ly93d3cudzMub3Jn LzE5OTkveGh0bWwiOiAieGh0bWwiLA0KKyAgICAgICAgICAgICAgICAgICJodHRwOi8vZnJlc2ht ZWF0Lm5ldC9iYWNrZW5kLyI6ICJmbSJ9DQogDQogICAgIGNhbl9iZV9yZWxhdGl2ZV91cmkgPSBb J2xpbmsnLCAnaWQnLCAnd2Z3X2NvbW1lbnQnLCAnd2Z3X2NvbW1lbnRSU1MnLCAnZG9jcycsICd1 cmwnLCAnY29tbWVudHMnXQ0KICAgICBjYW5fY29udGFpbl9yZWxhdGl2ZV91cmlzID0gWydjb250 ZW50JywgJ2JvZHknLCAneGh0bWxfYm9keScsICdjb250ZW50X2VuY29kZWQnLCAnZnVsbGl0ZW0n LCAnZGVzY3JpcHRpb24nLCAndGl0bGUnLCAnc3VtbWFyeScsICdzdWJ0aXRsZScsICdpbmZvJywg J3RhZ2xpbmUnLCAnY29weXJpZ2h0J10NCkBAIC02NDksNiArNjUwLDE0IEBADQogICAgIF9lbmRf ZGNfZGF0ZSA9IF9lbmRfZGN0ZXJtc19tb2RpZmllZA0KICAgICBfZW5kX3B1YmRhdGUgPSBfZW5k X2RjdGVybXNfbW9kaWZpZWQNCiANCisgICAgZGVmIF9zdGFydF9mbV9jaGFuZ2VzKHNlbGYsIGF0 dHJzKToNCisgICAgICAgIHNlbGYucHVzaCgnY2hhbmdlcycsIDEpOw0KKyAgICBfc3RhcnRfY2hh bmdlcyA9IF9zdGFydF9mbV9jaGFuZ2VzDQorDQorICAgIGRlZiBfZW5kX2ZtX2NoYW5nZXMoc2Vs Zik6DQorICAgICAgICBzZWxmLnBvcCgnY2hhbmdlcycpDQorICAgIF9lbmRfY2hhbmdlcyA9IF9l bmRfZm1fY2hhbmdlcw0KKw0KICAgICBkZWYgX3N0YXJ0X2NhdGVnb3J5KHNlbGYsIGF0dHJzKToN CiAgICAgICAgIHNlbGYucHVzaCgnY2F0ZWdvcnknLCAxKQ0KICAgICAgICAgZG9tYWluID0gc2Vs Zi5fZ2V0QXR0cmlidXRlKGF0dHJzLCAnZG9tYWluJykNCg0KDQotLS0gb3JpZy9wbGFuZXQucHkN CisrKyBtb2QvcGxhbmV0LnB5DQpAQCAtMTQ4LDYgKzE0OCwxMCBAQA0KICAgICAgICAgaW5mb1si Y29udGVudCJdID0gbmV3c2l0ZW0uY29udGVudA0KICAgICAgICAgaW5mb1sibGluayJdID0gbmV3 c2l0ZW0ubGluaw0KICAgICAgICAgaW5mb1siY3JlYXRvciJdID0gbmV3c2l0ZW0uY3JlYXRvcg0K KyAgICAgICAgaWYgbmV3c2l0ZW0uY2hhbmdlcyBpcyBub3QgTm9uZToNCisgICAgICAgICAgICBp bmZvWyJjaGFuZ2VzIl0gPSBuZXdzaXRlbS5jaGFuZ2VzDQorICAgICAgICBlbHNlOg0KKyAgICAg ICAgICAgIGluZm9bImNoYW5nZXMiXSA9ICIiDQogDQogICAgICAgICBjaGFuaW5mbyA9IGNoYW5u ZWxzW25ld3NpdGVtLmNoYW5uZWxdDQogICAgICAgICBmb3IgaywgdiBpbiBjaGFuaW5mby5pdGVt cygpOg0KDQoNCi0tLSBvcmlnL3BsYW5ldGxpYi5weQ0KKysrIG1vZC9wbGFuZXRsaWIucHkNCkBA IC0zNjMsNiArMzYzLDEyIEBADQogICAgICAgICAgICAgc2VsZi5jb250ZW50ID0gJycNCiANCiAg ICAgICAgIHNlbGYuZGF0ZSA9IGRpY3QuZ2V0KCdtb2RpZmllZF9wYXJzZWQnKQ0KKw0KKyAgICAg ICAgaWYgJ2NoYW5nZXMnIGluIGRpY3Qua2V5cygpOg0KKyAgICAgICAgICAgIHNlbGYuY2hhbmdl cyA9IGRpY3QuZ2V0KCdjaGFuZ2VzJykNCisgICAgICAgIGVsc2U6DQorICAgICAgICAgICAgc2Vs Zi5jaGFuZ2VzID0gTm9uZQ0KKw0KICAgICAgICAgaWYgc2VsZi5kYXRlIGlzIE5vbmUgb3Igc2Vs Zi5kYXRlWzM6Nl0gPT0gKDAsIDAsIDApOg0KICAgICAgICAgICAgIHNlbGYuZGF0ZSA9IHNlbGYu X2NhY2hlZF90aW1lKCkNCiANCg0KDQoNCg== --=-aXruT2ZT9ZsPe6fc/cJ2-- From jdub@slug.org.au Sun Apr 18 22:14:43 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id AD94257AC for ; Sun, 18 Apr 2004 22:14:43 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 8E72C57D1 for ; Sun, 18 Apr 2004 22:14:40 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id D9EB610E636; Mon, 19 Apr 2004 07:14:30 +1000 (EST) Date: Mon, 19 Apr 2004 07:14:34 +1000 From: Jeff Waugh To: Planet Planet Dev List Subject: Re: [Devel] Patch: Freshmeat feed support Message-ID: <20040418211434.GY969@perkypants.org> Mail-Followup-To: Planet Planet Dev List References: <1082320892.7656.1.camel@doubler.crozat.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1082320892.7656.1.camel@doubler.crozat.net> Reply-By: Thu Apr 22 07:08:39 EST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 07:08:39 up 4 days, 11:53, 10 users, load average: 0.02, 0.08, 0.08 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2004 21:14:43 -0000 Status: O Content-Length: 1499 Lines: 42 > I made some changes in my own copy of PlanetPlanet to be able to parse > the "changes" field which is present in Freshmeat new feed (you can see > the result on http://twinpeaks.dyndns.org/planet/ ) and I thought it > might be useful for other. I'm not sure that it's a great idea to keep adding stuff to planet.py to handle different elements coming in from the RSS - I would be happier to have a more generalised way of promoting them to the template data structure, rather like the way we promote per-feed configuration metadata. The obvious problem is namespace clashes, so we'd have to prepend config_ or feed_ or something to the config items (which will break current configs). Any ideas? > Since I'm not a Arch specialist, I restricted myself to give a diff for > it, instead of publishing my own tree (maybe one day, I'll learn tla > enough :) ;-) > I've also changed an old reference to pyblagg in the INSTALL file. This one definitely goes in. 8) > Jeff (or Scott), feel free to merge my changes (well, it would be good > for me too, so I won't have to handle merge when the "original" tree > change :)) Hey, arch will do that for you if you use it! ;-) - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "The postmodern version is: If all you have is duct tape, everything starts to look like a duct. Right. When's the last time you used duct tape on a duct?" - Larry Wall From scott@netsplit.com Mon Apr 19 10:30:23 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 034AE57D1 for ; Mon, 19 Apr 2004 10:30:23 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 1CE2257AC for ; Mon, 19 Apr 2004 10:30:20 +0100 (BST) Received: (qmail 13781 invoked from network); 19 Apr 2004 09:30:19 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 19 Apr 2004 09:30:19 -0000 Subject: Re: [Devel] Validation Error? From: Scott James Remnant To: Hack the Planet! In-Reply-To: <20040408174906.1591.TETSUYA@apache.org> References: <20040408174906.1591.TETSUYA@apache.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ZcVSLAKpCwQ6bMiFXpcN" Message-Id: <1082367025.13529.41.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 19 Apr 2004 10:30:25 +0100 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 09:30:23 -0000 Status: O Content-Length: 1336 Lines: 54 --=-ZcVSLAKpCwQ6bMiFXpcN Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2004-04-08 at 09:49, Tetsuya Kitahata wrote: > There seems Validation Error (on my browser and > http://www.feedvalidator.org/check?url=3Dhttp://www.planetapache.org/rss2= 0.xml) >=20 ----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8= <---- line 41, column 74: XML Parsing error: :41:74: not well-formed (invalid token) http://Ken.Coar.Org/burrow/index?entry=3D905&wor= ds=3Da ... ^ ---->8-------->8-------->8-------->8-------->8-------->8-------->8-------->= 8---- > How can this be fixed? >=20 Add 'ESCAPE=3D"HTML"' to the occurrences of in your XML templates. I've done this in my repository. Thanks, Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-ZcVSLAKpCwQ6bMiFXpcN Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAg5wvIexP3IStZ2wRApJ7AJ9lY3KtJXeOysbaurZtByP6YSSxzACaAwc/ P5FPH8Ul38CZEBwX2pGgRqM= =/aOt -----END PGP SIGNATURE----- --=-ZcVSLAKpCwQ6bMiFXpcN-- From tetsuya@apache.org Mon Apr 19 11:09:54 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 13A7D57E9 for ; Mon, 19 Apr 2004 11:09:54 +0100 (BST) Received: from smtp.dream.com (smtp.dream.com [220.111.47.192]) by amnesiac.heapspace.net (Postfix) with ESMTP id 635E857D0 for ; Mon, 19 Apr 2004 11:09:51 +0100 (BST) Received: from [219.162.60.117] (p5117-air01kdtoyoshi.nagano.ocn.ne.jp [219.162.60.117]) by smtp.dream.com (Postfix) with ESMTP id 94DB510FE for ; Mon, 19 Apr 2004 19:09:46 +0900 (JST) Date: Mon, 19 Apr 2004 19:10:03 +0900 From: Tetsuya Kitahata To: Planet Planet Dev List Subject: Re: [Devel] Validation Error? In-Reply-To: <1082367025.13529.41.camel@descent.netsplit.com> References: <20040408174906.1591.TETSUYA@apache.org> <1082367025.13529.41.camel@descent.netsplit.com> Message-Id: <20040419190954.945D.TETSUYA@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.07.04 [ja] X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 10:09:54 -0000 Status: O Content-Length: 1345 Lines: 47 Thanks, Scott and Gediminas! It appears that the error has been vaporized. http://www.feedvalidator.org/check?url=http://www.planetapache.org/rss20.xml -- On Mon, 19 Apr 2004 10:30:25 +0100 (Subject: Re: [Devel] Validation Error?) Scott James Remnant wrote: > On Thu, 2004-04-08 at 09:49, Tetsuya Kitahata wrote: > > > There seems Validation Error (on my browser and > > http://www.feedvalidator.org/check?url=http://www.planetapache.org/rss20.xml) > > > ----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---- > > line 41, column 74: XML Parsing error: :41:74: not well-formed > (invalid token) > > http://Ken.Coar.Org/burrow/index?entry=905&words=a ... > ^ > > ---->8-------->8-------->8-------->8-------->8-------->8-------->8-------->8---- > > > How can this be fixed? > > > Add 'ESCAPE="HTML"' to the occurrences of in your XML > templates. > > I've done this in my repository. > > Thanks, > > Scott > -- > Have you ever, ever felt like this? > Had strange things happen? Are you going round the twist? > --------------------------------------------------------------------- Tetsuya Kitahata -- Terra-International, Inc. E-mail: tetsuya@apache.org http://www.terra-intl.com/ From dme@chocolate-chip-cookie.dme.org Mon Apr 19 13:40:48 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 8897957C2 for ; Mon, 19 Apr 2004 13:40:48 +0100 (BST) Received: from brmea-mail-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31]) by amnesiac.heapspace.net (Postfix) with ESMTP id 7D03A57D8 for ; Mon, 19 Apr 2004 13:40:42 +0100 (BST) Received: from esunmail ([129.147.156.34]) by brmea-mail-1.sun.com (8.12.10/8.12.9) with ESMTP id i3JCebxA001645 for ; Mon, 19 Apr 2004 06:40:41 -0600 (MDT) Received: from xpa-fe2 (esunmail [129.147.156.34]) by edgemail1.Central.Sun.COM (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HWF006T94JOON@edgemail1.Central.Sun.COM> for devel@lists.planetplanet.org; Mon, 19 Apr 2004 06:40:37 -0600 (MDT) Received: from chocolate-chip-cookie.dme.org ([129.156.199.100]) by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTPSA id <0HWF00EI74JMOA@mail.sun.net> for devel@lists.planetplanet.org; Mon, 19 Apr 2004 06:40:36 -0600 (MDT) Received: by chocolate-chip-cookie.dme.org (Postfix, from userid 501) id 7ABFF1562FE; Mon, 19 Apr 2004 13:40:40 +0100 (BST) Date: Mon, 19 Apr 2004 13:40:40 +0100 From: David Edmondson Sender: dme@hollytree-house.co.uk To: devel@lists.planetplanet.org Message-id: MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (powerpc-apple-darwin7.0.0) X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Subject: [Devel] planet and feedparser 3.0 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 12:40:48 -0000 Status: O Content-Length: 417 Lines: 13 [ resent with a better "from" address ] I spent 30 minutes butchering planetlib.py to allow the use of feedparser 3.0 beta21. The result is not ideal, but it works. Now htmltmpl.py barfs because it gets unicode strings[1]. Sigh. Is there a "big plan" for unicode in planet, or should I continue to wield the knife? Footnotes: [1] It is supposed to get them - the feed in question has UTF-8 stuff in it. From jdub@slug.org.au Mon Apr 19 21:36:58 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 2131057DF for ; Mon, 19 Apr 2004 21:36:58 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6C63457D0 for ; Mon, 19 Apr 2004 21:36:52 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id BFD2C10E5F7; Tue, 20 Apr 2004 06:36:45 +1000 (EST) Date: Tue, 20 Apr 2004 06:36:49 +1000 From: Jeff Waugh To: David Edmondson Subject: Re: [Devel] planet and feedparser 3.0 Message-ID: <20040419203649.GC969@perkypants.org> Mail-Followup-To: David Edmondson , devel@lists.planetplanet.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Reply-By: Fri Apr 23 06:34:00 EST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 06:34:00 up 5 days, 11:19, 7 users, load average: 0.20, 0.67, 0.48 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 20:36:58 -0000 Status: O Content-Length: 960 Lines: 28 > I spent 30 minutes butchering planetlib.py to allow the use of > feedparser 3.0 beta21. The result is not ideal, but it works. Ah, cool - saw your entry on Planet Sun about that. ;-) > Now htmltmpl.py barfs because it gets unicode strings[1]. Sigh. > > Is there a "big plan" for unicode in planet, or should I continue to > wield the knife? There's no big plan, knife away! Let us know where the problems lie, or where we can help out. Perhaps there's an upgrade to htmltmpl available? (It's a sourceforget project - htmltmpl.sf.net.) Thanks! - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "I think it will be admitted by all that to have exploited so great a scientific invention for the purpose and pursuit of entertainment alone would have been a prostitution of its powers and an insult to the character and intelligence of the people." - John Reith From dme@chocolate-chip-cookie.dme.org Mon Apr 19 22:03:35 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 6FD9C57EC for ; Mon, 19 Apr 2004 22:03:35 +0100 (BST) Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by amnesiac.heapspace.net (Postfix) with ESMTP id E90E257E9 for ; Mon, 19 Apr 2004 22:03:25 +0100 (BST) Received: from esunmail ([129.147.156.34]) by brmea-mail-2.sun.com (8.12.10/8.12.9) with ESMTP id i3JL3OO3017445 for ; Mon, 19 Apr 2004 15:03:24 -0600 (MDT) Received: from fe7 (esunmail [129.147.156.34]) by edgemail1.Central.Sun.COM (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HWF005NRRTNNA@edgemail1.Central.Sun.COM> for devel@lists.planetplanet.org; Mon, 19 Apr 2004 15:03:24 -0600 (MDT) Received: from chocolate-chip-cookie.dme.org ([129.150.116.55]) by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTPSA id <0HWF00K8SRTK3K@mail.sun.net> for devel@lists.planetplanet.org; Mon, 19 Apr 2004 15:03:23 -0600 (MDT) Received: by chocolate-chip-cookie.dme.org (Postfix, from userid 501) id D20601589AB; Mon, 19 Apr 2004 22:03:25 +0100 (BST) Date: Mon, 19 Apr 2004 22:03:24 +0100 From: David Edmondson Subject: Re: [Devel] planet and feedparser 3.0 In-reply-to: <20040419203649.GC969@perkypants.org> Sender: dme@hollytree-house.co.uk To: devel@lists.planetplanet.org Message-id: MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (powerpc-apple-darwin7.0.0) References: <20040419203649.GC969@perkypants.org> X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 21:03:35 -0000 Status: O Content-Length: 1159 Lines: 28 * jdub@perkypants.org [2004-04-19 21:36:49] > > I spent 30 minutes butchering planetlib.py to allow the use of > > feedparser 3.0 beta21. The result is not ideal, but it works. > > Ah, cool - saw your entry on Planet Sun about that. ;-) Tim was worried that his stuff didn't appear :-) > > Now htmltmpl.py barfs because it gets unicode strings[1]. Sigh. > > > > Is there a "big plan" for unicode in planet, or should I continue to > > wield the knife? > > There's no big plan, knife away! Let us know where the problems lie, or > where we can help out. Perhaps there's an upgrade to htmltmpl available? > (It's a sourceforget project - htmltmpl.sf.net.) A proposal, possibly based on incomplete understanding: We flatten everything to UTF-8 encoded strings and deal only in those. This means that output from the feedparser would need to be squashed from unicode strings to utf-8. The htmltmpl code would only see utf-8 encoded stuff and would output that into the resulting files. Planet administrators would need to make sure that the index.html (say) is correctly declared as utf-8 encoded. The RSS output is already fine in this respect. From fred@crozat.net Mon Apr 19 22:26:24 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id BA07B57E3 for ; Mon, 19 Apr 2004 22:26:24 +0100 (BST) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by amnesiac.heapspace.net (Postfix) with ESMTP id 1A31457EE for ; Mon, 19 Apr 2004 22:26:22 +0100 (BST) Received: from twinpeaks.dyndns.org (diderot-2-81-57-82-36.fbx.proxad.net [81.57.82.36]) by postfix3-1.free.fr (Postfix) with ESMTP id 846F5C416A for ; Mon, 19 Apr 2004 23:26:21 +0200 (CEST) Received: from doubler.crozat.net (doubler.crozat.net [192.168.1.2]) by twinpeaks.dyndns.org (Postfix) with ESMTP id B38D3BE6F for ; Mon, 19 Apr 2004 23:26:17 +0200 (CEST) Received: by doubler.crozat.net (Postfix, from userid 501) id 4EEEBDECDC; Mon, 19 Apr 2004 23:26:17 +0200 (CEST) Subject: Re: [Devel] Patch: Freshmeat feed support From: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Crozat To: Planet Planet Dev List In-Reply-To: <20040418211434.GY969@perkypants.org> References: <1082320892.7656.1.camel@doubler.crozat.net> <20040418211434.GY969@perkypants.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Message-Id: <1082409976.3093.4.camel@doubler.crozat.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6-1mdk Date: Mon, 19 Apr 2004 23:26:17 +0200 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 21:26:24 -0000 Status: O Content-Length: 651 Lines: 12 Le dim 18/04/2004 =E0 23:14, Jeff Waugh a =E9crit : > >=20 > > I made some changes in my own copy of PlanetPlanet to be able to parse > > the "changes" field which is present in Freshmeat new feed (you can see > > the result on http://twinpeaks.dyndns.org/planet/ ) and I thought it > > might be useful for other. >=20 > I'm not sure that it's a great idea to keep adding stuff to planet.py to > handle different elements coming in from the RSS - I would be happier to > have a more generalised way of promoting them to the template data > structure, rather like the way we promote per-feed configuration metadata= From scott@netsplit.com Tue Apr 20 09:49:22 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 1AC6557D1 for ; Tue, 20 Apr 2004 09:49:22 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 68FF357C2 for ; Tue, 20 Apr 2004 09:49:19 +0100 (BST) Received: (qmail 19586 invoked from network); 20 Apr 2004 08:49:18 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 20 Apr 2004 08:49:18 -0000 Subject: Re: [Devel] planet and feedparser 3.0 From: Scott James Remnant To: David Edmondson In-Reply-To: References: <20040419203649.GC969@perkypants.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-1zYcL6+ETALoeyTaFFUS" Message-Id: <1082450966.10707.12.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.6.2 Date: Tue, 20 Apr 2004 09:49:26 +0100 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 08:49:22 -0000 Status: O Content-Length: 1636 Lines: 50 --=-1zYcL6+ETALoeyTaFFUS Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-04-19 at 22:03 +0100, David Edmondson wrote: > A proposal, possibly based on incomplete understanding: >=20 > We flatten everything to UTF-8 encoded strings and deal only in > those. >=20 This is what Planet currently tries to do; when downloading the feed it unzips the downloaded data if necessary and then converts it to UTF-8 . The UTF-8 data is then safe to pass to the 2.x-era feedparser which doesn't mangle it, and htmltmpl which again doesn't mangle it. It also gives us the nice fluffies of outputting UTF-8. I guess this is broke with 3.x feedparser because Mark's tried to add encoding logic to it. Whether we'd use that or not, I don't know -- planetlib actually contains its own downloading code because there was no way to extract the unparsed data from feedparser to store in the cache. If we can use it then I guess feeding raw data into feedparser (without encoding fiddling), letting that worry about it, taking unicode strings from it and then squashing them to UTF-8 is the Right Way (tm). Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-1zYcL6+ETALoeyTaFFUS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAhOQVIexP3IStZ2wRAnAIAJ4viGPMUkXIQdhtxjkQDKMToNoYSwCgt/3F rZnbpkWmsG6rIJBC44Vtnac= =hHZW -----END PGP SIGNATURE----- --=-1zYcL6+ETALoeyTaFFUS-- From dme@chocolate-chip-cookie.dme.org Tue Apr 20 10:59:48 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 8442157CF for ; Tue, 20 Apr 2004 10:59:48 +0100 (BST) Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by amnesiac.heapspace.net (Postfix) with ESMTP id 9475F57EB for ; Tue, 20 Apr 2004 10:59:44 +0100 (BST) Received: from esunmail ([129.147.156.34]) by brmea-mail-2.sun.com (8.12.10/8.12.9) with ESMTP id i3K9xhO3009836 for ; Tue, 20 Apr 2004 03:59:43 -0600 (MDT) Received: from xpa-fe2 (esunmail [129.147.156.34]) by edgemail1.Central.Sun.COM (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HWG005CFRRINA@edgemail1.Central.Sun.COM> for devel@lists.planetplanet.org; Tue, 20 Apr 2004 03:59:43 -0600 (MDT) Received: from chocolate-chip-cookie.dme.org ([129.156.199.100]) by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTPSA id <0HWG006ACRRGCC@mail.sun.net> for devel@lists.planetplanet.org; Tue, 20 Apr 2004 03:59:42 -0600 (MDT) Received: by chocolate-chip-cookie.dme.org (Postfix, from userid 501) id 6C0AC159768; Tue, 20 Apr 2004 10:59:49 +0100 (BST) Date: Tue, 20 Apr 2004 10:59:49 +0100 From: David Edmondson Subject: Re: [Devel] planet and feedparser 3.0 In-reply-to: <1082450966.10707.12.camel@descent.netsplit.com> Sender: dme@hollytree-house.co.uk To: Scott James Remnant Message-id: MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (powerpc-apple-darwin7.0.0) X-Now-Playing: Mulgrew Miller: Beautiful Love References: <20040419203649.GC969@perkypants.org> <1082450966.10707.12.camel@descent.netsplit.com> X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 09:59:48 -0000 Status: O Content-Length: 3349 Lines: 70 * scott@netsplit.com [2004-04-20 09:49:26] > > We flatten everything to UTF-8 encoded strings and deal only in > > those. > This is what Planet currently tries to do; when downloading the feed it > unzips the downloaded data if necessary and then converts it to UTF-8 > . > > The UTF-8 data is then safe to pass to the 2.x-era feedparser which > doesn't mangle it, and htmltmpl which again doesn't mangle it. It also > gives us the nice fluffies of outputting UTF-8. This isn't working out for me: INFO:root:Subscribing INFO:root:Updating feed from DEBUG:root:Encoding: UTF-8 WARNING:root:Cache read failed Traceback (most recent call last): File "./planetlib.py", line 229, in cache_read self.update(cache_uri) File "./planetlib.py", line 173, in update self._update(baseuri, data) File "./planetlib.py", line 277, in _update feed.feed(data) File "/export/builds/s9-gate/s9-freeware/proto/root_i386/opt/sfw/lib/python2.2/sgmllib.py", line 95, in feed self.goahead(0) File "/export/builds/s9-gate/s9-freeware/proto/root_i386/opt/sfw/lib/python2.2/sgmllib.py", line 134, in goahead k = self.parse_endtag(i) File "/export/builds/s9-gate/s9-freeware/proto/root_i386/opt/sfw/lib/python2.2/sgmllib.py", line 303, in parse_endtag self.finish_endtag(tag) File "/export/builds/s9-gate/s9-freeware/proto/root_i386/opt/sfw/lib/python2.2/sgmllib.py", line 343, in finish_endtag self.unknown_endtag(tag) File "./feedparser.py", line 358, in unknown_endtag method() File "./feedparser.py", line 720, in _end_description value = self.pop('description') File "./feedparser.py", line 480, in pop output = resolveRelativeURIs(output, self.baseuri) File "./feedparser.py", line 902, in resolveRelativeURIs data = p.output() File "./feedparser.py", line 857, in output return "".join(self.pieces) UnicodeError: ASCII decoding error: ordinal not in range(128) INFO:root:Updating feed DEBUG:root:Encoding: UTF-8 INFO:root:Feed has not changed I can bodge this by removing a line of code from feedparser.BaseHTMLProcessor.normalize_attrs (wrapped by me): attrs = [(k.lower(), sgmllib.charref.sub(lambda m: unichr(int(m.groups()[0])), v).strip()) for k, v in attrs] as it's this chunk that is introducing unicode strings into the parser output. I don't _really_ understand why this bit is required. I'll get back to Mark about it I suppose. > I guess this is broke with 3.x feedparser because Mark's tried to > add encoding logic to it. Whether we'd use that or not, I don't > know -- planetlib actually contains its own downloading code because > there was no way to extract the unparsed data from feedparser to > store in the cache. > > If we can use it then I guess feeding raw data into feedparser > (without encoding fiddling), letting that worry about it, taking > unicode strings from it and then squashing them to UTF-8 is the > Right Way (tm). With the above fix I don't need to use feedparser 3.0, just have to make sure that the browser understands that the HTML is utf-8 encoded. From dme@chocolate-chip-cookie.dme.org Tue Apr 20 11:18:26 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id EB2AF57AC for ; Tue, 20 Apr 2004 11:18:25 +0100 (BST) Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by amnesiac.heapspace.net (Postfix) with ESMTP id 7F45957DF for ; Tue, 20 Apr 2004 11:18:22 +0100 (BST) Received: from esunmail ([129.147.156.34]) by brmea-mail-2.sun.com (8.12.10/8.12.9) with ESMTP id i3KAILO3018246 for ; Tue, 20 Apr 2004 04:18:21 -0600 (MDT) Received: from xpa-fe2 (esunmail [129.147.156.34]) by edgemail1.Central.Sun.COM (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HWG00IECSMLIY@edgemail1.Central.Sun.COM> for devel@lists.planetplanet.org; Tue, 20 Apr 2004 04:18:21 -0600 (MDT) Received: from chocolate-chip-cookie.dme.org ([129.156.199.100]) by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTPSA id <0HWG006GXSMJCC@mail.sun.net> for devel@lists.planetplanet.org; Tue, 20 Apr 2004 04:18:21 -0600 (MDT) Received: by chocolate-chip-cookie.dme.org (Postfix, from userid 501) id 19C6215980C; Tue, 20 Apr 2004 11:18:27 +0100 (BST) Date: Tue, 20 Apr 2004 11:18:27 +0100 From: David Edmondson Subject: Re: [Devel] planet and feedparser 3.0 In-reply-to: Sender: dme@hollytree-house.co.uk To: Scott James Remnant Message-id: MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (powerpc-apple-darwin7.0.0) X-Now-Playing: Chick Corea / Andy LaVerne: Heart To Heart References: <20040419203649.GC969@perkypants.org> <1082450966.10707.12.camel@descent.netsplit.com> X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 10:18:26 -0000 Status: O Content-Length: 764 Lines: 19 * dme@hollytree-house.co.uk [2004-04-20 10:59:49] > I can bodge this by removing a line of code from > feedparser.BaseHTMLProcessor.normalize_attrs (wrapped by me): > > attrs = [(k.lower(), sgmllib.charref.sub(lambda m: > unichr(int(m.groups()[0])), v).strip()) for k, v in attrs] > > as it's this chunk that is introducing unicode strings into the > parser output. I don't _really_ understand why this bit is > required. I'll get back to Mark about it I suppose. Sorry, this bit was a lie. Whilst this does appear to be the code that is introducing unicode strings and removing it allows the whole thing to proceed, it doesn't really help, as the 3 bytes of the utf-8 characters then get entity encoded (is that the right phrase?). Still working... From dme@chocolate-chip-cookie.dme.org Wed Apr 21 09:14:37 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 60B2757EE for ; Wed, 21 Apr 2004 09:14:37 +0100 (BST) Received: from brmea-mail-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31]) by amnesiac.heapspace.net (Postfix) with ESMTP id E742E57D8 for ; Wed, 21 Apr 2004 09:14:32 +0100 (BST) Received: from esunmail ([129.147.156.34]) by brmea-mail-1.sun.com (8.12.10/8.12.9) with ESMTP id i3L8ETMu003693 for ; Wed, 21 Apr 2004 02:14:29 -0600 (MDT) Received: from xpa-fe2 (esunmail [129.147.156.34]) by edgemail1.Central.Sun.COM (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HWI00EGZHK40W@edgemail1.Central.Sun.COM> for devel@lists.planetplanet.org; Wed, 21 Apr 2004 02:14:29 -0600 (MDT) Received: from chocolate-chip-cookie.dme.org ([129.150.116.124]) by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTPSA id <0HWI0057CHK1NA@mail.sun.net> for devel@lists.planetplanet.org; Wed, 21 Apr 2004 02:14:28 -0600 (MDT) Received: by chocolate-chip-cookie.dme.org (Postfix, from userid 501) id D7AE615B1FA; Wed, 21 Apr 2004 09:13:44 +0100 (BST) Date: Wed, 21 Apr 2004 09:13:44 +0100 From: David Edmondson Sender: dme@hollytree-house.co.uk To: devel Message-id: MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_EIjUsylR87P2553uVins7w)" User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (powerpc-apple-darwin7.0.0) X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.0 required=5.0 tests=AWL, BAYES_00, J_CHICKENPOX_44, J_CHICKENPOX_47,J_CHICKENPOX_84 autolearn=no version=2.63 Subject: [Devel] small patches... X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2004 08:14:37 -0000 Status: O Content-Length: 4731 Lines: 25 --Boundary_(ID_EIjUsylR87P2553uVins7w) Content-type: TEXT/PLAIN Content-transfer-encoding: 7BIT Attached is the set of diffs that I'm currently using for Planet Sun. There are three different changes: - generated an abbreviated form of article content and export it to the template engine. I'm using this to generate an abbreviated RSS feed, for people that don't want full articles in the feed (this isn't announced on Planet Sun yet, but the feed is available at http://planetsun.org/abbrev20.xml). - a nasty hack to support single quote delimited tag attribute values in feeds. This is necessary to get ongoing (http://www.tbray.org/ongoing/) to work. It's a workaround for a flaw in the python SGML parser. I'm wholly unconvinced that it's a safe change, but it hasn't broken anything yet. Moving to feedparser 3.0 would remove the need for this, presuming that a real XML parser is available. - a small change to the feedparser to flatten tag attributes from unicode to utf-8. My tla-fu isn't quite up to providing an arch service yet, but I'm working on it :-) A unified diff is attached (silly end-of-line characters in Mark's code!). I'll continue working with feedparser 3.0, but I thought that I'd send these out for review. --Boundary_(ID_EIjUsylR87P2553uVins7w) Content-type: text/x-patch; NAME=planet.diff Content-transfer-encoding: 7BIT Content-disposition: inline; filename=planet.diff Content-description: planet diffs diff --recursive -u planet-devel/feedparser.py /data/one/http/planet/feedparser.py --- planet-devel/feedparser.py 2004-02-08 23:23:57.000000000 +0000 +++ /data/one/http/planet/feedparser.py 2004-04-21 09:10:59.000000000 +0100 @@ -797,7 +797,14 @@ def normalize_attrs(self, attrs): # utility method to be called by descendants attrs = [(k.lower(), sgmllib.charref.sub(lambda m: unichr(int(m.groups()[0])), v).strip()) for k, v in attrs] + # dme: hack to code with the use of single quote delimiters for tag + # attributes (which sgmllib.SGMLParser doesn't support). + attrs = [(k, v.replace("'", "")) for k, v in attrs] attrs = [(k, k in ('rel', 'type') and v.lower() or v) for k, v in attrs] + # dme: flatten the attributes to utf-8 after unichr() made them + # unicode strings. + attrs = [(k, v.encode('utf-8')) for k, v in attrs] + return attrs def unknown_starttag(self, tag, attrs): @@ -941,7 +948,9 @@ p.feed(htmlSource) data = p.output() if mxtidy: - nerrors, nwarnings, data, errordata = mxtidy.tidy(data, output_xhtml=1, numeric_entities=1, wrap=0) + if type(data) == unicode: + data = data.encode('ascii', 'replace') + nerrors, nwarnings, data, errordata = mxtidy.tidy(data, output_xhtml=1, numeric_entities=1, wrap=0, char_encoding='utf8') if data.count(''): diff --recursive -u planet-devel/planet.py /data/one/http/planet/planet.py --- planet-devel/planet.py 2004-02-08 23:23:57.000000000 +0000 +++ /data/one/http/planet/planet.py 2004-04-21 09:04:05.000000000 +0100 @@ -138,6 +138,7 @@ info["title"] = newsitem.title info["summary"] = newsitem.summary info["content"] = newsitem.content + info["excerpt"] = newsitem.excerpt info["link"] = newsitem.link chaninfo = channels[newsitem.channel] diff --recursive -u planet-devel/planetlib.py /data/one/http/planet/planetlib.py --- planet-devel/planetlib.py 2004-02-08 23:23:57.000000000 +0000 +++ /data/one/http/planet/planetlib.py 2004-04-21 09:03:49.000000000 +0100 @@ -342,6 +342,7 @@ title: Title of the item summary: Summary of the content for the first page content: Content of the item + excerpt: Abbreviated content of the item link: Link associated with the item, generally the HTML version channel: Channel this NewsItem belongs to @@ -361,6 +362,15 @@ else: self.content = '' + self.excerpt = self.content[:200] + if len(self.content) > len(self.excerpt): + # this doesn't always work, as the insertion may + # occur in the middle of a tag, which causes it + # to be removed by santizeHTML + self.excerpt = self.excerpt + "..." + self.excerpt = feedparser.sanitizeHTML(self.excerpt) + + self.date = dict.get('modified_parsed') if self.date is None or self.date[3:6] == (0, 0, 0): self.date = self._cached_time() --Boundary_(ID_EIjUsylR87P2553uVins7w)-- From dme@chocolate-chip-cookie.dme.org Wed Apr 21 09:14:37 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 8B1E557F2 for ; Wed, 21 Apr 2004 09:14:37 +0100 (BST) Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by amnesiac.heapspace.net (Postfix) with ESMTP id EBBD157E7 for ; Wed, 21 Apr 2004 09:14:32 +0100 (BST) Received: from esunmail ([129.147.156.34]) by brmea-mail-2.sun.com (8.12.10/8.12.9) with ESMTP id i3L8EVdc023032 for ; Wed, 21 Apr 2004 02:14:31 -0600 (MDT) Received: from xpa-fe2 (esunmail [129.147.156.34]) by edgemail1.Central.Sun.COM (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HWI00EH2HK60W@edgemail1.Central.Sun.COM> for devel@lists.planetplanet.org; Wed, 21 Apr 2004 02:14:31 -0600 (MDT) Received: from chocolate-chip-cookie.dme.org ([129.150.116.124]) by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTPSA id <0HWI005ZQHK2N3@mail.sun.net> for devel@lists.planetplanet.org; Wed, 21 Apr 2004 02:14:30 -0600 (MDT) Received: by chocolate-chip-cookie.dme.org (Postfix, from userid 501) id E7FF215B1FB; Wed, 21 Apr 2004 09:14:36 +0100 (BST) Date: Wed, 21 Apr 2004 09:14:36 +0100 From: David Edmondson Sender: dme@hollytree-house.co.uk To: devel Message-id: MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_scQ4Fb4N4F+5FI4mX77ZkA)" User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (powerpc-apple-darwin7.0.0) X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL, BAYES_00, J_CHICKENPOX_44, J_CHICKENPOX_47,J_CHICKENPOX_84 autolearn=no version=2.63 Subject: [Devel] small patches... X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2004 08:14:38 -0000 Status: O Content-Length: 4731 Lines: 25 --Boundary_(ID_scQ4Fb4N4F+5FI4mX77ZkA) Content-type: TEXT/PLAIN Content-transfer-encoding: 7BIT Attached is the set of diffs that I'm currently using for Planet Sun. There are three different changes: - generated an abbreviated form of article content and export it to the template engine. I'm using this to generate an abbreviated RSS feed, for people that don't want full articles in the feed (this isn't announced on Planet Sun yet, but the feed is available at http://planetsun.org/abbrev20.xml). - a nasty hack to support single quote delimited tag attribute values in feeds. This is necessary to get ongoing (http://www.tbray.org/ongoing/) to work. It's a workaround for a flaw in the python SGML parser. I'm wholly unconvinced that it's a safe change, but it hasn't broken anything yet. Moving to feedparser 3.0 would remove the need for this, presuming that a real XML parser is available. - a small change to the feedparser to flatten tag attributes from unicode to utf-8. My tla-fu isn't quite up to providing an arch service yet, but I'm working on it :-) A unified diff is attached (silly end-of-line characters in Mark's code!). I'll continue working with feedparser 3.0, but I thought that I'd send these out for review. --Boundary_(ID_scQ4Fb4N4F+5FI4mX77ZkA) Content-type: text/x-patch; NAME=planet.diff Content-transfer-encoding: 7BIT Content-disposition: inline; filename=planet.diff Content-description: planet diffs diff --recursive -u planet-devel/feedparser.py /data/one/http/planet/feedparser.py --- planet-devel/feedparser.py 2004-02-08 23:23:57.000000000 +0000 +++ /data/one/http/planet/feedparser.py 2004-04-21 09:10:59.000000000 +0100 @@ -797,7 +797,14 @@ def normalize_attrs(self, attrs): # utility method to be called by descendants attrs = [(k.lower(), sgmllib.charref.sub(lambda m: unichr(int(m.groups()[0])), v).strip()) for k, v in attrs] + # dme: hack to code with the use of single quote delimiters for tag + # attributes (which sgmllib.SGMLParser doesn't support). + attrs = [(k, v.replace("'", "")) for k, v in attrs] attrs = [(k, k in ('rel', 'type') and v.lower() or v) for k, v in attrs] + # dme: flatten the attributes to utf-8 after unichr() made them + # unicode strings. + attrs = [(k, v.encode('utf-8')) for k, v in attrs] + return attrs def unknown_starttag(self, tag, attrs): @@ -941,7 +948,9 @@ p.feed(htmlSource) data = p.output() if mxtidy: - nerrors, nwarnings, data, errordata = mxtidy.tidy(data, output_xhtml=1, numeric_entities=1, wrap=0) + if type(data) == unicode: + data = data.encode('ascii', 'replace') + nerrors, nwarnings, data, errordata = mxtidy.tidy(data, output_xhtml=1, numeric_entities=1, wrap=0, char_encoding='utf8') if data.count(''): diff --recursive -u planet-devel/planet.py /data/one/http/planet/planet.py --- planet-devel/planet.py 2004-02-08 23:23:57.000000000 +0000 +++ /data/one/http/planet/planet.py 2004-04-21 09:04:05.000000000 +0100 @@ -138,6 +138,7 @@ info["title"] = newsitem.title info["summary"] = newsitem.summary info["content"] = newsitem.content + info["excerpt"] = newsitem.excerpt info["link"] = newsitem.link chaninfo = channels[newsitem.channel] diff --recursive -u planet-devel/planetlib.py /data/one/http/planet/planetlib.py --- planet-devel/planetlib.py 2004-02-08 23:23:57.000000000 +0000 +++ /data/one/http/planet/planetlib.py 2004-04-21 09:03:49.000000000 +0100 @@ -342,6 +342,7 @@ title: Title of the item summary: Summary of the content for the first page content: Content of the item + excerpt: Abbreviated content of the item link: Link associated with the item, generally the HTML version channel: Channel this NewsItem belongs to @@ -361,6 +362,15 @@ else: self.content = '' + self.excerpt = self.content[:200] + if len(self.content) > len(self.excerpt): + # this doesn't always work, as the insertion may + # occur in the middle of a tag, which causes it + # to be removed by santizeHTML + self.excerpt = self.excerpt + "..." + self.excerpt = feedparser.sanitizeHTML(self.excerpt) + + self.date = dict.get('modified_parsed') if self.date is None or self.date[3:6] == (0, 0, 0): self.date = self._cached_time() --Boundary_(ID_scQ4Fb4N4F+5FI4mX77ZkA)-- From jdub@slug.org.au Sun Apr 25 09:46:12 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 84F9B57DF for ; Sun, 25 Apr 2004 09:46:12 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 668BE57D0 for ; Sun, 25 Apr 2004 09:46:09 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id 9DE3310DF0D; Sun, 25 Apr 2004 18:46:00 +1000 (EST) Date: Sun, 25 Apr 2004 18:45:58 +1000 From: Jeff Waugh To: Planet Hackers Message-ID: <20040425084558.GD950@perkypants.org> Mail-Followup-To: Planet Hackers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Reply-By: Wed Apr 28 18:38:35 EST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 18:38:35 up 7:09, 4 users, load average: 0.08, 0.06, 0.13 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Subject: [Devel] Elite Entry Merging Technology (Plus Arch Merge) X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2004 08:46:12 -0000 Status: O Content-Length: 1216 Lines: 39 Hey, First up, I've merged all of Scott's changes into my archive. Hooray. I need to learn to take advantage of changesets properly, but actually committing changes as I make them. :-) Anyhow, on top of that, I've checked in a new_channel template flag, which is much like the new_date flag, but has a value when the source channel changes between items. For instance: Jeff's -> new_channel Thom's -> new_channel Scott's -> new_channel Scott's Jeff's -> new_channel Jeff's Jeff's Thom's -> new_channel Thom's Scott's -> new_channel This lets you have a single channel header for a group of 'merged' entries. I've wanted this on Planet GNOME because we have a few people who post very often, and having a face and channel header for every entry is annoying. I imagine this might be handy for a certain blogger on Planet Sun, too. ;-) I've updated the index.html.tmpl example to show off this new feature. I should check if we document these flags, too... Yay! - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "In the pre-Internet age, I was like an Internet kid, with a 3D search engine, trying to find weird stuff." - John Safran From scott@netsplit.com Sun Apr 25 15:19:23 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id F2A6C57DF for ; Sun, 25 Apr 2004 15:19:22 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6079F57AC for ; Sun, 25 Apr 2004 15:19:20 +0100 (BST) Received: (qmail 2640 invoked from network); 25 Apr 2004 14:19:19 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 25 Apr 2004 14:19:19 -0000 Subject: Re: [Devel] Elite Entry Merging Technology (Plus Arch Merge) From: Scott James Remnant To: Hack the Planet! In-Reply-To: <20040425084558.GD950@perkypants.org> References: <20040425084558.GD950@perkypants.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-jcbyJFeIp1KkPMm7dNx8" Message-Id: <1082902761.5576.2.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.7 Date: Sun, 25 Apr 2004 15:19:21 +0100 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2004 14:19:23 -0000 Status: O Content-Length: 1079 Lines: 39 --=-jcbyJFeIp1KkPMm7dNx8 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2004-04-25 at 18:45 +1000, Jeff Waugh wrote: > First up, I've merged all of Scott's changes into my archive. Hooray. I n= eed > to learn to take advantage of changesets properly, but actually committin= g > changes as I make them. :-) >=20 I've merged with you as well ... we're in sync again \o/ I've got a few things on the tip of my fingers to commit, including a "fancy" example with CSS for those that want to be running straight out of the box and look pretty and per-template configuration. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-jcbyJFeIp1KkPMm7dNx8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAi8jpIexP3IStZ2wRAgJtAKCsHx9DMfahhPSCy+/kk5ViiqnhjACeOsV8 dbuaUeEmyFkp7ZGGwdLGY3Q= =SXJP -----END PGP SIGNATURE----- --=-jcbyJFeIp1KkPMm7dNx8-- From jdub@slug.org.au Sun Apr 25 15:28:01 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 14FFD57E3 for ; Sun, 25 Apr 2004 15:28:01 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 68C9957EB for ; Sun, 25 Apr 2004 15:27:58 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id E054110E688; Mon, 26 Apr 2004 00:27:52 +1000 (EST) Date: Mon, 26 Apr 2004 00:27:51 +1000 From: Jeff Waugh To: Hack the Planet! Subject: Re: [Devel] Elite Entry Merging Technology (Plus Arch Merge) Message-ID: <20040425142751.GG950@perkypants.org> Mail-Followup-To: Hack the Planet! References: <20040425084558.GD950@perkypants.org> <1082902761.5576.2.camel@descent.netsplit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1082902761.5576.2.camel@descent.netsplit.com> Reply-By: Thu Apr 29 00:24:18 EST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 00:24:18 up 12:55, 4 users, load average: 0.00, 0.02, 0.00 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2004 14:28:01 -0000 Status: O Content-Length: 848 Lines: 26 > I've merged with you as well ... we're in sync again \o/ Hooray! \o/ | <- happy mans / \ > I've got a few things on the tip of my fingers to commit, including a > "fancy" example with CSS for those that want to be running straight out of > the box and look pretty and per-template configuration. Heh, I was thinking about doing one of those today too. I was getting too cocky with the simple example, and realised that we should have a totally inscrutible but mightily cool one in there. You'd better call it fancy.html.tmpl, or I'll... I'll rewrite it in PHP! - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "When's the last time you heard of the police having to intervene at an antiquarian book riot?" - Raph Levien From james@usr-local-bin.org Sun Apr 25 17:24:24 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 54E4457DF for ; Sun, 25 Apr 2004 17:24:24 +0100 (BST) Received: from pengo.systems.pipex.net (pengo.systems.pipex.net [62.241.160.193]) by amnesiac.heapspace.net (Postfix) with ESMTP id 080DA57AC for ; Sun, 25 Apr 2004 17:24:22 +0100 (BST) Received: from swamprat.homeunix.org (81-86-114-236.dsl.pipex.com [81.86.114.236]) by pengo.systems.pipex.net (Postfix) with ESMTP id E3FDE4C0017B for ; Sun, 25 Apr 2004 17:24:21 +0100 (BST) Received: from weasel (weasel [10.32.0.2]) by swamprat.homeunix.org (8.12.6/8.12.6/SuSE Linux 0.6) with ESMTP id i3PGOLYN029478 for ; Sun, 25 Apr 2004 17:24:21 +0100 Subject: Re: [Devel] Elite Entry Merging Technology (Plus Arch Merge) From: James Ogley To: Planet Hackers Content-Type: text/plain Organization: usr local bin Message-Id: <1082910260.19264.2.camel@weasel.internal.rubberturnip.org.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Rubber Turnip www.usr-local-bin.org Date: Sun, 25 Apr 2004 17:24:21 +0100 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2004 16:24:24 -0000 Status: O Content-Length: 514 Lines: 14 [Whoops, sent off-list] > First up, I've merged all of Scott's changes into my archive. Hooray. > I need to learn to take advantage of changesets properly, but > actually committing changes as I make them. :-) Is this reflected in the tarball download? -- James Ogley, UNIX Systems Administrator, Pinnacle Insurance Plc james.ogley@pinnacle.co.uk +44 (0) 20 8731 3619 www.pinnacle.co.uk Personal: james@rubberturnip.org.uk www.rubberturnip.org.uk Updated GNOME packages for SUSE LINUX: www.usr-local-bin.org From xach@xach.com Sun Apr 25 19:44:46 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 5195957EB for ; Sun, 25 Apr 2004 19:44:46 +0100 (BST) Received: from unnamed.xach.com (unnamed.xach.com [207.5.178.18]) by amnesiac.heapspace.net (Postfix) with SMTP id 4867A57DF for ; Sun, 25 Apr 2004 19:44:43 +0100 (BST) Received: (qmail 18096 invoked by uid 500); 25 Apr 2004 18:44:42 -0000 Date: Sun, 25 Apr 2004 14:44:42 -0400 From: Zach Beane To: devel@lists.planetplanet.org Message-ID: <20040425184442.GF12064@xach.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Subject: [Devel] item grouping X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2004 18:44:46 -0000 Status: O Content-Length: 691 Lines: 29 Instead of introducing magic template values like new_date and the new_channel thing, wouldn't it make sense to group consecutive channel items into a container (say a ChannelItem) and group ChannelItems from the same day into another container (say a DayItem)? That way the template would be simplified: TMPL_LOOP DayItems date stuff TMPL_LOOP ChannelItems channel heading stuff TMPL_LOOP Items item contents Instead of: TMPL_LOOP Items TMPL_IF new_date date stuff TMPL_IF new_channel new_channel stuff item contents There wouldn't be a bunch of conditionalizing logic in the template and in the code, you could just accumulate based on the author and date. Zach From scott@netsplit.com Sun Apr 25 19:53:08 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 1AE6A57DF for ; Sun, 25 Apr 2004 19:53:08 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6FB9657AC for ; Sun, 25 Apr 2004 19:53:05 +0100 (BST) Received: (qmail 8955 invoked from network); 25 Apr 2004 18:53:04 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 25 Apr 2004 18:53:04 -0000 Subject: Re: [Devel] item grouping From: Scott James Remnant To: Hack the Planet! In-Reply-To: <20040425184442.GF12064@xach.com> References: <20040425184442.GF12064@xach.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-tHGvMdNwVYFW3w9QeERS" Message-Id: <1082919186.19948.2.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.7 Date: Sun, 25 Apr 2004 19:53:06 +0100 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2004 18:53:08 -0000 Status: O Content-Length: 1179 Lines: 39 --=-tHGvMdNwVYFW3w9QeERS Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2004-04-25 at 14:44 -0400, Zach Beane wrote: > Instead of introducing magic template values like new_date and the > new_channel thing, wouldn't it make sense to group consecutive channel > items into a container (say a ChannelItem) and group ChannelItems from > the same day into another container (say a DayItem)? >=20 The idea of the new_date and new_channel variables is that sites can then choose whether to do anything or not. If they were required to put the loops in, it makes it dirtier for people not using that functionality. Also I'm not entirely sure you can even have nested loops... Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-tHGvMdNwVYFW3w9QeERS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAjAkSIexP3IStZ2wRAgvMAJwOQGYyiv0ttA6F/m0qZRBMivzs2gCfbY9T y0IvXvS80JitBqkHaRtiD1s= =Lxwq -----END PGP SIGNATURE----- --=-tHGvMdNwVYFW3w9QeERS-- From menesis@chatsubo.lt Sun Apr 25 21:21:13 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id D4A7357AC for ; Sun, 25 Apr 2004 21:21:13 +0100 (BST) Received: from chatsubo.lt (chatsubo.lt [213.226.169.18]) by amnesiac.heapspace.net (Postfix) with ESMTP id 2C7C957D0 for ; Sun, 25 Apr 2004 21:21:11 +0100 (BST) Received: from menesis by chatsubo.lt with local (Exim 3.36 #1 (Debian)) id 1BHq7n-0005W2-00 for ; Sun, 25 Apr 2004 23:21:15 +0300 Date: Sun, 25 Apr 2004 23:21:15 +0300 From: Gediminas Paulauskas To: devel@lists.planetplanet.org Message-ID: <20040425202115.GA21027@kalnieciai.lt> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline X-URL: http://menesis.lietuvybe.org/ User-Agent: Mutt/1.5.5.1+cvs20040105i Sender: Gediminas X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Subject: [Devel] days per page fix X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2004 20:21:14 -0000 Status: O Content-Length: 1285 Lines: 42 --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=windows-1257 Content-Disposition: inline I used the new days_per_page feature, but it contained two bugs: 1) planet often came up blank. 2) some new posts did not show up. 1) is fixed by changing break to continue to skip items, 2) turned out to be caused by movable type's inability to cope with daylight saving time correctly - either time of posting is increased by an hour, or wrong timezone is put into rss feeds. So some posts end up being in future, and don't show up in planet for an hour. Attached is a patch which fixes both. Gediminas --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=windows-1257 Content-Disposition: attachment; filename="days_per_page_fix.diff" --- orig/planet.py +++ mod/planet.py @@ -173,10 +173,10 @@ date = time.gmtime(date_raw) if prev_date != date[:3]: - if days_per_page != 0: + if days_per_page != 0 and date_today_raw > date_raw: days_passed = time.gmtime(date_today_raw - date_raw).tm_yday if days_passed >= days_per_page: - break + continue info["new_date"] = time.strftime("%B %d, %Y", date) prev_date = date[:3] --Q68bSM7Ycu6FN28Q-- From jdub@slug.org.au Sun Apr 25 23:26:05 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 1960E57D8 for ; Sun, 25 Apr 2004 23:26:05 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6A9C957AC for ; Sun, 25 Apr 2004 23:26:02 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id C4D2010DE14; Mon, 26 Apr 2004 08:25:56 +1000 (EST) Date: Mon, 26 Apr 2004 08:25:55 +1000 From: Jeff Waugh To: Zach Beane Message-ID: <20040425222555.GI950@perkypants.org> Mail-Followup-To: Zach Beane , devel@lists.planetplanet.org References: <20040425184806.GG12064@xach.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040425184806.GG12064@xach.com> Reply-By: Thu Apr 29 08:24:05 EST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 08:24:05 up 20:54, 4 users, load average: 0.46, 0.28, 0.10 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org Subject: [Devel] Re: planetplanet site X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2004 22:26:05 -0000 Status: O Content-Length: 726 Lines: 21 > Heya jdub. I switched Planet Lisp from the original Planet software, so > could I trouble you to zap the link from the front of planetplanet.org? It > was invaluable for getting started, but it belongs in a "Used to power" > section on that page, if such a thing existed. Oh, hey, so the Perl guys could stomach their aggregator being written in Python, BUT NOT SO THOSE CRAZY LISP GUYS! NOOOOO! ;-) Forwarding to the devel list so Scott can zap it with his zappy-zappeur. Thanks, - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "I am a pitbull on the pantleg of opportunity." - George W. Bush (by way of Miles Nordin) From simos74@gmx.net Mon Apr 26 07:39:10 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 35B1457E3 for ; Mon, 26 Apr 2004 07:39:10 +0100 (BST) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id 254FB57D8 for ; Mon, 26 Apr 2004 07:39:07 +0100 (BST) Received: (qmail 28066 invoked by uid 65534); 26 Apr 2004 06:39:05 -0000 Received: from unknown (EHLO [192.168.0.6]) (219.94.59.161) by mail.gmx.net (mp005) with SMTP; 26 Apr 2004 08:39:05 +0200 X-Authenticated: #10070094 From: Simos Xenitellis To: Planet Planet Dev List Content-Type: multipart/mixed; boundary="=-fe7+AwV7hhzUE+irVCYG" Message-Id: <1082961542.4731.9.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 26 Apr 2004 14:39:02 +0800 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.6 required=5.0 tests=AWL,BAYES_00, FROM_ENDS_IN_NUMS,HTML_MESSAGE,HTML_TITLE_EMPTY autolearn=no version=2.63 Subject: [Devel] Patch to add 'favicon' support X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 06:39:10 -0000 Status: O Content-Length: 3726 Lines: 104 --=-fe7+AwV7hhzUE+irVCYG Content-Type: text/plain Content-Transfer-Encoding: 7bit To create a new option for config.ini to define a favicon for the Planet. Test with http://xnum.sourceforge.net/PlanetHellas/planeticon.png The patch is based on the latest GnuArch shapshot. simos --=-fe7+AwV7hhzUE+irVCYG Content-Disposition: attachment; filename=planet-favicon-support.diff Content-Type: text/x-patch; name=planet-favicon-support.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit diff -uwr orig/examples/config.ini mod/examples/config.ini --- orig/examples/config.ini 2004-04-26 11:51:00.000000000 +0800 +++ mod/examples/config.ini 2004-04-26 12:37:41.000000000 +0800 @@ -4,10 +4,12 @@ [Planet] # name: Your planet's name # link: Link to the main page +# favicon: Filename of favicon file. # owner_name: Your name # owner_email: Your e-mail address name = Planet Zog link = http://www.planet.zog/ +favicon = images/planeticon.png owner_name = Zig The Alien owner_email = zig@planet.zog diff -uwr orig/examples/index.html.tmpl mod/examples/index.html.tmpl --- orig/examples/index.html.tmpl 2004-04-26 11:51:00.000000000 +0800 +++ mod/examples/index.html.tmpl 2004-04-26 12:19:03.000000000 +0800 @@ -23,6 +23,8 @@ <TMPL_VAR name> + diff -uwr orig/fancy-examples/config.ini mod/fancy-examples/config.ini --- orig/fancy-examples/config.ini 2004-04-26 11:51:00.000000000 +0800 +++ mod/fancy-examples/config.ini 2004-04-26 12:34:37.000000000 +0800 @@ -6,10 +6,12 @@ [Planet] # name: Your planet's name # link: Link to the main page +# planet: Link to favicon file. # owner_name: Your name # owner_email: Your e-mail address name = Planet Schmanet link = http://planet.schmanet.janet/ +favicon = images/planeticon.png owner_name = Janet Weiss owner_email = janet@slut.sex diff -uwr orig/fancy-examples/index.html.tmpl mod/fancy-examples/index.html.tmpl --- orig/fancy-examples/index.html.tmpl 2004-04-26 11:51:00.000000000 +0800 +++ mod/fancy-examples/index.html.tmpl 2004-04-26 12:33:46.000000000 +0800 @@ -15,6 +15,7 @@ <TMPL_VAR name> + diff -uwr orig/planet.py mod/planet.py --- orig/planet.py 2004-04-26 11:51:01.000000000 +0800 +++ mod/planet.py 2004-04-26 12:15:26.000000000 +0800 @@ -31,6 +31,7 @@ CONFIG_FILE = 'config.ini' PLANET_NAME = 'Unconfigured Planet' PLANET_LINK = 'Unconfigured Planet' +PLANET_FAVICON = 'favicon.png' OWNER_NAME = 'Anonymous Coward' OWNER_EMAIL = '' TEMPLATE_FILES = " ".join(('examples/planet.html.tmpl', @@ -90,6 +91,7 @@ # Read the global configuration values planet_name = config_get(config, 'Planet', 'name', PLANET_NAME) planet_link = config_get(config, 'Planet', 'link', PLANET_LINK) + planet_favicon = config_get(config, 'Planet', 'favicon', PLANET_FAVICON) owner_name = config_get(config, 'Planet', 'owner_name', OWNER_NAME) owner_email = config_get(config, 'Planet', 'owner_email', OWNER_EMAIL) if config.has_option('Planet', 'cache_directory'): @@ -220,6 +222,7 @@ tp = TemplateProcessor(html_escape=0) tp.set("name", planet_name) tp.set("link", planet_link) + tp.set("favicon", planet_favicon) tp.set("owner_name", owner_name) tp.set("owner_email", owner_email) tp.set("uri", uri) --=-fe7+AwV7hhzUE+irVCYG-- From simos74@gmx.net Mon Apr 26 07:50:15 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id A80EF57E3 for ; Mon, 26 Apr 2004 07:50:15 +0100 (BST) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id 32CE957AC for ; Mon, 26 Apr 2004 07:50:13 +0100 (BST) Received: (qmail 32576 invoked by uid 65534); 26 Apr 2004 06:50:11 -0000 Received: from unknown (EHLO [192.168.0.6]) (219.94.59.161) by mail.gmx.net (mp001) with SMTP; 26 Apr 2004 08:50:11 +0200 X-Authenticated: #10070094 From: Simos Xenitellis To: Planet Planet Dev List Content-Type: text/plain Message-Id: <1082962206.4731.21.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 26 Apr 2004 14:50:06 +0800 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.7 required=5.0 tests=AWL,BAYES_00, FROM_ENDS_IN_NUMS autolearn=no version=2.63 Subject: [Devel] Patch for locale support X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 06:50:15 -0000 Status: O Content-Length: 787 Lines: 20 Suppose you want to translate Planet to your own language. You can translate the strings in the template file. However, the dates that appear on the page are in English even if LANG=somethingelse, because planet.py does not have support for locales. Example: Set LANG=el_GR.UTF-8 (Greek language) and generate the output files of planet. The dates will be in the local language (you do not need to translate for these as the month/day names comes from glibc translations (you DID translate those, didn't you?)). This patch is now elemental but could be the basis for a complete localised Planet interface as Python is gettext-friendly. "planet.py" would generate index.html.en, index.html.el, index.html.es, etc for different languages and the browser would choose and pick. simos From simos74@gmx.net Mon Apr 26 08:26:07 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 4471857D8 for ; Mon, 26 Apr 2004 08:26:07 +0100 (BST) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id C9E6357AC for ; Mon, 26 Apr 2004 08:26:04 +0100 (BST) Received: (qmail 21900 invoked by uid 65534); 26 Apr 2004 07:26:03 -0000 Received: from unknown (EHLO [192.168.0.6]) (219.94.59.161) by mail.gmx.net (mp001) with SMTP; 26 Apr 2004 09:26:03 +0200 X-Authenticated: #10070094 Subject: Re: [Devel] Patch for locale support From: Simos Xenitellis To: Planet Planet Dev List In-Reply-To: <1082962206.4731.21.camel@kl.asia.com> References: <1082962206.4731.21.camel@kl.asia.com> Content-Type: multipart/mixed; boundary="=-RXQWInaLLWwnczO3u5xZ" Message-Id: <1082964360.4731.26.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 26 Apr 2004 15:26:00 +0800 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00, FROM_ENDS_IN_NUMS autolearn=no version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 07:26:07 -0000 Status: O Content-Length: 1874 Lines: 63 --=-RXQWInaLLWwnczO3u5xZ Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, 2004-04-26 at 14:50, Simos Xenitellis wrote: > Suppose you want to translate Planet to your own language. You can > translate the strings in the template file. However, the dates that > appear on the page are in English even if LANG=somethingelse, because > planet.py does not have support for locales. > > Example: > Set LANG=el_GR.UTF-8 (Greek language) and generate the output files of > planet. The dates will be in the local language (you do not need to > translate for these as the month/day names comes from glibc translations > (you DID translate those, didn't you?)). > > This patch is now elemental but could be the basis for a complete > localised Planet interface as Python is gettext-friendly. "planet.py" > would generate index.html.en, index.html.el, index.html.es, etc for > different languages and the browser would choose and pick. > > simos > > > _______________________________________________ > Devel mailing list > Devel@lists.planetplanet.org > http://lists.planetplanet.org/mailman/listinfo/devel > --=-RXQWInaLLWwnczO3u5xZ Content-Disposition: attachment; filename=planet-locale-support-2.diff Content-Type: text/x-patch; name=planet-locale-support-2.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit diff -uwr orig/planet.py mod/planet.py --- orig/planet.py 2004-04-26 11:51:01.000000000 +0800 +++ mod/planet.py 2004-04-26 13:32:43.000000000 +0800 @@ -14,6 +14,9 @@ import sys import time import os +import locale +from gettext import gettext as _ +from gettext import bindtextdomain, textdomain try: import logging @@ -61,6 +65,10 @@ if __name__ == "__main__": + """Set locale to environment locale.""" + locale.setlocale(locale.LC_ALL, "") + config_file = CONFIG_FILE offline = 0 --=-RXQWInaLLWwnczO3u5xZ-- From menesis@delfi.lt Mon Apr 26 09:32:03 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id C9E3257D8 for ; Mon, 26 Apr 2004 09:32:03 +0100 (BST) Received: from kauneta.net (unknown [81.7.65.8]) by amnesiac.heapspace.net (Postfix) with ESMTP id 4C49357AC for ; Mon, 26 Apr 2004 09:32:01 +0100 (BST) Received: from [172.16.1.48] (helo=maumas) by kauneta.net with smtp (Exim 4.30) id 1BI1Wi-000Iw5-NE; Mon, 26 Apr 2004 11:31:44 +0300 Received: by maumas (sSMTP sendmail emulation); Mon, 26 Apr 2004 11:31:43 +0300 Subject: Re: [Devel] Patch to add 'favicon' support From: Gediminas Paulauskas To: Simos Xenitellis In-Reply-To: <1082961542.4731.9.camel@kl.asia.com> References: <1082961542.4731.9.camel@kl.asia.com> Content-Type: text/plain; charset=CP1257 Content-Transfer-Encoding: quoted-printable Message-Id: <1082968303.3958.2.camel@maumas> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.7 Date: Mon, 26 Apr 2004 11:31:43 +0300 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Cc: Planet Planet Dev List X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 08:32:04 -0000 Status: O Content-Length: 363 Lines: 11 2004 04 26 14:39 +0800, Simos Xenitellis ra=F0=EB: > To create a new option for config.ini to define a favicon for the > Planet. > Test with http://xnum.sourceforge.net/PlanetHellas/planeticon.png Isn't it simplier to just add the favicon to index template file? It is used only in one place, and there are other site-specific stuff in index anyway. Gediminas From jdub@slug.org.au Mon Apr 26 09:54:07 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 4C7F557E3 for ; Mon, 26 Apr 2004 09:54:07 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 7450B57AC for ; Mon, 26 Apr 2004 09:54:03 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id 03FB510DE38; Mon, 26 Apr 2004 18:53:56 +1000 (EST) Date: Mon, 26 Apr 2004 18:53:56 +1000 From: Jeff Waugh To: Gediminas Paulauskas Subject: Re: [Devel] Patch to add 'favicon' support Message-ID: <20040426085356.GN950@perkypants.org> Mail-Followup-To: Gediminas Paulauskas , Simos Xenitellis , Planet Planet Dev List References: <1082961542.4731.9.camel@kl.asia.com> <1082968303.3958.2.camel@maumas> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1082968303.3958.2.camel@maumas> Reply-By: Thu Apr 29 18:53:23 EST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 18:53:23 up 1 day, 7:24, 5 users, load average: 0.01, 0.02, 0.00 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: Planet Planet Dev List X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 08:54:07 -0000 Status: O Content-Length: 755 Lines: 22 > 2004 04 26 14:39 +0800, Simos Xenitellis rašė: > > To create a new option for config.ini to define a favicon for the > > Planet. Test with > > http://xnum.sourceforge.net/PlanetHellas/planeticon.png > > Isn't it simplier to just add the favicon to index template file? It is > used only in one place, and there are other site-specific stuff in index > anyway. Yeah, I think I agree. Best to leave this to the template. Anyone else? - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "So between a jazz musician, a murderer, and a congressperson, all called 'Dave Camp', I have a lot of pressure to be evil." - GNOME's Dave Camp From thom@planetarytramp.net Mon Apr 26 09:55:14 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 4C76F57DF; Mon, 26 Apr 2004 09:55:14 +0100 (BST) Received: from fugue.home.clearairturbulence.org (dev.bitch-whore.com [213.208.111.147]) by amnesiac.heapspace.net (Postfix) with ESMTP id AC7D257AC; Mon, 26 Apr 2004 09:55:11 +0100 (BST) Received: by fugue.home.clearairturbulence.org (Postfix, from userid 1000) id 22CAA17746C; Mon, 26 Apr 2004 09:55:14 +0100 (BST) Date: Mon, 26 Apr 2004 09:55:14 +0100 From: Thom May To: Gediminas Paulauskas , Simos Xenitellis , Planet Planet Dev List Subject: Re: [Devel] Patch to add 'favicon' support Message-ID: <20040426085513.GK11422@fugue.home.clearairturbulence.org> References: <1082961542.4731.9.camel@kl.asia.com> <1082968303.3958.2.camel@maumas> <20040426085356.GN950@perkypants.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20040426085356.GN950@perkypants.org> X-Operating-System: Linux/2.6.6-rc1-mm1 (ppc) User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 08:55:14 -0000 Status: O Content-Length: 581 Lines: 17 * Jeff Waugh (jdub@perkypants.org) wrote : > > > > 2004 04 26 14:39 +0800, Simos Xenitellis ra????: > > > To create a new option for config.ini to define a favicon for the > > > Planet. Test with > > > http://xnum.sourceforge.net/PlanetHellas/planeticon.png > > > > Isn't it simplier to just add the favicon to index template file? It is > > used only in one place, and there are other site-specific stuff in index > > anyway. > > Yeah, I think I agree. Best to leave this to the template. Anyone else? > Agreed from the peanut gallery. -T From jdub@slug.org.au Mon Apr 26 09:58:06 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 06FB957AC for ; Mon, 26 Apr 2004 09:58:06 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6091457D1 for ; Mon, 26 Apr 2004 09:58:03 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id 0991710DE38; Mon, 26 Apr 2004 18:58:01 +1000 (EST) Date: Mon, 26 Apr 2004 18:58:01 +1000 From: Jeff Waugh To: Gediminas Paulauskas Subject: Re: [Devel] days per page fix Message-ID: <20040426085801.GO950@perkypants.org> Mail-Followup-To: Gediminas Paulauskas , devel@lists.planetplanet.org References: <20040425202115.GA21027@kalnieciai.lt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040425202115.GA21027@kalnieciai.lt> Reply-By: Thu Apr 29 18:57:21 EST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 18:57:21 up 1 day, 7:28, 5 users, load average: 0.09, 0.03, 0.01 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 08:58:06 -0000 Status: O Content-Length: 920 Lines: 29 > I used the new days_per_page feature, but it contained two bugs: > 1) planet often came up blank. > 2) some new posts did not show up. > > 1) is fixed by changing break to continue to skip items, 2) turned out > to be caused by movable type's inability to cope with daylight saving > time correctly - either time of posting is increased by an hour, or > wrong timezone is put into rss feeds. So some posts end up being in > future, and don't show up in planet for an hour. > > Attached is a patch which fixes both. Hey Gediminas, Could you please check this against the latest in Arch? It has changed somewhat since you wrote this patch. Thanks, - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "What's up with that word though... it's like something you did to frogs in grammar school." - Ani DiFranco on bisexuality From scott@netsplit.com Mon Apr 26 15:40:06 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id EE29357C2 for ; Mon, 26 Apr 2004 15:40:05 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 201A257D8 for ; Mon, 26 Apr 2004 15:40:03 +0100 (BST) Received: (qmail 1392 invoked from network); 26 Apr 2004 14:40:02 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 26 Apr 2004 14:40:02 -0000 Subject: Re: [Devel] Patch to add 'favicon' support From: Scott James Remnant To: Hack the Planet! In-Reply-To: <20040426085356.GN950@perkypants.org> References: <1082961542.4731.9.camel@kl.asia.com> <1082968303.3958.2.camel@maumas> <20040426085356.GN950@perkypants.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-MaoVj7SjANyJDVo9SkuS" Message-Id: <1082990405.19948.6.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.7 Date: Mon, 26 Apr 2004 15:40:05 +0100 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 14:40:06 -0000 Status: O Content-Length: 1190 Lines: 45 --=-MaoVj7SjANyJDVo9SkuS Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 2004-04-26 at 18:53 +1000, Jeff Waugh wrote: > >=20 > > 2004 04 26 14:39 +0800, Simos Xenitellis ra=C5=A1=C4=97: > > > To create a new option for config.ini to define a favicon for the > > > Planet. Test with > > > http://xnum.sourceforge.net/PlanetHellas/planeticon.png > >=20 > > Isn't it simplier to just add the favicon to index template file? It is > > used only in one place, and there are other site-specific stuff in inde= x > > anyway. >=20 > Yeah, I think I agree. Best to leave this to the template. Anyone else? >=20 Carried, The lips have it. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-MaoVj7SjANyJDVo9SkuS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAjR9EIexP3IStZ2wRAs8KAKCm2vwhkjTKAPO9a9NwT5q1K9oyuQCgrZgK rh4sgyjqUXZ2ko9/XWzJVfI= =T4RB -----END PGP SIGNATURE----- --=-MaoVj7SjANyJDVo9SkuS-- From scott@netsplit.com Mon Apr 26 15:48:04 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 9A0F157E9 for ; Mon, 26 Apr 2004 15:48:04 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id D903857D8 for ; Mon, 26 Apr 2004 15:48:01 +0100 (BST) Received: (qmail 1538 invoked from network); 26 Apr 2004 14:48:01 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 26 Apr 2004 14:48:01 -0000 Subject: Re: [Devel] Patch for locale support From: Scott James Remnant To: Simos Xenitellis In-Reply-To: <1082962206.4731.21.camel@kl.asia.com> References: <1082962206.4731.21.camel@kl.asia.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-0Maki8IrXiG49N0WvKUP" Message-Id: <1082990884.19948.15.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.7 Date: Mon, 26 Apr 2004 15:48:04 +0100 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: Hack the Planet! X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 14:48:04 -0000 Status: O Content-Length: 2183 Lines: 64 --=-0Maki8IrXiG49N0WvKUP Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-04-26 at 14:50 +0800, Simos Xenitellis wrote: > Suppose you want to translate Planet to your own language. You can > translate the strings in the template file. However, the dates that > appear on the page are in English even if LANG=3Dsomethingelse, because > planet.py does not have support for locales. >=20 The trouble is this will translate the RFC822 dates as well, which are required to be in English. date_format was already intended to allow date format customisation, if this doesn't allow you to specify the language for the day/month names; how can we modify that to do so? We should also consider extracting the appropriate language content and titles from the feeds, if they support that (Atom does, at least) from this same setting. Then you could go: [zog/index.html.es.tmpl] language =3D es date_format =3D ... To have a Spanish version of the page, including Spanish blog content where available. > This patch is now elemental but could be the basis for a complete > localised Planet interface as Python is gettext-friendly. "planet.py" > would generate index.html.en, index.html.el, index.html.es, etc for > different languages and the browser would choose and pick. >=20 This wouldn't translate anything other than the dates (and maybe if we pick the above up, the content). All of the side-bar decoration and everything would still be in English (or whatever language you wrote it in the template). I think I'd prefer planet not to automatically do this, instead relying on the site admin to add appropriate alternate language templates with a complete translation. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-0Maki8IrXiG49N0WvKUP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAjSEkIexP3IStZ2wRAgs3AJ9KQrzcKT2SLpEryC2s9ATrPo0EKACfQP6U cZLMvVIeJBZP6NoYCHuOJZk= =ZE80 -----END PGP SIGNATURE----- --=-0Maki8IrXiG49N0WvKUP-- From mjr@towers.org.uk Wed Apr 28 01:26:48 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 2B9E757DF for ; Wed, 28 Apr 2004 01:26:48 +0100 (BST) Received: from colossus.systems.pipex.net (colossus.systems.pipex.net [62.241.160.73]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0BCBE57AC for ; Wed, 28 Apr 2004 01:26:45 +0100 (BST) Received: from me (81-86-163-141.dsl.pipex.com [81.86.163.141]) by colossus.systems.pipex.net (Postfix) with SMTP id E85961C006C1 for ; Wed, 28 Apr 2004 01:26:43 +0100 (BST) Received: (nullmailer pid 980 invoked by uid 1000); Wed, 28 Apr 2004 00:26:34 -0000 Date: Wed, 28 Apr 2004 01:26:33 +0100 Subject: Re: [Devel] Re: planetplanet site Message-ID: MIME-Version: 1.0 (Generated by Pantomime 1.1.2) From: MJ Ray To: devel@lists.planetplanet.org Organization: Very poor In-Reply-To: <20040425222555.GI950@perkypants.org> X-Mailer: GNUMail.app (Version 1.1.2) Content-Type: text/plain; charset="us-ascii"; format="flowed" X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 00:26:48 -0000 Status: O Content-Length: 666 Lines: 17 On 2004-04-25 23:25:55 +0100 Jeff Waugh wrote: > Oh, hey, so the Perl guys could stomach their aggregator being > written in > Python, BUT NOT SO THOSE CRAZY LISP GUYS! NOOOOO! ;-) Forwarding to > the > devel list so Scott can zap it with his zappy-zappeur. Some of us have lisp implementations of the idea because we view aggregation as a fun application of relatively simple set theory, while most lisps handle sets and trees of data (eg xml files) neatly. Nothing against python, but where's the fun in building the planet from the channels with a recipe? ;-) -- MJR/slef My Opinion Only and possibly not of any group I know. From jdub@slug.org.au Wed Apr 28 01:42:56 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 767ED57E7 for ; Wed, 28 Apr 2004 01:42:56 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 2632957DF for ; Wed, 28 Apr 2004 01:42:54 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id 2463E10DF1A; Wed, 28 Apr 2004 10:42:43 +1000 (EST) Date: Wed, 28 Apr 2004 10:42:44 +1000 From: Jeff Waugh To: MJ Ray Subject: Re: [Devel] Re: planetplanet site Message-ID: <20040428004244.GP30570@perkypants.org> Mail-Followup-To: MJ Ray , devel@lists.planetplanet.org References: <20040425222555.GI950@perkypants.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Message-Flag: Cranky? Try Free Software instead! X-Operating-System: Linux 2.6.3-ben2 ppc Reply-By: Sat May 1 10:38:20 EST 2004 X-Uptime: 10:38:20 up 2 days, 23:09, 6 users, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 00:42:56 -0000 Status: O Content-Length: 1419 Lines: 35 > On 2004-04-25 23:25:55 +0100 Jeff Waugh wrote: > > > Oh, hey, so the Perl guys could stomach their aggregator being written > > in Python, BUT NOT SO THOSE CRAZY LISP GUYS! NOOOOO! ;-) Forwarding to > > the devel list so Scott can zap it with his zappy-zappeur. > > Some of us have lisp implementations of the idea because we view > aggregation as a fun application of relatively simple set theory, while > most lisps handle sets and trees of data (eg xml files) neatly. Nothing > against python, but where's the fun in building the planet from the > channels with a recipe? ;-) Totally. The other implementations are rad, and I want to have pointers to them and sites based on them listed on planetplanet.org (which wasn't just meant to be a home page for Planet, but there's work to do there, and Planet needed a home). So far we have: * the Planet RDF one, which uses redland and python * monologue, which powers monologue, written in C#/Mono * the Planet Lisp one, which is lispy -> is it available somewhere? * spycyroll/pyblagg, an ancient ancestor of Planet * rawdog, another simple Python one, but kinda different approach Any others? - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ On a clear day, I bet you can really see the class struggle from that penthouse of yours. From mary@home.puzzling.org Wed Apr 28 01:57:20 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id DD68157DF for ; Wed, 28 Apr 2004 01:57:19 +0100 (BST) Received: from mail.syd.swiftdsl.com.au (mail.syd.swiftdsl.com.au [202.154.83.58]) by amnesiac.heapspace.net (Postfix) with SMTP id DF0E257AC for ; Wed, 28 Apr 2004 01:57:16 +0100 (BST) Received: (qmail 24769 invoked from network); 28 Apr 2004 00:57:13 -0000 Received: from unknown (HELO home.puzzling.org) (218.214.66.203) by mail.syd.swiftdsl.com.au with SMTP; 28 Apr 2004 00:57:13 -0000 Received: from localhost (flay [127.0.0.1]) by home.puzzling.org (Postfix) with ESMTP id 978517882FE for ; Wed, 28 Apr 2004 10:57:11 +1000 (EST) Received: from home.puzzling.org ([127.0.0.1]) by localhost (flay [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06191-04 for ; Wed, 28 Apr 2004 10:57:11 +1000 (EST) Received: from titus.home.puzzling.org (titus.home.puzzling.org [10.0.0.2]) by home.puzzling.org (Postfix) with SMTP id 7E3C87882DB for ; Wed, 28 Apr 2004 10:57:11 +1000 (EST) Received: (nullmailer pid 8875 invoked by uid 1001); Wed, 28 Apr 2004 00:57:11 -0000 Date: Wed, 28 Apr 2004 10:57:11 +1000 From: Mary Gardiner To: devel@lists.planetplanet.org Subject: Re: [Devel] Re: planetplanet site Message-ID: <20040428005711.GB8378@titus.home.puzzling.org> References: <20040425222555.GI950@perkypants.org> <20040428004244.GP30570@perkypants.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040428004244.GP30570@perkypants.org> X-Nihilism: Consistency is all I ask... Give us this day our daily mask. X-GPG-Key: 1024D/77625870 X-GPG-Fingerprint: B141 CD1A 4603 1CD7 6D64 EFBF D256 C568 7762 5870 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at home.puzzling.org X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 00:57:20 -0000 Status: O Content-Length: 653 Lines: 18 On Wed, Apr 28, 2004, Jeff Waugh wrote: > So far we have: > > * the Planet RDF one, which uses redland and python > * monologue, which powers monologue, written in C#/Mono > * the Planet Lisp one, which is lispy -> is it available somewhere? > * spycyroll/pyblagg, an ancient ancestor of Planet > * rawdog, another simple Python one, but kinda different approach > > Any others? http://planet.ucc.asn.au/ appear to be using yet another developed by one of the maintainers of the site. It's apparently in their CVS at http://cvs.ucc.asn.au/cgi-bin/viewcvs.cgi/projects/planetucc/ but I'm relying on the Google cache to tell me that. -Mary From simos74@gmx.net Wed Apr 28 05:48:42 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id E143057DF for ; Wed, 28 Apr 2004 05:48:41 +0100 (BST) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id BA14957AC for ; Wed, 28 Apr 2004 05:48:40 +0100 (BST) Received: (qmail 17170 invoked by uid 65534); 28 Apr 2004 04:48:39 -0000 Received: from unknown (EHLO [192.168.0.6]) (219.95.133.254) by mail.gmx.net (mp006) with SMTP; 28 Apr 2004 06:48:39 +0200 X-Authenticated: #10070094 From: Simos Xenitellis To: Planet Planet Dev List Content-Type: text/plain Message-Id: <1083127715.5909.36.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 28 Apr 2004 12:48:36 +0800 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00, FROM_ENDS_IN_NUMS autolearn=no version=2.63 Subject: [Devel] Setting utf-8 for XML feeds X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 04:48:42 -0000 Status: O Content-Length: 369 Lines: 17 The default templates for the XML feeds (FOAF, OPML, etc) do not specify an encoding. I believe that, even for english-only blogs, there is a need to set this to utf-8. Any comments? To fix, change the first line for the XML feed templates from to simos http://planet.hellug.gr/ (finally it's up) From jdub@slug.org.au Wed Apr 28 05:52:30 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id C64E957E3 for ; Wed, 28 Apr 2004 05:52:30 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6B86957D8 for ; Wed, 28 Apr 2004 05:52:29 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id 37D4210DE3C; Wed, 28 Apr 2004 14:52:24 +1000 (EST) Date: Wed, 28 Apr 2004 14:52:24 +1000 From: Jeff Waugh To: Planet Planet Dev List Subject: Re: [Devel] Setting utf-8 for XML feeds Message-ID: <20040428045224.GY30570@perkypants.org> Mail-Followup-To: Planet Planet Dev List References: <1083127715.5909.36.camel@kl.asia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1083127715.5909.36.camel@kl.asia.com> Reply-By: Sat May 1 14:52:00 EST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 14:52:01 up 3 days, 3:22, 6 users, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 04:52:31 -0000 Status: O Content-Length: 631 Lines: 28 > The default templates for the XML feeds (FOAF, OPML, etc) do not specify > an encoding. > > I believe that, even for english-only blogs, there is a need to set this > to utf-8. Any comments? > > To fix, change the first line for the XML feed templates from > > to > Yeah, good call. Will do that now. > http://planet.hellug.gr/ (finally it's up) Yay! Thanks, - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "Debian is not as minor as many business end people think." - Alan Cox From scott@netsplit.com Wed Apr 28 05:52:38 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 25BBD57F0 for ; Wed, 28 Apr 2004 05:52:38 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 9631057EB for ; Wed, 28 Apr 2004 05:52:36 +0100 (BST) Received: (qmail 16864 invoked from network); 28 Apr 2004 04:52:34 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 28 Apr 2004 04:52:34 -0000 Subject: Re: [Devel] Setting utf-8 for XML feeds From: Scott James Remnant To: Simos Xenitellis , Hack the Planet! In-Reply-To: <1083127715.5909.36.camel@kl.asia.com> References: <1083127715.5909.36.camel@kl.asia.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Ha31P5FscN3wtAmEHJx6" Message-Id: <1083127960.2533.21.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.7 Date: Wed, 28 Apr 2004 05:52:40 +0100 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 04:52:38 -0000 Status: O Content-Length: 778 Lines: 32 --=-Ha31P5FscN3wtAmEHJx6 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2004-04-28 at 12:48 +0800, Simos Xenitellis wrote: > The default templates for the XML feeds (FOAF, OPML, etc) do not specify > an encoding. >=20 The default encoding for XML feeds is always UTF-8. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-Ha31P5FscN3wtAmEHJx6 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAjziXIexP3IStZ2wRAi2XAJoCgqu8Cr8/b/9/liunyZWhkWFccgCfQyXw gYkypis0QKaf6pZKyA3Q4xo= =Khz7 -----END PGP SIGNATURE----- --=-Ha31P5FscN3wtAmEHJx6-- From jdub@slug.org.au Wed Apr 28 05:59:54 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id E370157DF for ; Wed, 28 Apr 2004 05:59:53 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 8EC3257AC for ; Wed, 28 Apr 2004 05:59:52 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id 2B40B10DE3C; Wed, 28 Apr 2004 14:59:51 +1000 (EST) Date: Wed, 28 Apr 2004 14:59:52 +1000 From: Jeff Waugh To: Hack the Planet! Subject: Re: [Devel] Setting utf-8 for XML feeds Message-ID: <20040428045952.GZ30570@perkypants.org> Mail-Followup-To: Hack the Planet! References: <1083127715.5909.36.camel@kl.asia.com> <1083127960.2533.21.camel@descent.netsplit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1083127960.2533.21.camel@descent.netsplit.com> Reply-By: Sat May 1 14:58:53 EST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 14:58:53 up 3 days, 3:29, 6 users, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 04:59:54 -0000 Status: O Content-Length: 573 Lines: 19 > > The default templates for the XML feeds (FOAF, OPML, etc) do not specify > > an encoding. > > The default encoding for XML feeds is always UTF-8. Plus, Scott tells me that it may cause incompatibilities because there is a lot of Dumb Software out there. May as well leave it unspecified, in that case. - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ Snow Crash was a terrible book: Superheroes wear their underpants on the outside, not for two weeks without changing them. From jdub@slug.org.au Wed Apr 28 06:06:10 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 16E8457E3 for ; Wed, 28 Apr 2004 06:06:10 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 91E3D57D8 for ; Wed, 28 Apr 2004 06:06:08 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id 393FB10DE3C; Wed, 28 Apr 2004 15:06:07 +1000 (EST) Date: Wed, 28 Apr 2004 15:06:09 +1000 From: Jeff Waugh To: devel Subject: Re: [Devel] small patches... Message-ID: <20040428050609.GA30570@perkypants.org> Mail-Followup-To: devel References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Reply-By: Sat May 1 15:03:12 EST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 15:03:12 up 3 days, 3:34, 6 users, load average: 0.18, 0.08, 0.02 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 05:06:10 -0000 Status: O Content-Length: 1540 Lines: 38 > - generated an abbreviated form of article content and export it > to the template engine. I'm using this to generate an > abbreviated RSS feed, for people that don't want full articles > in the feed (this isn't announced on Planet Sun yet, but the > feed is available at http://planetsun.org/abbrev20.xml). Isn't this just the summary field, which is generated and exported already? I think it might be preferable to use that, and we can strip all the HTML out now (stripper class in planetlib), to properly support RDF (going to fix that up later today). > - a nasty hack to support single quote delimited tag attribute > values in feeds. This is necessary to get ongoing > (http://www.tbray.org/ongoing/) to work. It's a workaround for > a flaw in the python SGML parser. I'm wholly unconvinced that > it's a safe change, but it hasn't broken anything yet. Moving > to feedparser 3.0 would remove the need for this, presuming > that a real XML parser is available. I might skip this one for now. ;-) > - a small change to the feedparser to flatten tag attributes from > unicode to utf-8. Have you sent this one upstream to Mark? I don't want to change much in feedparser if I can help it (though this is a very attractive change). Thanks for the patches! - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "Stick to your guns and get it right." - Havoc Pennington From simos74@gmx.net Wed Apr 28 06:13:49 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 6F0F857DF for ; Wed, 28 Apr 2004 06:13:49 +0100 (BST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id 839BC57AC for ; Wed, 28 Apr 2004 06:13:47 +0100 (BST) Received: (qmail 25501 invoked by uid 65534); 28 Apr 2004 05:13:46 -0000 Received: from unknown (EHLO [192.168.0.6]) (219.95.133.254) by mail.gmx.net (mp002) with SMTP; 28 Apr 2004 07:13:46 +0200 X-Authenticated: #10070094 Subject: Re: [Devel] Patch for locale support From: Simos Xenitellis To: Scott James Remnant In-Reply-To: <1082990884.19948.15.camel@descent.netsplit.com> References: <1082962206.4731.21.camel@kl.asia.com> <1082990884.19948.15.camel@descent.netsplit.com> Content-Type: text/plain Message-Id: <1083129221.5909.59.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 28 Apr 2004 13:13:42 +0800 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00, FROM_ENDS_IN_NUMS autolearn=no version=2.63 Cc: Hack the Planet! X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 05:13:49 -0000 Status: O Content-Length: 2440 Lines: 61 On Mon, 2004-04-26 at 22:48, Scott James Remnant wrote: > On Mon, 2004-04-26 at 14:50 +0800, Simos Xenitellis wrote: > > > Suppose you want to translate Planet to your own language. You can > > translate the strings in the template file. However, the dates that > > appear on the page are in English even if LANG=somethingelse, because > > planet.py does not have support for locales. > > > The trouble is this will translate the RFC822 dates as well, which are > required to be in English. date_format was already intended to allow > date format customisation, if this doesn't allow you to specify the > language for the day/month names; how can we modify that to do so? The localised version of the date is used for presentation purposes (not for comparisons), no? > We should also consider extracting the appropriate language content and > titles from the feeds, if they support that (Atom does, at least) from > this same setting. > > Then you could go: > > [zog/index.html.es.tmpl] > language = es > date_format = ... > > To have a Spanish version of the page, including Spanish blog content > where available. > > > This patch is now elemental but could be the basis for a complete > > localised Planet interface as Python is gettext-friendly. "planet.py" > > would generate index.html.en, index.html.el, index.html.es, etc for > > different languages and the browser would choose and pick. > > > This wouldn't translate anything other than the dates (and maybe if we > pick the above up, the content). All of the side-bar decoration and > everything would still be in English (or whatever language you wrote it > in the template). > > I think I'd prefer planet not to automatically do this, instead relying > on the site admin to add appropriate alternate language templates with a > complete translation. Ack. My interest to localise Planet is to translate the the decorative material only. The audience is expected to be somewhat multilingual (so feeds remain in respective language), understanding both English and the local language (common for national FOSS Planets). Using locale and gettext, this can be achieved rather easily. Indeed from locale you get the name of the day and month, "pm" and "am" and also timezone information. From gettext, you get the decorative text in the sidebar, header and footer. I am not pursuing any of these at the moment as I am ok with how things work currently. simos From jdub@slug.org.au Wed Apr 28 06:22:11 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 8D7CB57EC for ; Wed, 28 Apr 2004 06:22:11 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 2AE7257E7 for ; Wed, 28 Apr 2004 06:22:10 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id 716C910DE39; Wed, 28 Apr 2004 15:22:08 +1000 (EST) Date: Wed, 28 Apr 2004 15:22:08 +1000 From: Jeff Waugh To: Hack the Planet! Subject: Re: [Devel] Patch for locale support Message-ID: <20040428052208.GC30570@perkypants.org> Mail-Followup-To: Hack the Planet! References: <1082962206.4731.21.camel@kl.asia.com> <1082990884.19948.15.camel@descent.netsplit.com> <1083129221.5909.59.camel@kl.asia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1083129221.5909.59.camel@kl.asia.com> Reply-By: Sat May 1 15:20:34 EST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 15:20:34 up 3 days, 3:51, 6 users, load average: 0.08, 0.02, 0.01 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 05:22:11 -0000 Status: O Content-Length: 755 Lines: 21 > > The trouble is this will translate the RFC822 dates as well, which are > > required to be in English. date_format was already intended to allow > > date format customisation, if this doesn't allow you to specify the > > language for the day/month names; how can we modify that to do so? > > The localised version of the date is used for presentation purposes (not > for comparisons), no? Not for comparisons, but for the resultant RSS/RDF feeds. They have to be in the standard format. - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "Whether you want to set fire to old institutions or to build whole new ones, nothing beats a good blog." - Doc Searls From jdub@slug.org.au Wed Apr 28 08:17:55 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 6794157E7 for ; Wed, 28 Apr 2004 08:17:55 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 84BE457BA for ; Wed, 28 Apr 2004 08:17:53 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id 3C32510DF0B; Wed, 28 Apr 2004 17:17:52 +1000 (EST) Date: Wed, 28 Apr 2004 17:17:54 +1000 From: Jeff Waugh To: Planet Hackers Message-ID: <20040428071754.GD30570@perkypants.org> Mail-Followup-To: Planet Hackers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Reply-By: Sat May 1 17:00:22 EST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 17:00:22 up 3 days, 5:31, 6 users, load average: 0.28, 0.10, 0.03 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Subject: [Devel] Thinking about Planet 1.0... X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 07:17:55 -0000 Status: O Content-Length: 2428 Lines: 60 Hey, I know all of you are going to laugh at me for saying that Planet 1.0 should be a feature-based release, but I will stick to my guns and say that time based releases are generally only appropriate for established Free Software projects (and despite the fact that there are fuckloads of Planet sites all over the net now, more than on our home page, we're still pre-1.0). :-) So I've been thinking about what we need to really feel good about our first versioned release. * Store and use feed history We have a huge problem at the moment, in that we only display the current contents of the feeds we download. The old Netscape standard was 15 items in a feed, so many people still use that. Unfortunately, on sites like Slashdot, those 15 items move *very* quickly. So as they fall off the Slashdot feed, they fall off your Planet aggregation. That is bad, bad, bad, and we need to solve it. Any ideas? There are potential bugs all over this. :-) * Add multiple keyword support I hadn't announced it yet, but I have added a simple 'keyword feeds' feature, which allows you to subscribe to feeds and only display items that mention your keyword in the title, summary or description. This is totally arse-kickingly rad, and demonstrated on my personal Planet [1]. However, currently it only allows you to define one keyword phrase for each feed, which kinda sucks. If there's some quick-and-dirty boolean phrase parser, we could use it really well here, for instance: keyword = (gnome OR kde) NOT sucks Maybe that's overkill - we could just support multiple ORed keyword fields. * Allow templates to see extra feed elements See Frederic's thread about Freshmeat the other day [2]. I don't want to special case everything, and I don't want to stomp on item variables we already have, but it would be nice to bring special things from feeds up into the template data structure. Should we only do this for namespaced elements (extensions)? Please suggest more, if you are going to work on them, or if you think they are critical features or bugs. :-) Thanks, - Jeff [1] http://www.gnome.org/~jdub/planet/ [2] http://lists.planetplanet.org/pipermail/devel/2004-April/000068.html -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ Money can't buy me grok. From jdub@slug.org.au Wed Apr 28 08:48:56 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 7C04057BA for ; Wed, 28 Apr 2004 08:48:56 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id E9DD657D8 for ; Wed, 28 Apr 2004 08:48:54 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id 981A310DF0B; Wed, 28 Apr 2004 17:48:53 +1000 (EST) Date: Wed, 28 Apr 2004 17:48:55 +1000 From: Jeff Waugh To: Planet Hackers Subject: Re: [Devel] Thinking about Planet 1.0... Message-ID: <20040428074855.GF30570@perkypants.org> Mail-Followup-To: Planet Hackers References: <20040428071754.GD30570@perkypants.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040428071754.GD30570@perkypants.org> Reply-By: Sat May 1 17:42:01 EST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 17:42:01 up 3 days, 6:12, 6 users, load average: 0.10, 0.08, 0.02 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 07:48:56 -0000 Status: O Content-Length: 1274 Lines: 34 > So I've been thinking about what we need to really feel good about our first > versioned release. D'oh, I forgot to mention it, but Frederic reminded me: * Support OPML and foaf subscriptions This might be a bit invasive, but I want to be able to subscribe to OPML and FOAF files, and see each feed as if it were subscribed individually. Perhaps we can do this with a two-pass configuration scheme, first to pull the static configs, second to go fetch and generate the dynamic configs. The more I think about it, the less invasive it sounds. Hmm. Plus, another one: * Provide a 'disabled' configuration option Make it easy to mark a feed as disabled, but still show it on the subs list. Perhaps disabled is the wrong word. Some people want to use Planet to do their blogroll management, but not actually show some feeds in the aggregation. If someone can think of a better word, please tell me. Perhaps 'hide'. - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "So: Stop selling software. Give it away. Work out some other way to make money, because pretending it's not replicable is not it. Profit." - Martin Pool From dme@hollytree-house.co.uk Wed Apr 28 12:48:05 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id C234057D0 for ; Wed, 28 Apr 2004 12:48:05 +0100 (BST) Received: from nwkea-mail-2.sun.com (nwkea-mail-2.sun.com [192.18.42.14]) by amnesiac.heapspace.net (Postfix) with ESMTP id DE08057BA for ; Wed, 28 Apr 2004 12:48:03 +0100 (BST) Received: from nis-uk.UK.Sun.COM ([129.156.85.41]) by nwkea-mail-2.sun.com (8.12.10/8.12.9) with ESMTP id i3SBm0ms003324 for ; Wed, 28 Apr 2004 04:48:02 -0700 (PDT) Received: from serafina-pekkala.uk.sun.com (serafina-pekkala [129.156.199.99]) by nis-uk.UK.Sun.COM (8.12.10+Sun/8.12.10/ENSMAIL, v2.2) with ESMTP id i3SBlxH1027762 for ; Wed, 28 Apr 2004 12:47:59 +0100 (BST) Received: from serafina-pekkala.uk.sun.com (localhost [127.0.0.1]) by serafina-pekkala.uk.sun.com (8.12.11+Sun/8.12.11) with ESMTP id i3SBlto8102149 for ; Wed, 28 Apr 2004 12:47:55 +0100 (BST) Date: Wed, 28 Apr 2004 12:47:55 +0100 Message-ID: To: Planet Hackers Subject: Re: [Devel] Thinking about Planet 1.0... In-Reply-To: <20040428074855.GF30570@perkypants.org> References: <20040428071754.GD30570@perkypants.org> <20040428074855.GF30570@perkypants.org> Sender: dme@hollytree-house.co.uk From: David Edmondson User-Agent: Wanderlust/2.11.23 (Wonderwall) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.4 Emacs/21.3 (i386-pc-solaris2.9) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 11:48:06 -0000 Status: O Content-Length: 495 Lines: 11 * jdub@perkypants.org [20040428T084855]: > * Provide a 'disabled' configuration option > > Make it easy to mark a feed as disabled, but still show it on the subs > list. Perhaps disabled is the wrong word. Some people want to use Planet > to do their blogroll management, but not actually show some feeds in the > aggregation. If someone can think of a better word, please tell me. > Perhaps 'hide'. "No fetch" or "no update" were the two that came immediately to mind. From dme@hollytree-house.co.uk Wed Apr 28 13:41:30 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 91CAB57C2 for ; Wed, 28 Apr 2004 13:41:30 +0100 (BST) Received: from brmea-mail-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31]) by amnesiac.heapspace.net (Postfix) with ESMTP id C445157E3 for ; Wed, 28 Apr 2004 13:41:28 +0100 (BST) Received: from esunmail ([129.147.156.34]) by brmea-mail-1.sun.com (8.12.10/8.12.9) with ESMTP id i3SCfQMu003238 for ; Wed, 28 Apr 2004 06:41:27 -0600 (MDT) Received: from fe7 (esunmail [129.147.156.34]) by edgemail1.Central.Sun.COM (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HWV000DHSL26S@edgemail1.Central.Sun.COM> for devel@lists.planetplanet.org; Wed, 28 Apr 2004 06:41:26 -0600 (MDT) Received: from [129.156.199.100] by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTPSA id <0HWV00KIZSKZ3K@mail.sun.net> for devel@lists.planetplanet.org; Wed, 28 Apr 2004 06:41:26 -0600 (MDT) Date: Wed, 28 Apr 2004 13:41:24 +0100 From: David Edmondson Subject: Re: [Devel] small patches... In-reply-to: <20040428050609.GA30570@perkypants.org> To: Jeff Waugh Message-id: <5BCE5AB8-9911-11D8-ACBD-00039398BAC2@hollytree-house.co.uk> MIME-version: 1.0 X-Mailer: Apple Mail (2.613) Content-type: text/plain; charset=US-ASCII; format=flowed Content-transfer-encoding: 7BIT References: <20040428050609.GA30570@perkypants.org> X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Cc: devel X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 12:41:30 -0000 Status: O Content-Length: 948 Lines: 24 On Apr 28, 2004, at 06:06, Jeff Waugh wrote: >> - generated an abbreviated form of article content and export it >> to the template engine. I'm using this to generate an >> abbreviated RSS feed, for people that don't want full articles >> in the feed (this isn't announced on Planet Sun yet, but the >> feed is available at http://planetsun.org/abbrev20.xml). > > Isn't this just the summary field, which is generated and exported > already? > I think it might be preferable to use that, and we can strip all the > HTML > out now (stripper class in planetlib), to properly support RDF (going > to fix > that up later today). I'm not sure. I'll check. > Have you sent this one upstream to Mark? I don't want to change much in > feedparser if I can help it (though this is a very attractive change). I've sent both of the last two changes to Mark (and another relating to Unicode and mxTidy), but no reply yet. From jdub@slug.org.au Wed Apr 28 13:52:01 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 09C7557D1 for ; Wed, 28 Apr 2004 13:52:01 +0100 (BST) Received: from maddog.slug.org.au (slug.progsoc.uts.edu.au [138.25.7.4]) by amnesiac.heapspace.net (Postfix) with ESMTP id 695B557D8 for ; Wed, 28 Apr 2004 13:51:59 +0100 (BST) Received: by maddog.slug.org.au (Postfix, from userid 1000) id 38FFA10DF0B; Wed, 28 Apr 2004 22:51:54 +1000 (EST) Date: Wed, 28 Apr 2004 22:51:56 +1000 From: Jeff Waugh To: devel Subject: Re: [Devel] small patches... Message-ID: <20040428125156.GX30570@perkypants.org> Mail-Followup-To: devel References: <20040428050609.GA30570@perkypants.org> <5BCE5AB8-9911-11D8-ACBD-00039398BAC2@hollytree-house.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5BCE5AB8-9911-11D8-ACBD-00039398BAC2@hollytree-house.co.uk> Reply-By: Sat May 1 22:51:21 EST 2004 X-Operating-System: Linux 2.6.3-ben2 ppc X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 22:51:21 up 3 days, 11:22, 6 users, load average: 0.10, 0.04, 0.01 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 12:52:01 -0000 Status: O Content-Length: 688 Lines: 20 > > Have you sent this one upstream to Mark? I don't want to change much in > > feedparser if I can help it (though this is a very attractive change). > > I've sent both of the last two changes to Mark (and another relating to > Unicode and mxTidy), but no reply yet. How are you finding mxTidy? In some initial tests, it broke a bit. Has it been good to you? :-) - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "So I'll have to talk about what I know instead. If you are so inclined, you may infer that I am totally oblivious to anything I don't talk about today." - Larry Wall From dme@hollytree-house.co.uk Wed Apr 28 14:26:39 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 63CB957D1 for ; Wed, 28 Apr 2004 14:26:39 +0100 (BST) Received: from brmea-mail-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31]) by amnesiac.heapspace.net (Postfix) with ESMTP id CE34A57E3 for ; Wed, 28 Apr 2004 14:26:37 +0100 (BST) Received: from esunmail ([129.147.156.34]) by brmea-mail-1.sun.com (8.12.10/8.12.9) with ESMTP id i3SDQbMu026648 for ; Wed, 28 Apr 2004 07:26:37 -0600 (MDT) Received: from fe8 (esunmail [129.147.156.34]) by edgemail1.Central.Sun.COM (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HWV000LTUOC6S@edgemail1.Central.Sun.COM> for devel@lists.planetplanet.org; Wed, 28 Apr 2004 07:26:37 -0600 (MDT) Received: from [129.156.199.100] by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTPSA id <0HWV00C6BUO3E1@mail.sun.net> for devel@lists.planetplanet.org; Wed, 28 Apr 2004 07:26:36 -0600 (MDT) Date: Wed, 28 Apr 2004 14:26:28 +0100 From: David Edmondson Subject: Re: [Devel] small patches... In-reply-to: <20040428125156.GX30570@perkypants.org> To: Jeff Waugh Message-id: MIME-version: 1.0 X-Mailer: Apple Mail (2.613) Content-type: text/plain; charset=US-ASCII; format=flowed Content-transfer-encoding: 7BIT References: <20040428050609.GA30570@perkypants.org> <5BCE5AB8-9911-11D8-ACBD-00039398BAC2@hollytree-house.co.uk> <20040428125156.GX30570@perkypants.org> X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Cc: devel X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 13:26:39 -0000 Status: O Content-Length: 496 Lines: 12 > How are you finding mxTidy? In some initial tests, it broke a bit. Has > it > been good to you? :-) With the minor fixes to help it with Unicode (i.e. flatten things to UTF-8 before giving them to mxTidy and actually tell it that the strings are UTF-8) it's been working well on both Linux and Solaris. Based on experience of not having it and watching the resulting mess (one of the common blogging tools inside Sun doesn't generate excerpts carefully), I'd say that it's essential. From nick@zork.net Thu Apr 29 05:33:10 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id A7B4A57DF for ; Thu, 29 Apr 2004 05:33:10 +0100 (BST) Received: from zork.zork.net (zork.zork.net [64.81.246.102]) by amnesiac.heapspace.net (Postfix) with ESMTP id 2D48657D0 for ; Thu, 29 Apr 2004 05:33:08 +0100 (BST) Received: from nick by zork.zork.net with local (Exim 4.31) id 1BJ3EN-0004Bd-KS for devel@lists.planetplanet.org; Wed, 28 Apr 2004 21:33:03 -0700 Date: Wed, 28 Apr 2004 21:33:03 -0700 From: Nick Moffitt To: Planet Hackers Subject: Re: [Devel] Thinking about Planet 1.0... Message-ID: <20040429043303.GV8761@zork.net> Mail-Followup-To: Planet Hackers References: <20040428071754.GD30570@perkypants.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040428071754.GD30570@perkypants.org> Reply-By: Wed, 4 Apr 2001 14:21:08 -0700 X-Message-Flag: OUTLOOK ERROR: Message text violates P.A.T.R.I.O.T. act User-Agent: Mutt/1.5.5.1+cvs20040105i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: nick@zork.net X-SA-Exim-Scanned: No (on zork.zork.net); SAEximRunCond expanded to false X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 04:33:10 -0000 Status: O Content-Length: 941 Lines: 23 begin Jeff Weff quotation: > Please suggest more, if you are going to work on them, or if you think they > are critical features or bugs. :-) Okay, so I'm sure this has been asked before, buuut... Right now there's something screwy in the way planet deals with time zones, so that all you Australians end up claiming the top of my planet while merkins I want to read end up shoved down a ways. Now the annoying FAQ: Is there a way to get planet to not do entry-date placement at all? Like, always put new entries up in the order they were first seen by planet? I use mine to implement the "show me stuff I haven't already read yet" feature that pretty much all Web sites lack. -- So are you an honest-to-cripes Atkins dieter with the Nick Moffitt little urine test strips and the blood analysis and the nick@zork.net "better living through diabetes" rhetoric, or are you just some ranchero wannabe who hates salads? From scott@netsplit.com Thu Apr 29 11:16:09 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 329BE57EB for ; Thu, 29 Apr 2004 11:16:09 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 1ECD657E7 for ; Thu, 29 Apr 2004 11:16:07 +0100 (BST) Received: (qmail 19162 invoked from network); 29 Apr 2004 10:16:06 -0000 Received: from unknown (HELO keybuk.uk.hbd.com) (scott@217.37.231.23) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 29 Apr 2004 10:16:06 -0000 Subject: Re: [Devel] Thinking about Planet 1.0... From: Scott James Remnant To: Nick Moffitt In-Reply-To: <20040429043303.GV8761@zork.net> References: <20040428071754.GD30570@perkypants.org> <20040429043303.GV8761@zork.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-jNpyTZ73h2Qbkox1HHUh" Message-Id: <1083233767.9506.15.camel@elite> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.7 Date: Thu, 29 Apr 2004 11:16:07 +0100 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: Planet Hackers X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 10:16:09 -0000 Status: O Content-Length: 2005 Lines: 59 --=-jNpyTZ73h2Qbkox1HHUh Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2004-04-28 at 21:33 -0700, Nick Moffitt wrote: > begin Jeff Weff quotation: > > Please suggest more, if you are going to work on them, or if you think = they > > are critical features or bugs. :-) >=20 > Right now there's something screwy in the way planet deals > with time zones, so that all you Australians end up claiming the top > of my planet while merkins I want to read end up shoved down a ways. >=20 It tries *really* hard to normalise all times to UTC, and sorts it accordingly. Sometimes annoying Australians don't put a timezone in their feeds, so it can't really do much. For those feeds, you can stick "offset" in the config file and specify hour many hours out their feed is ... that's not quite working right yet though, it got a bit confused when DST came along and I need to fix that. > Now the annoying FAQ: >=20 > Is there a way to get planet to not do entry-date placement at > all? Like, always put new entries up in the order they were first > seen by planet? I use mine to implement the "show me stuff I haven't > already read yet" feature that pretty much all Web sites lack. >=20 Yeah, this would be actually pretty easy ... it already has this code for entries missing times entirely, I'll add a config option to just outright ignore feed times and sort by seen order. I'll make it a per-feed option, maybe "sort_order =3D seen/time" and if you want it global just stick it in [DEFAULT]. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-jNpyTZ73h2Qbkox1HHUh Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAkNXmIexP3IStZ2wRAptzAJ4vYMQIawlAwVawg2aKEQixWHt6nQCdG5gb nke/wVvXejnr6LmLeVi/auI= =JMoA -----END PGP SIGNATURE----- --=-jNpyTZ73h2Qbkox1HHUh-- From mjr@towers.org.uk Thu Apr 29 13:22:09 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 58DFC57E7 for ; Thu, 29 Apr 2004 13:22:09 +0100 (BST) Received: from pengo.systems.pipex.net (pengo.systems.pipex.net [62.241.160.193]) by amnesiac.heapspace.net (Postfix) with ESMTP id 568E057D1 for ; Thu, 29 Apr 2004 13:22:06 +0100 (BST) Received: from me (81-86-163-141.dsl.pipex.com [81.86.163.141]) by pengo.systems.pipex.net (Postfix) with SMTP id 124794C000AC; Thu, 29 Apr 2004 13:22:01 +0100 (BST) Received: (nullmailer pid 851 invoked by uid 1000); Thu, 29 Apr 2004 12:22:01 -0000 Date: Thu, 29 Apr 2004 13:22:01 +0100 Subject: Re: [Devel] Re: planetplanet site Message-ID: <633eea9611ae9b158ace9a3d20950f28@bouncing.localnet> MIME-Version: 1.0 (Generated by Pantomime 1.1.2) From: MJ Ray To: Jeff Waugh Organization: Very poor In-Reply-To: <20040428004244.GP30570@perkypants.org> X-Mailer: GNUMail.app (Version 1.1.2) Content-Type: text/plain; charset="us-ascii"; format="flowed" X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 12:22:09 -0000 Status: O Content-Length: 402 Lines: 14 On 2004-04-28 01:42:44 +0100 Jeff Waugh wrote: > Any others? schycyroll (sky sea roll), an incomplete and underdocumented part of MaBloss http://mjr.towers.org.uk/mabloss.html which powers planets for some local user groups. -- MJR/slef My Opinion Only and possibly not of any group I know. http://mjr.towers.org.uk/ http://www.ttllp.co.uk/ for creative copyleft computing From skvidal@phy.duke.edu Thu Apr 29 20:56:19 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 730FC57E9 for ; Thu, 29 Apr 2004 20:56:19 +0100 (BST) Received: from mail.phy.duke.edu (mail.phy.duke.edu [152.3.182.2]) by amnesiac.heapspace.net (Postfix) with ESMTP id A1CAD57C2 for ; Thu, 29 Apr 2004 20:56:17 +0100 (BST) Received: from [152.3.182.42] (opus.phy.duke.edu [152.3.182.42]) by mail.phy.duke.edu (Postfix) with ESMTP id DDAE4A7984 for ; Thu, 29 Apr 2004 15:53:13 -0400 (EDT) From: seth vidal To: devel@lists.planetplanet.org Content-Type: text/plain Message-Id: <1083268477.31583.160.camel@opus.phy.duke.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-1) Date: Thu, 29 Apr 2004 15:54:37 -0400 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Subject: [Devel] feedparser 3.0 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 19:56:19 -0000 Status: O Content-Length: 125 Lines: 11 So, thoughts on making feedparser 3.0 work with planetplanet? It claims to support comments now. might be spiffy. -sv From kss@kldp.net Fri Apr 30 06:48:15 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id DA2C457DF for ; Fri, 30 Apr 2004 06:48:15 +0100 (BST) Received: from kldp.net (unknown [211.39.143.146]) by amnesiac.heapspace.net (Postfix) with ESMTP id 2764057C2 for ; Fri, 30 Apr 2004 06:48:14 +0100 (BST) Received: from kss by kldp.net with local (Exim 3.35 #1 (Debian)) id 1BJQsc-0006Ej-00 for ; Fri, 30 Apr 2004 14:48:10 +0900 Date: Fri, 30 Apr 2004 14:48:10 +0900 From: Soon-Son Kwon To: devel@lists.planetplanet.org Message-ID: <20040430054809.GA22964@kldp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Operating-System: Debian GNU/Linux Organization: KLDP(Korean Linux Documentation Project) Sender: X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Subject: [Devel] using planet in a mixed encoding X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: kss@kldp.org List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2004 05:48:16 -0000 Status: O Content-Length: 617 Lines: 18 Hi, I am trying to configure planet for 3 rss feeds but one of them uses euc-kr encoding while the rest uses utf-8. Can planet handle multiple encoding? Can I set the output encoding format? (I want to set the output file encoding to euc-kr) I tried to do so but the output is broken due to the different encodings. Thank you very much. -- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Shawn Soon-Son Kwon, founder and leader of KLDP ( http://kldp.org , http://kldp.net ) Phone: 82-16-535-7282 Homepage: http://kldp.org/~kss -*-*-*-t-h-e-*-o-p-e-n-*-s-o-u-r-c-e-*-c-o-m-m-u-n-i-t-y- From simos74@gmx.net Fri Apr 30 06:59:19 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id D5A3357E9 for ; Fri, 30 Apr 2004 06:59:19 +0100 (BST) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id 3EF2B57C2 for ; Fri, 30 Apr 2004 06:59:18 +0100 (BST) Received: (qmail 13150 invoked by uid 65534); 30 Apr 2004 05:59:16 -0000 Received: from unknown (EHLO [192.168.0.6]) (219.95.133.194) by mail.gmx.net (mp001) with SMTP; 30 Apr 2004 07:59:16 +0200 X-Authenticated: #10070094 Subject: Re: [Devel] using planet in a mixed encoding From: Simos Xenitellis To: kss@kldp.org In-Reply-To: <20040430054809.GA22964@kldp.net> References: <20040430054809.GA22964@kldp.net> Content-Type: text/plain Message-Id: <1083304753.4657.2.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Fri, 30 Apr 2004 13:59:13 +0800 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_00, FROM_ENDS_IN_NUMS,J_CHICKENPOX_74 autolearn=no version=2.63 Cc: Planet Planet Dev List X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2004 05:59:20 -0000 Status: O Content-Length: 1243 Lines: 37 On Fri, 2004-04-30 at 13:48, Soon-Son Kwon wrote: > Hi, I am trying to configure planet for 3 rss feeds > but one of them uses euc-kr encoding while the rest uses utf-8. > > Can planet handle multiple encoding? > Can I set the output encoding format? > (I want to set the output file encoding to euc-kr) > > I tried to do so but the output is broken due to the different > encodings. In planetlib.py there is a fragmet that says: =============== try: data = unicode(data, "utf8").encode("utf8") logging.debug("Encoding: UTF-8") except UnicodeError: try: data = unicode(data, "iso8859_7").encode("utf8") logging.debug("Encoding: ISO-8859-7") except UnicodeError: data = unicode(data, "ascii", "replace").encode("utf8") logging.warn("Feed wasn't in UTF-8 or ISO-8859-7, replaced " + "all non-ASCII characters.") =========== The original was saying ISO-8859-1 instead of ISO-8859-7 (Greek) and "this works for me(tm)". Try to replace iso-8859-x with "euc-kr" and hope that Python knows about this encoding. The idea is to convert all to Unicode which is good. Hope it helps, simos From kss@kldp.net Fri Apr 30 07:15:49 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id D3DED57C2 for ; Fri, 30 Apr 2004 07:15:49 +0100 (BST) Received: from kldp.net (unknown [211.39.143.146]) by amnesiac.heapspace.net (Postfix) with ESMTP id D8AC657E9 for ; Fri, 30 Apr 2004 07:15:47 +0100 (BST) Received: from kss by kldp.net with local (Exim 3.35 #1 (Debian)) id 1BJRJ3-0001Oo-00; Fri, 30 Apr 2004 15:15:29 +0900 Date: Fri, 30 Apr 2004 15:15:29 +0900 From: Soon-Son Kwon To: Simos Xenitellis Subject: Re: [Devel] using planet in a mixed encoding Message-ID: <20040430061529.GA3249@kldp.net> References: <20040430054809.GA22964@kldp.net> <1083304753.4657.2.camel@kl.asia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1083304753.4657.2.camel@kl.asia.com> User-Agent: Mutt/1.3.28i X-Operating-System: Debian GNU/Linux Organization: KLDP(Korean Linux Documentation Project) Sender: X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL, BAYES_00, J_CHICKENPOX_74 autolearn=no version=2.63 Cc: Planet Planet Dev List X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: kss@kldp.org List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2004 06:15:50 -0000 Status: O Content-Length: 2010 Lines: 51 On Fri, Apr 30, 2004 at 01:59:13PM +0800, Simos Xenitellis wrote: > On Fri, 2004-04-30 at 13:48, Soon-Son Kwon wrote: > > Hi, I am trying to configure planet for 3 rss feeds > > but one of them uses euc-kr encoding while the rest uses utf-8. > > > > Can planet handle multiple encoding? > > Can I set the output encoding format? > > (I want to set the output file encoding to euc-kr) > > > > I tried to do so but the output is broken due to the different > > encodings. > > In planetlib.py there is a fragmet that says: > > =============== > try: > data = unicode(data, "utf8").encode("utf8") > logging.debug("Encoding: UTF-8") > except UnicodeError: > try: > data = unicode(data, "iso8859_7").encode("utf8") > logging.debug("Encoding: ISO-8859-7") > except UnicodeError: > data = unicode(data, "ascii", "replace").encode("utf8") > logging.warn("Feed wasn't in UTF-8 or ISO-8859-7, > replaced " + > "all non-ASCII characters.") > =========== > > The original was saying ISO-8859-1 instead of ISO-8859-7 (Greek) and > "this works for me(tm)". Try to replace iso-8859-x with "euc-kr" and > hope that Python knows about this encoding. The idea is to convert all > to Unicode which is good. Thank you very much! Now I can set planet to handle the euc-kr encoded feeds. If I can specify the input encoding & output encoding in the config.ini, that would be very helpful. Don't you have any plan to add such option? :-) (If I were a python geek, I should have tried to submit a patch but I am not...unfortunately...) Thanks anyway for your swift reply and nice software... -- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Shawn Soon-Son Kwon, founder and leader of KLDP ( http://kldp.org , http://kldp.net ) Phone: 82-16-535-7282 Homepage: http://kldp.org/~kss -*-*-*-t-h-e-*-o-p-e-n-*-s-o-u-r-c-e-*-c-o-m-m-u-n-i-t-y- From dme@hollytree-house.co.uk Fri Apr 30 07:48:38 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id F18AE57E8 for ; Fri, 30 Apr 2004 07:48:37 +0100 (BST) Received: from brmea-mail-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31]) by amnesiac.heapspace.net (Postfix) with ESMTP id 3174557C2 for ; Fri, 30 Apr 2004 07:48:36 +0100 (BST) Received: from esunmail ([129.147.156.34]) by brmea-mail-1.sun.com (8.12.10/8.12.9) with ESMTP id i3U6mTMu004657 for ; Fri, 30 Apr 2004 00:48:34 -0600 (MDT) Received: from fe8 (esunmail [129.147.156.34]) by edgemail1.Central.Sun.COM (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HWZ007PP1KTD6@edgemail1.Central.Sun.COM> for devel@lists.planetplanet.org; Fri, 30 Apr 2004 00:48:29 -0600 (MDT) Received: from chocolate-chip-cookie.dme.org ([129.150.116.27]) by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTPSA id <0HWZ00CXX1KNE1@mail.sun.net> for devel@lists.planetplanet.org; Fri, 30 Apr 2004 00:48:27 -0600 (MDT) Date: Fri, 30 Apr 2004 07:48:20 +0100 From: David Edmondson Subject: Re: [Devel] feedparser 3.0 In-reply-to: <1083268477.31583.160.camel@opus.phy.duke.edu> Sender: dme@hollytree-house.co.uk To: seth vidal Message-id: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT User-Agent: Wanderlust/2.11.26 (Wonderwall) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3.50 (powerpc-apple-darwin7.3.0) MULE/5.0 (SAKAKI) References: <1083268477.31583.160.camel@opus.phy.duke.edu> X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2004 06:48:38 -0000 Status: O Content-Length: 568 Lines: 15 * skvidal@phy.duke.edu [20040429T205437]: > thoughts on making feedparser 3.0 work with planetplanet? I've made a preliminary foray into this, but I was sidetracked by getting unicode stuff working properly with the 2.x parser. Given the conversation about unicode that took place and an improved understanding on my side, I think that a grubby set of patches to support feedparser 3.0 would be straightforward to generate. Is there something in particular from 3.0 that you want/need? You mentioned comments, but I don't really understand what that means. dme. From skvidal@phy.duke.edu Fri Apr 30 15:21:02 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 18CCE57DF for ; Fri, 30 Apr 2004 15:21:02 +0100 (BST) Received: from mail.phy.duke.edu (mail.phy.duke.edu [152.3.182.2]) by amnesiac.heapspace.net (Postfix) with ESMTP id 1EB1B57C2 for ; Fri, 30 Apr 2004 15:20:59 +0100 (BST) Received: from [152.3.182.42] (opus.phy.duke.edu [152.3.182.42]) by mail.phy.duke.edu (Postfix) with ESMTP id AAD13A7899; Fri, 30 Apr 2004 10:20:56 -0400 (EDT) Subject: Re: [Devel] feedparser 3.0 From: seth vidal To: David Edmondson In-Reply-To: References: <1083268477.31583.160.camel@opus.phy.duke.edu> Content-Type: text/plain Message-Id: <1083334942.27662.12.camel@opus.phy.duke.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-1) Date: Fri, 30 Apr 2004 10:22:23 -0400 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2004 14:21:02 -0000 Status: O Content-Length: 714 Lines: 20 > I've made a preliminary foray into this, but I was sidetracked by > getting unicode stuff working properly with the 2.x parser. > > Given the conversation about unicode that took place and an improved > understanding on my side, I think that a grubby set of patches to > support feedparser 3.0 would be straightforward to generate. > > Is there something in particular from 3.0 that you want/need? You > mentioned comments, but I don't really understand what that means. look in the bottom of feedparser in the planet code. Comments are one item it currently doesn't handle. It could and should handle them, though. Well according to feedparser 3.0 docs it now handles comments sections in the rss. -sv From nick@zork.net Sat May 1 00:03:15 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id CA1A857E7 for ; Sat, 1 May 2004 00:03:15 +0100 (BST) Received: from zork.zork.net (zork.zork.net [64.81.246.102]) by amnesiac.heapspace.net (Postfix) with ESMTP id 1BE2B57BA for ; Sat, 1 May 2004 00:03:13 +0100 (BST) Received: from nick by zork.zork.net with local (Exim 4.31) id 1BJh2F-0006ck-F4 for devel@lists.planetplanet.org; Fri, 30 Apr 2004 16:03:11 -0700 Date: Fri, 30 Apr 2004 16:03:11 -0700 From: Nick Moffitt To: Planet Planet Dev List Message-ID: <20040430230311.GN13844@zork.net> Mail-Followup-To: Planet Planet Dev List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Reply-By: Wed, 4 Apr 2001 14:21:08 -0700 X-Message-Flag: OUTLOOK ERROR: Message text violates P.A.T.R.I.O.T. act User-Agent: Mutt/1.5.5.1+cvs20040105i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: nick@zork.net X-SA-Exim-Scanned: No (on zork.zork.net); SAEximRunCond expanded to false X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Subject: [Devel] Parsing error X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2004 23:03:16 -0000 Status: O Content-Length: 425 Lines: 13 Okay, so my planet slurp of http://www.crummy.com/2004/04/30/0 got borked somehow. Leonard mailed me off-list, and seems to think it's a planet bug: http://teh.entar.net/~nick/mail/its-a-breadbox-isnt-it -- Arch really is simple to use: Nick Moffitt tla register-archive http://www.lnx-bbc.org/arch nick@zork.net tla get lnx-bbc-devel@zork.net--gar/lnx-bbc--stable See? From harish@gamebox.net Fri May 7 05:28:44 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 0958F57DF for ; Fri, 7 May 2004 05:28:44 +0100 (BST) Received: from twix.hotpop.com (twix.hotpop.com [38.113.3.71]) by amnesiac.heapspace.net (Postfix) with ESMTP id 064EE57C2 for ; Fri, 7 May 2004 05:28:42 +0100 (BST) Received: from gamebox.net (kubrick.hotpop.com [38.113.3.103]) by twix.hotpop.com (Postfix) with SMTP id 18046F53A91 for ; Fri, 7 May 2004 04:12:49 +0000 (UTC) Received: from [192.168.0.101] (bgp997591bgs.nanarb01.mi.comcast.net [68.40.58.58]) by smtp-2.hotpop.com (Postfix) with ESMTP id CF67341FC52 for ; Fri, 7 May 2004 04:02:22 +0000 (UTC) Message-ID: <409B1074.8090301@gamebox.net> Date: Fri, 07 May 2004 00:28:36 -0400 From: Harish Narayanan User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: devel@lists.planetplanet.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Subject: [Devel] Problems with blogspot atom feeds X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 04:28:44 -0000 Status: O Content-Length: 618 Lines: 20 I've been testing the use of planetplanet, and for the most part, it rocks. I've been having some trouble getting it to parse atom feeds from blogspot correctly. Specifically, the output files have:
> where the xml feeds have:
It's not a very big deal as I'd gotten used to a few > symbols showing up at places. But today I picked an arbitrary feed in the list and replaced all the
with
and it works perfectly. Is there a relatively simple way to get the feed parser to read
correctly? This is a recent version obtained from arch. Recent as in less than a week old. Harish From kss@kldp.net Sat May 8 17:20:23 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 3455457E3 for ; Sat, 8 May 2004 17:20:23 +0100 (BST) Received: from kldp.net (kldp.org [211.39.143.146]) by amnesiac.heapspace.net (Postfix) with ESMTP id 041ED57C2 for ; Sat, 8 May 2004 17:20:21 +0100 (BST) Received: from kss by kldp.net with local (Exim 3.35 #1 (Debian)) id 1BMUYf-0003bo-00 for ; Sun, 09 May 2004 01:20:13 +0900 Date: Sun, 9 May 2004 01:20:13 +0900 From: Soon-Son Kwon To: devel@lists.planetplanet.org Message-ID: <20040508162013.GA6550@kldp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Operating-System: Debian GNU/Linux Organization: KLDP(Korean Linux Documentation Project) Sender: X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Subject: [Devel] dividing items and setting timezone X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: kss@kldp.org List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2004 16:20:23 -0000 Status: O Content-Length: 726 Lines: 19 Hi, I would like to group rss headlines according to the source. For example, I've got left/right side in a single page and I would like to show headlines from site a, b at the left side and headlines from site c, d at the right side. How should I write the template in this case? And the default timezone is UTC but I would like to set it to KST because I am living in Korea. Can anyone let me know how to set the timezone? Thanks very much... -- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Shawn Soon-Son Kwon, founder and leader of KLDP ( http://kldp.org , http://kldp.net ) Phone: 82-16-535-7282 Homepage: http://kldp.org/~kss -*-*-*-t-h-e-*-o-p-e-n-*-s-o-u-r-c-e-*-c-o-m-m-u-n-i-t-y- From murrayc@murrayc.com Tue May 18 20:08:25 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 5EE8A57DF for ; Tue, 18 May 2004 20:08:25 +0100 (BST) Received: from jareth.dreamhost.com (jareth.dreamhost.com [66.33.198.201]) by amnesiac.heapspace.net (Postfix) with ESMTP id 32E0A57AC for ; Tue, 18 May 2004 20:08:22 +0100 (BST) Received: from pD9E8B306.dip.t-dialin.net (pD9E8B306.dip.t-dialin.net [217.232.179.6]) by jareth.dreamhost.com (Postfix) with ESMTP id 3F69B6B610 for ; Tue, 18 May 2004 12:08:09 -0700 (PDT) From: Murray Cumming To: planet-devel Content-Type: text/plain Date: Tue, 18 May 2004 23:07:43 +0200 Message-Id: <1084914463.2810.25.camel@murrayc_debian> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.7 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Subject: [Devel] Thanks and Well done. X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2004 19:08:25 -0000 Status: O Content-Length: 137 Lines: 10 Thanks for planet. I'm really impressed at how easy it is to get it working. -- Murray Cumming murrayc@murrayc.com www.murrayc.com From simos74@gmx.net Wed May 19 03:25:48 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 53F3857E7 for ; Wed, 19 May 2004 03:25:48 +0100 (BST) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id 74FFD57D8 for ; Wed, 19 May 2004 03:25:46 +0100 (BST) Received: (qmail 15791 invoked by uid 65534); 19 May 2004 02:25:45 -0000 Received: from unknown (EHLO [192.168.1.148]) (219.95.45.248) by mail.gmx.net (mp006) with SMTP; 19 May 2004 04:25:45 +0200 X-Authenticated: #10070094 Subject: Re: [Devel] Problems with blogspot atom feeds From: Simos Xenitellis To: Harish Narayanan In-Reply-To: <409B1074.8090301@gamebox.net> References: <409B1074.8090301@gamebox.net> Content-Type: text/plain Message-Id: <1084933542.3928.12.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 19 May 2004 10:25:43 +0800 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00, FROM_ENDS_IN_NUMS autolearn=no version=2.63 Cc: Planet Planet Dev List X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 02:25:48 -0000 Status: O Content-Length: 961 Lines: 29 On Fri, 2004-05-07 at 12:28, Harish Narayanan wrote: > I've been testing the use of planetplanet, and for the most part, it > rocks. I've been having some trouble getting it to parse atom feeds from > blogspot correctly. Specifically, the output files have: >
> > where the xml feeds have: >
> > It's not a very big deal as I'd gotten used to a few > symbols showing > up at places. But today I picked an arbitrary feed in the list and > replaced all the
with
and it works perfectly. > > Is there a relatively simple way to get the feed parser to read
> correctly? It looks to me as a bug with the
syntax (the "/" being after "br"). If you manually (ok, with a script) change
with
, all looks nice and well. Is "
" supposed to be valid XML? I remember seeing the same syntax (the "/" at the end) with SGML documents. Does it signifies that a break is to be placed at the end of the line? simos From nick@zork.net Wed May 19 04:01:30 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id BE3F757E8 for ; Wed, 19 May 2004 04:01:30 +0100 (BST) Received: from zork.zork.net (zork.zork.net [64.81.246.102]) by amnesiac.heapspace.net (Postfix) with ESMTP id 97B2457D8 for ; Wed, 19 May 2004 04:01:26 +0100 (BST) Received: from nick by zork.zork.net with local (Exim 4.32) id 1BQHKc-00086U-R4 for devel@lists.planetplanet.org; Tue, 18 May 2004 20:01:22 -0700 Date: Tue, 18 May 2004 20:01:22 -0700 From: Nick Moffitt To: Planet Planet Dev List Subject: Re: [Devel] Problems with blogspot atom feeds Message-ID: <20040519030122.GB11699@zork.net> Mail-Followup-To: Planet Planet Dev List References: <409B1074.8090301@gamebox.net> <1084933542.3928.12.camel@kl.asia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1084933542.3928.12.camel@kl.asia.com> Reply-By: Wed, 4 Apr 2001 14:21:08 -0700 X-Message-Flag: OUTLOOK ERROR: Message text violates P.A.T.R.I.O.T. act User-Agent: Mutt/1.5.5.1+cvs20040105i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: nick@zork.net X-SA-Exim-Scanned: No (on zork.zork.net); SAEximRunCond expanded to false X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 03:01:31 -0000 Status: O Content-Length: 795 Lines: 22 begin Simos Xenitellis quotation: > It looks to me as a bug with the
syntax (the "/" being after > "br"). > > If you manually (ok, with a script) change
with
, all looks > nice and well. that's curious. > Is "
" supposed to be valid XML? I remember seeing the same syntax > (the "/" at the end) with SGML documents. Does it signifies that a break > is to be placed at the end of the line? This is super nerdy, but "
" is valid XHTML (using XML syntax for all HTML and keeping your nesting clean). All self-closing tags need the / at the end, but for XML to parse it you need a space. -- "I think that software engineering would help to prevent Nick Moffitt things like imake." nick@teh.entar.net -- Jon Webb From simos74@gmx.net Wed May 19 04:30:10 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id AE15D57E3 for ; Wed, 19 May 2004 04:30:10 +0100 (BST) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id C536757AC for ; Wed, 19 May 2004 04:30:08 +0100 (BST) Received: (qmail 24421 invoked by uid 65534); 19 May 2004 03:29:59 -0000 Received: from unknown (EHLO [192.168.1.148]) (219.95.45.248) by mail.gmx.net (mp010) with SMTP; 19 May 2004 05:29:59 +0200 X-Authenticated: #10070094 Subject: Re: [Devel] Problems with blogspot atom feeds From: Simos Xenitellis To: Nick Moffitt In-Reply-To: <20040519030122.GB11699@zork.net> References: <409B1074.8090301@gamebox.net> <1084933542.3928.12.camel@kl.asia.com> <20040519030122.GB11699@zork.net> Content-Type: text/plain Message-Id: <1084937355.3928.16.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 19 May 2004 11:29:15 +0800 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.7 required=5.0 tests=AWL,BAYES_00, FROM_ENDS_IN_NUMS,HTML_MESSAGE autolearn=no version=2.63 Cc: Planet Planet Dev List X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 03:30:10 -0000 Status: O Content-Length: 992 Lines: 32 On Wed, 2004-05-19 at 11:01, Nick Moffitt wrote: > begin Simos Xenitellis quotation: > > It looks to me as a bug with the
syntax (the "/" being after > > "br"). > > > > If you manually (ok, with a script) change
with
, all looks > > nice and well. > > that's curious. > > > Is "
" supposed to be valid XML? I remember seeing the same syntax > > (the "/" at the end) with SGML documents. Does it signifies that a break > > is to be placed at the end of the line? > > This is super nerdy, but "
" is valid XHTML (using XML > syntax for all HTML and keeping your nesting clean). All self-closing > tags need the / at the end, but for XML to parse it you need a space. Added the space (that is, "
") and planetplanet/feedparser worked ok. Thus, is this a case of sending a RFE to Blogger to update their atom.xml? Do you have a link handy regarding this space issue so that to send to Blogger? simos http://planet.hellug.gr/ Planet FOSS Cyrpus/Hellas From simos74@gmx.net Thu May 20 13:32:23 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 4356757DF for ; Thu, 20 May 2004 13:32:23 +0100 (BST) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id 1299C57D8 for ; Thu, 20 May 2004 13:32:21 +0100 (BST) Received: (qmail 31839 invoked by uid 65534); 20 May 2004 12:32:19 -0000 Received: from unknown (EHLO [192.168.1.148]) (219.95.132.27) by mail.gmx.net (mp014) with SMTP; 20 May 2004 14:32:19 +0200 X-Authenticated: #10070094 Subject: Re: [Devel] Problems with blogspot atom feeds From: Simos Xenitellis To: Nick Moffitt In-Reply-To: <20040519030122.GB11699@zork.net> References: <409B1074.8090301@gamebox.net> <1084933542.3928.12.camel@kl.asia.com> <20040519030122.GB11699@zork.net> Content-Type: text/plain Message-Id: <1085056331.4719.19.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Thu, 20 May 2004 20:32:11 +0800 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-3.7 required=5.0 tests=AWL,BAYES_00, FROM_ENDS_IN_NUMS,HTML_MESSAGE autolearn=no version=2.63 Cc: Planet Planet Dev List X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2004 12:32:23 -0000 Status: O Content-Length: 1487 Lines: 41 On Wed, 2004-05-19 at 11:01, Nick Moffitt wrote: > begin Simos Xenitellis quotation: > > It looks to me as a bug with the
syntax (the "/" being after > > "br"). > > > > If you manually (ok, with a script) change
with
, all looks > > nice and well. > > that's curious. > > > Is "
" supposed to be valid XML? I remember seeing the same syntax > > (the "/" at the end) with SGML documents. Does it signifies that a break > > is to be placed at the end of the line? > > This is super nerdy, but "
" is valid XHTML (using XML > syntax for all HTML and keeping your nesting clean). All self-closing > tags need the / at the end, but for XML to parse it you need a space. Per XHTML 1.0, "
", that is, without a space, is valid. (see: http://www.w3.org/TR/xhtml1/, section 4.6). Per XHTML 1.0 compatibility (to HTML4) guidelines, it is recommended to add the space, so "
" (see: http://www.w3.org/TR/xhtml1/#guidelines, section C.2). I copy for completeness: ``C.2. Empty Elements Include a space before the trailing / and > of empty elements, e.g.
,
and Karen. Also, use the minimized tag syntax for empty elements, e.g.
, as the alternative syntax

allowed by XML gives uncertain results in many existing user agents.'' I would personally opt for XHTML support in planetplanet (is it the mxtidy component?), but that depends mostly to the author (and any potential volunteer). simos From murrayc@murrayc.com Fri May 21 12:11:33 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 08F4657DF for ; Fri, 21 May 2004 12:11:33 +0100 (BST) Received: from hoggle.dreamhost.com (hoggle.dreamhost.com [66.33.197.5]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6750857C2 for ; Fri, 21 May 2004 12:11:31 +0100 (BST) Received: from pD9E8B302.dip.t-dialin.net (pD9E8B302.dip.t-dialin.net [217.232.179.2]) by hoggle.dreamhost.com (Postfix) with ESMTP id 0B1F55383B for ; Fri, 21 May 2004 04:11:29 -0700 (PDT) From: Murray Cumming To: Planet Planet Dev List Content-Type: text/plain Date: Fri, 21 May 2004 15:11:26 +0200 Message-Id: <1085145086.2757.29.camel@murrayc_debian> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.7 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Subject: [Devel] categories X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 11:11:33 -0000 Status: O Content-Length: 182 Lines: 10 Is there already any way to just get contents from particular categories/topics from feeds? Or is anybody working on that? -- Murray Cumming murrayc@murrayc.com www.murrayc.com From fred@crozat.net Fri May 21 12:18:04 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 0870A57DF for ; Fri, 21 May 2004 12:18:04 +0100 (BST) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by amnesiac.heapspace.net (Postfix) with ESMTP id D4ECC57C2 for ; Fri, 21 May 2004 12:18:02 +0100 (BST) Received: from twinpeaks.dyndns.org (diderot-2-81-57-82-36.fbx.proxad.net [81.57.82.36]) by postfix4-1.free.fr (Postfix) with ESMTP id 6354C11AFCF for ; Fri, 21 May 2004 13:18:02 +0200 (CEST) Received: from doubler.crozat.net (doubler.crozat.net [192.168.1.2]) by twinpeaks.dyndns.org (Postfix) with ESMTP id 17D7DBE44 for ; Fri, 21 May 2004 13:18:02 +0200 (CEST) Received: by doubler.crozat.net (Postfix, from userid 501) id 86188DECDE; Fri, 21 May 2004 13:18:01 +0200 (CEST) Subject: Re: [Devel] categories From: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Crozat To: Planet Planet Dev List In-Reply-To: <1085145086.2757.29.camel@murrayc_debian> References: <1085145086.2757.29.camel@murrayc_debian> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Message-Id: <1085138280.9915.1.camel@doubler.crozat.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6-1mdk Date: Fri, 21 May 2004 13:18:01 +0200 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 11:18:04 -0000 Status: O Content-Length: 382 Lines: 14 Le ven 21/05/2004 =E0 15:11, Murray Cumming a =E9crit : > Is there already any way to just get contents from particular > categories/topics from feeds? Or is anybody working on that? I think you want to use the "keyword" feature jeff wrote some time ago.. Just add=20 keyword =3D (gnome OR kde) NOT sucks in each feed configuration. --=20 Fr=E9d=E9ric Crozat - fred@crozat.net From louie@novell.com Fri May 21 16:25:25 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id CD55057BA for ; Fri, 21 May 2004 16:25:25 +0100 (BST) Received: from peabody.ximian.com (peabody.ximian.com [130.57.169.10]) by amnesiac.heapspace.net (Postfix) with ESMTP id 5A67457F7 for ; Fri, 21 May 2004 16:25:24 +0100 (BST) Received: (qmail 309 invoked from network); 21 May 2004 15:25:20 -0000 Received: from localhost (HELO 164-99-120-80.boston.ximian.com) (127.0.0.1) by localhost with SMTP; 21 May 2004 15:25:20 -0000 From: Luis Villa To: devel@lists.planetplanet.org Content-Type: text/plain Date: Fri, 21 May 2004 11:23:02 -0400 Message-Id: <1085152982.4415.25.camel@164-99-120-80.boston.ximian.com> Mime-Version: 1.0 X-Mailer: Evolution 1.5.7 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Subject: [Devel] couple questions X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 15:25:26 -0000 Status: O Content-Length: 517 Lines: 13 (1) the latest nightly tarball does not seem to have the post-merging facility from p.g.o. Is that available as a patch anywhere? [I don't think installing arch on my server is an option, unfortunately, but I can look into it if I don't have any other options.] (2) Fredric suggested that doing keyword = NOT foo would exclude postings of a specific category, but that doesn't seem to work. Is it known not to work with the current nightly tarball, or is this something I should investigate a touch further? Luis From jfeilbach@novell.com Fri May 21 16:44:50 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 366D057DF for ; Fri, 21 May 2004 16:44:50 +0100 (BST) Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169]) by amnesiac.heapspace.net (Postfix) with ESMTP id 9157957BA for ; Fri, 21 May 2004 16:44:48 +0100 (BST) Received: from INET-PRV-MTA by sinclair.provo.novell.com with Novell_GroupWise; Fri, 21 May 2004 09:44:47 -0600 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta Date: Fri, 21 May 2004 09:44:41 -0600 From: "Jason Feilbach" To: Subject: Re: [Devel] couple questions Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 15:44:50 -0000 Status: O Content-Length: 832 Lines: 24 Just my 0.02 worth ... I tried this on the nightly from two nights ago, and could not get it to work. >>> Luis Villa 5/21/2004 9:23:02 AM >>> (1) the latest nightly tarball does not seem to have the post-merging facility from p.g.o. Is that available as a patch anywhere? [I don't think installing arch on my server is an option, unfortunately, but I can look into it if I don't have any other options.] (2) Fredric suggested that doing keyword = NOT foo would exclude postings of a specific category, but that doesn't seem to work. Is it known not to work with the current nightly tarball, or is this something I should investigate a touch further? Luis _______________________________________________ Devel mailing list Devel@lists.planetplanet.org http://lists.planetplanet.org/mailman/listinfo/devel From louie@ximian.com Fri May 21 16:48:31 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 568BE57BA for ; Fri, 21 May 2004 16:48:31 +0100 (BST) Received: from peabody.ximian.com (peabody.ximian.com [130.57.169.10]) by amnesiac.heapspace.net (Postfix) with ESMTP id 88B3057E3 for ; Fri, 21 May 2004 16:48:29 +0100 (BST) Received: (qmail 1482 invoked from network); 21 May 2004 15:48:28 -0000 Received: from localhost (HELO 164-99-120-80.boston.ximian.com) (127.0.0.1) by localhost with SMTP; 21 May 2004 15:48:28 -0000 Subject: Re: [Devel] couple questions From: Luis Villa To: devel@lists.planetplanet.org In-Reply-To: References: Content-Type: text/plain Date: Fri, 21 May 2004 11:46:08 -0400 Message-Id: <1085154368.4405.27.camel@164-99-120-80.boston.ximian.com> Mime-Version: 1.0 X-Mailer: Evolution 1.5.7 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 15:48:31 -0000 Status: O Content-Length: 1120 Lines: 36 On Fri, 2004-05-21 at 09:44 -0600, Jason Feilbach wrote: > Just my 0.02 worth ... I tried this on the nightly from two nights ago, > and could not get it to work. Which? 1 or 2? Luis > >>> Luis Villa 5/21/2004 9:23:02 AM >>> > (1) the latest nightly tarball does not seem to have the post-merging > facility from p.g.o. Is that available as a patch anywhere? [I don't > think installing arch on my server is an option, unfortunately, but I > can look into it if I don't have any other options.] > > (2) Fredric suggested that doing keyword = NOT foo would exclude > postings of a specific category, but that doesn't seem to work. Is it > known not to work with the current nightly tarball, or is this > something > I should investigate a touch further? > > Luis > > > _______________________________________________ > Devel mailing list > Devel@lists.planetplanet.org > http://lists.planetplanet.org/mailman/listinfo/devel > > > _______________________________________________ > Devel mailing list > Devel@lists.planetplanet.org > http://lists.planetplanet.org/mailman/listinfo/devel > From jfeilbach@novell.com Fri May 21 16:56:49 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 16EF357D8 for ; Fri, 21 May 2004 16:56:49 +0100 (BST) Received: from sinclair.provo.novell.com (sinclair.provo.novell.com [137.65.81.169]) by amnesiac.heapspace.net (Postfix) with ESMTP id 1E6E857E3 for ; Fri, 21 May 2004 16:56:47 +0100 (BST) Received: from INET-PRV-MTA by sinclair.provo.novell.com with Novell_GroupWise; Fri, 21 May 2004 09:56:43 -0600 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta Date: Fri, 21 May 2004 09:56:32 -0600 From: "Jason Feilbach" To: Subject: Re: [Devel] couple questions Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 15:56:49 -0000 Status: O Content-Length: 1370 Lines: 49 D'oh! ... 2 is not working for me. >>> Luis Villa 5/21/2004 9:46:08 AM >>> On Fri, 2004-05-21 at 09:44 -0600, Jason Feilbach wrote: > Just my 0.02 worth ... I tried this on the nightly from two nights ago, > and could not get it to work. Which? 1 or 2? Luis > >>> Luis Villa 5/21/2004 9:23:02 AM >>> > (1) the latest nightly tarball does not seem to have the post-merging > facility from p.g.o. Is that available as a patch anywhere? [I don't > think installing arch on my server is an option, unfortunately, but I > can look into it if I don't have any other options.] > > (2) Fredric suggested that doing keyword = NOT foo would exclude > postings of a specific category, but that doesn't seem to work. Is it > known not to work with the current nightly tarball, or is this > something > I should investigate a touch further? > > Luis > > > _______________________________________________ > Devel mailing list > Devel@lists.planetplanet.org > http://lists.planetplanet.org/mailman/listinfo/devel > > > _______________________________________________ > Devel mailing list > Devel@lists.planetplanet.org > http://lists.planetplanet.org/mailman/listinfo/devel > _______________________________________________ Devel mailing list Devel@lists.planetplanet.org http://lists.planetplanet.org/mailman/listinfo/devel From james@usr-local-bin.org Fri May 21 17:00:20 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 2560D57E8 for ; Fri, 21 May 2004 17:00:20 +0100 (BST) Received: from msw2.pinnacle.net (msw2.pinnacle.net [193.128.117.142]) by amnesiac.heapspace.net (Postfix) with ESMTP id B444457D8 for ; Fri, 21 May 2004 17:00:18 +0100 (BST) Received: from exchange.pinnacle.co.uk (unverified) by msw2.pinnacle.net (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Fri, 21 May 2004 17:00:04 +0100 Received: by exchange.pinnacle.co.uk with Internet Mail Service (5.5.2657.72) id ; Fri, 21 May 2004 17:00:21 +0100 Received: from jogley.pinnacle.co.uk ([172.21.192.10]) by exchange2.pinnacle.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id JJGKRJS3; Fri, 21 May 2004 17:00:15 +0100 From: James Ogley To: devel@lists.planetplanet.org X-Mailer: Ximian Evolution 1.4.6 Rubber Turnip www.usr-local-bin.org Subject: Re: [Devel] couple questions In-Reply-To: <1085152982.4415.25.camel@164-99-120-80.boston.ximian.com> References: <1085152982.4415.25.camel@164-99-120-80.boston.ximian.com> Content-Type: text/plain Organization: usr local bin Message-Id: <1085155195.27036.5.camel@jogley.pinnacle.co.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Rubber Turnip www.usr-local-bin.org Date: Fri, 21 May 2004 16:59:55 +0100 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 16:00:20 -0000 Status: O Content-Length: 921 Lines: 32 > (1) the latest nightly tarball does not seem to have the post-merging > facility from p.g.o. Is that available as a patch anywhere? [I don't > think installing arch on my server is an option, unfortunately, but I > can look into it if I don't have any other options.] You need to specify it in your template - there's an example in fancy-examples... basically, within you use: Will give you a very basic output, but you get the idea -- James Ogley, Webmaster, Rubber Turnip james@rubberturnip.org.uk http://www.rubberturnip.org.uk Jabber: riggwelter@myjabber.net Using Free Software since 1994, running GNU/Linux (SuSE 9.0) GNOME updates for SuSE: http://www.usr-local-bin.org From louie@ximian.com Fri May 21 19:30:14 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 0326857E9 for ; Fri, 21 May 2004 19:30:14 +0100 (BST) Received: from peabody.ximian.com (peabody.ximian.com [130.57.169.10]) by amnesiac.heapspace.net (Postfix) with ESMTP id 25BF657D8 for ; Fri, 21 May 2004 19:30:10 +0100 (BST) Received: (qmail 10003 invoked from network); 21 May 2004 18:30:08 -0000 Received: from localhost (HELO 164-99-120-80.boston.ximian.com) (127.0.0.1) by localhost with SMTP; 21 May 2004 18:30:08 -0000 Subject: Re: [Devel] couple questions From: Luis Villa To: James Ogley In-Reply-To: <1085155195.27036.5.camel@jogley.pinnacle.co.uk> References: <1085152982.4415.25.camel@164-99-120-80.boston.ximian.com> <1085155195.27036.5.camel@jogley.pinnacle.co.uk> Content-Type: text/plain Date: Fri, 21 May 2004 14:27:49 -0400 Message-Id: <1085164070.4414.32.camel@164-99-120-80.boston.ximian.com> Mime-Version: 1.0 X-Mailer: Evolution 1.5.7 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 18:30:14 -0000 Status: O Content-Length: 908 Lines: 39 On Fri, 2004-05-21 at 16:59 +0100, James Ogley wrote: > > (1) the latest nightly tarball does not seem to have the post-merging > > facility from p.g.o. Is that available as a patch anywhere? [I don't > > think installing arch on my server is an option, unfortunately, but I > > can look into it if I don't have any other options.] > > You need to specify it in your template - there's an example in > fancy-examples... > > basically, within you use: > > > > > > > > > > > > > > > cool. Thanks, James. And for reference of anyone on this list: is one if statement. Took me a while to figure out why /TMPL_ELSE was failing :) Luis From louie@novell.com Fri May 21 19:40:37 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 9773C57E7 for ; Fri, 21 May 2004 19:40:37 +0100 (BST) Received: from peabody.ximian.com (peabody.ximian.com [130.57.169.10]) by amnesiac.heapspace.net (Postfix) with ESMTP id 4109057BA for ; Fri, 21 May 2004 19:40:36 +0100 (BST) Received: (qmail 10534 invoked from network); 21 May 2004 18:40:35 -0000 Received: from localhost (HELO 164-99-120-80.boston.ximian.com) (127.0.0.1) by localhost with SMTP; 21 May 2004 18:40:35 -0000 From: Luis Villa To: devel@lists.planetplanet.org Content-Type: text/plain Date: Fri, 21 May 2004 14:38:16 -0400 Message-Id: <1085164696.4406.36.camel@164-99-120-80.boston.ximian.com> Mime-Version: 1.0 X-Mailer: Evolution 1.5.7 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Subject: [Devel] one more- UTC v. EST? X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 18:40:37 -0000 Status: O Content-Length: 126 Lines: 5 Is there a way to normalize all entries to a non-UTC timezone, for planets where ~everyone is in a non-UTC TZ? Thanks- Luis From murrayc@murrayc.com Sat May 22 18:03:21 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id AC21257F5 for ; Sat, 22 May 2004 18:03:21 +0100 (BST) Received: from dydimus.dreamhost.com (dydimus.dreamhost.com [66.33.197.17]) by amnesiac.heapspace.net (Postfix) with ESMTP id 2734357E8 for ; Sat, 22 May 2004 18:03:20 +0100 (BST) Received: from pD9E8A9FD.dip.t-dialin.net (pD9E8A9FD.dip.t-dialin.net [217.232.169.253]) by dydimus.dreamhost.com (Postfix) with ESMTP id A713C4F883 for ; Sat, 22 May 2004 10:03:17 -0700 (PDT) From: Murray Cumming To: planet-devel Content-Type: text/plain Date: Sat, 22 May 2004 21:03:14 +0200 Message-Id: <1085252594.2755.15.camel@murrayc_debian> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.7 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Subject: [Devel] feedparser 3.0 port progress? X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2004 17:03:21 -0000 Status: O Content-Length: 431 Lines: 15 Has anyone made more progress with porting planet to feedparser3? I see that the API has changed a bit - some methods that we use now seem to be marked as private (they have a _ at the start). The current feedparser in planet incorrectly escapes character entities (such as ü) in item titles, so I thought it would make sense to fix it in feedparser 3 if necessary. -- Murray Cumming murrayc@murrayc.com www.murrayc.com From nick@zork.net Sat May 22 21:40:48 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 086C157E3 for ; Sat, 22 May 2004 21:40:48 +0100 (BST) Received: from zork.zork.net (zork.zork.net [64.81.246.102]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6E1FF57AC for ; Sat, 22 May 2004 21:40:46 +0100 (BST) Received: from nick by zork.zork.net with local (Exim 4.32) id 1BRdIS-0002lS-JG for devel@lists.planetplanet.org; Sat, 22 May 2004 13:40:44 -0700 Date: Sat, 22 May 2004 13:40:44 -0700 From: Nick Moffitt To: Hack the Planet! Message-ID: <20040522204044.GL11699@zork.net> Mail-Followup-To: Hack the Planet! Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Reply-By: Wed, 4 Apr 2001 14:21:08 -0700 X-Message-Flag: OUTLOOK ERROR: Message text violates P.A.T.R.I.O.T. act User-Agent: Mutt/1.5.5.1+cvs20040105i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: nick@zork.net X-SA-Exim-Scanned: No (on zork.zork.net); SAEximRunCond expanded to false X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL, BAYES_00, J_CHICKENPOX_54 autolearn=no version=2.63 Subject: [Devel] Guh, UTF-8 error? X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2004 20:40:48 -0000 Status: O Content-Length: 983 Lines: 25 I'm getting this in my runs now: File "planet.py", line 207, in ? if ifind(term, newsitem.title) == -1 \ File "/usr/local/home/nick/src/planet/planetlib.py", line 73, in strip self.feed(some_html) File "/usr/lib/python2.3/sgmllib.py", line 95, in feed self.goahead(0) File "/usr/lib/python2.3/sgmllib.py", line 177, in goahead self.handle_charref(name) File "/usr/lib/python2.3/sgmllib.py", line 376, in handle_charref self.handle_data(chr(n)) File "/usr/local/home/nick/src/planet/planetlib.py", line 78, in handle_data self.theString += data UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position 0: ordinal not in range(128) Any way of figuring out which feed is sending me bogus bytes? Any way of failing gracefully when this happens? -- You are in an open field west of a big white house Nick Moffitt with a boarded front door. nick@teh.entar.net There is a small mailbox here. > _ From nick@zork.net Sat May 22 23:27:53 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 10BE357E3 for ; Sat, 22 May 2004 23:27:53 +0100 (BST) Received: from zork.zork.net (zork.zork.net [64.81.246.102]) by amnesiac.heapspace.net (Postfix) with ESMTP id AD50D57AC for ; Sat, 22 May 2004 23:27:51 +0100 (BST) Received: from nick by zork.zork.net with local (Exim 4.32) id 1BRey6-0002Qa-DX for devel@lists.planetplanet.org; Sat, 22 May 2004 15:27:50 -0700 Date: Sat, 22 May 2004 15:27:50 -0700 From: Nick Moffitt To: Hack the Planet! Subject: Re: [Devel] Guh, UTF-8 error? Message-ID: <20040522222750.GP11699@zork.net> Mail-Followup-To: Hack the Planet! References: <20040522204044.GL11699@zork.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040522204044.GL11699@zork.net> Reply-By: Wed, 4 Apr 2001 14:21:08 -0700 X-Message-Flag: OUTLOOK ERROR: Message text violates P.A.T.R.I.O.T. act User-Agent: Mutt/1.5.5.1+cvs20040105i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: nick@zork.net X-SA-Exim-Scanned: No (on zork.zork.net); SAEximRunCond expanded to false X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL, BAYES_00, J_CHICKENPOX_31 autolearn=no version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2004 22:27:53 -0000 Status: O Content-Length: 488 Lines: 16 begin Nick Moffitt quotation: > UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position > 0: ordinal not in range(128) Okay, that's the ISO-8851 version of  , and it shows up in this thread: http://mail.python.org/pipermail/python-dev/2002-December/031030.html Still no idea how to fix0r this. -- "I think that software engineering would help to prevent Nick Moffitt things like imake." nick@zork.net -- Jon Webb From nick@zork.net Sat May 22 23:40:13 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 67D8457E7 for ; Sat, 22 May 2004 23:40:13 +0100 (BST) Received: from zork.zork.net (zork.zork.net [64.81.246.102]) by amnesiac.heapspace.net (Postfix) with ESMTP id 1490457BA for ; Sat, 22 May 2004 23:40:12 +0100 (BST) Received: from nick by zork.zork.net with local (Exim 4.32) id 1BRfA3-0003G5-5y for devel@lists.planetplanet.org; Sat, 22 May 2004 15:40:11 -0700 Date: Sat, 22 May 2004 15:40:11 -0700 From: Nick Moffitt To: Hack the Planet! Subject: Re: [Devel] Guh, UTF-8 error? Message-ID: <20040522224011.GQ11699@zork.net> Mail-Followup-To: Hack the Planet! References: <20040522204044.GL11699@zork.net> <20040522222750.GP11699@zork.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040522222750.GP11699@zork.net> Reply-By: Wed, 4 Apr 2001 14:21:08 -0700 X-Message-Flag: OUTLOOK ERROR: Message text violates P.A.T.R.I.O.T. act User-Agent: Mutt/1.5.5.1+cvs20040105i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: nick@zork.net X-SA-Exim-Scanned: No (on zork.zork.net); SAEximRunCond expanded to false X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2004 22:40:13 -0000 Status: O Content-Length: 620 Lines: 20 begin Nick Moffitt quotation: > begin Nick Moffitt quotation: > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position > > 0: ordinal not in range(128) > > Okay, that's the ISO-8851 version of   And it doesn't show up in any of my caches. I did this: [nick@zork(~/src/planet)] grep -ri \xa0 . ..but no match, even in my cache dir. -- The insipid neologism "blog" appears to mean little more Nick Moffitt than a Web site that *actually* gets updated, as opposed nick@zork.net to one that *promises* to be updated REAL SOON NOW and includes an animation of a MEN AT WORK sign. From nick@zork.net Sun May 23 05:20:51 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id B7C1C57E8 for ; Sun, 23 May 2004 05:20:51 +0100 (BST) Received: from zork.zork.net (zork.zork.net [64.81.246.102]) by amnesiac.heapspace.net (Postfix) with ESMTP id B8A7357BA for ; Sun, 23 May 2004 05:20:49 +0100 (BST) Received: from nick by zork.zork.net with local (Exim 4.32) id 1BRkTg-0001l7-5g for devel@lists.planetplanet.org; Sat, 22 May 2004 21:20:48 -0700 Date: Sat, 22 May 2004 21:20:48 -0700 From: Nick Moffitt To: Hack the Planet! Subject: Re: [Devel] Guh, UTF-8 error? Message-ID: <20040523042047.GR11699@zork.net> Mail-Followup-To: Hack the Planet! References: <20040522204044.GL11699@zork.net> <20040522222750.GP11699@zork.net> <20040522224011.GQ11699@zork.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040522224011.GQ11699@zork.net> Reply-By: Wed, 4 Apr 2001 14:21:08 -0700 X-Message-Flag: OUTLOOK ERROR: Message text violates P.A.T.R.I.O.T. act User-Agent: Mutt/1.5.5.1+cvs20040105i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: nick@zork.net X-SA-Exim-Scanned: No (on zork.zork.net); SAEximRunCond expanded to false X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 04:20:51 -0000 Status: O Content-Length: 539 Lines: 16 begin Nick Moffitt quotation: > begin Nick Moffitt quotation: > > begin Nick Moffitt quotation: > > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position > > > 0: ordinal not in range(128) > > Okay, that's the ISO-8851 version of   > And it doesn't show up in any of my caches. It seems to go away when I stop doing the keyword stuff. Oh well. -- "Forget the damned motor car Nick Moffitt and build cities for lovers and friends." nick@zork.net -- Lewis Mumford From nick@zork.net Sun May 23 07:51:31 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 6F39C57D8 for ; Sun, 23 May 2004 07:51:31 +0100 (BST) Received: from zork.zork.net (zork.zork.net [64.81.246.102]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0536857AC for ; Sun, 23 May 2004 07:51:30 +0100 (BST) Received: from nick by zork.zork.net with local (Exim 4.32) id 1BRmpU-0001CA-PK for devel@lists.planetplanet.org; Sat, 22 May 2004 23:51:28 -0700 Date: Sat, 22 May 2004 23:51:28 -0700 From: Nick Moffitt To: Planet Planet Dev List Subject: Re: [Devel] categories Message-ID: <20040523065128.GT11699@zork.net> Mail-Followup-To: Planet Planet Dev List References: <1085145086.2757.29.camel@murrayc_debian> <1085138280.9915.1.camel@doubler.crozat.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1085138280.9915.1.camel@doubler.crozat.net> Reply-By: Wed, 4 Apr 2001 14:21:08 -0700 X-Message-Flag: OUTLOOK ERROR: Message text violates P.A.T.R.I.O.T. act User-Agent: Mutt/1.5.5.1+cvs20040105i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: nick@zork.net X-SA-Exim-Scanned: No (on zork.zork.net); SAEximRunCond expanded to false X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 06:51:31 -0000 Status: O Content-Length: 890 Lines: 26 begin Frédéric Crozat quotation: > Just add > keyword = (gnome OR kde) NOT sucks > in each feed configuration. Does this syntax really work? For example, I planet boingboing in my laziness feed, but I can't stand all the photoshop contests and blither about the atkins diet (well, there's more, but that's the easiest to pinpoint now). So I tried: keyword = NOT (worth1000 OR atkins OR carb) And ended up with the iso8859 calamity you saw me babble about recently. Looking in the code, it seems more like it's just a dumb list of keywords. I'm using jdub@perkypants.org--projects/planet--devel--0.0--patch-57 at the moment. -- So are you an honest-to-cripes Atkins dieter with the Nick Moffitt little urine test strips and the blood analysis and the nick@zork.net "better living through diabetes" rhetoric, or are you just some ranchero wannabe who hates salads? From jdub@waugh.id.au Tue May 25 04:55:24 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id CF20D57DF for ; Tue, 25 May 2004 04:55:23 +0100 (BST) Received: from mail.syd.swiftdsl.com.au (mail.syd.swiftdsl.com.au [202.154.83.58]) by amnesiac.heapspace.net (Postfix) with SMTP id 2D5AB57AC for ; Tue, 25 May 2004 04:55:19 +0100 (BST) Received: (qmail 8570 invoked from network); 25 May 2004 03:55:16 -0000 Received: from unknown (HELO home.waugh.id.au) (218.214.67.227) by mail.syd.swiftdsl.com.au with SMTP; 25 May 2004 03:55:16 -0000 Received: by home.waugh.id.au (Postfix, from userid 1001) id C2D15E8DBF; Tue, 25 May 2004 13:55:14 +1000 (EST) Date: Tue, 25 May 2004 13:55:14 +1000 From: Jeff Waugh To: devel@lists.planetplanet.org Subject: Re: [Devel] couple questions Message-ID: <20040525035514.GT3507@perkypants.org> Mail-Followup-To: devel@lists.planetplanet.org References: <1085152982.4415.25.camel@164-99-120-80.boston.ximian.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1085152982.4415.25.camel@164-99-120-80.boston.ximian.com> Reply-By: Fri May 28 13:53:22 EST 2004 X-Operating-System: Linux 2.6.5-1-686 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 13:53:22 up 16 days, 12:54, 5 users, load average: 0.15, 0.03, 0.01 User-Agent: Mutt/1.5.6i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2004 03:55:24 -0000 Status: O Content-Length: 844 Lines: 22 > (2) Fredric suggested that doing keyword = NOT foo would exclude postings > of a specific category, but that doesn't seem to work. Is it known not to > work with the current nightly tarball, or is this something I should > investigate a touch further? Boolean expressions are on the TODO list, not on the DONE list. There's no support for them at all in the code. You can specify a word or phrase in a single keyword statement, and that's it... for the moment. :-) If anyone knows of existing license-compatible code we can pull in to get this going, please let the list know. :-) - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "In addition to these ample facilities, there exists a powerful configuration tool called gcc." - Elliot Hughes, author of lwm From jdub@waugh.id.au Tue May 25 05:00:22 2004 Return-Path: X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id A39CF57DF for ; Tue, 25 May 2004 05:00:22 +0100 (BST) Received: from mail.syd.swiftdsl.com.au (mail.syd.swiftdsl.com.au [202.154.83.58]) by amnesiac.heapspace.net (Postfix) with SMTP id 5A55957AC for ; Tue, 25 May 2004 05:00:18 +0100 (BST) Received: (qmail 9394 invoked from network); 25 May 2004 04:00:16 -0000 Received: from unknown (HELO home.waugh.id.au) (218.214.67.227) by mail.syd.swiftdsl.com.au with SMTP; 25 May 2004 04:00:16 -0000 Received: by home.waugh.id.au (Postfix, from userid 1001) id 9CF0BE8DBE; Tue, 25 May 2004 14:00:14 +1000 (EST) Date: Tue, 25 May 2004 14:00:14 +1000 From: Jeff Waugh To: planet-devel Message-ID: <20040525040014.GU3507@perkypants.org> Mail-Followup-To: planet-devel References: <1085252594.2755.15.camel@murrayc_debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1085252594.2755.15.camel@murrayc_debian> Reply-By: Fri May 28 13:55:42 EST 2004 X-Operating-System: Linux 2.6.5-1-686 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 13:55:42 up 16 days, 12:57, 5 users, load average: 0.01, 0.02, 0.00 User-Agent: Mutt/1.5.6i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham version=2.63 Subject: [Devel] RSS, titles, entities X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2004 04:00:22 -0000 Status: O Content-Length: 1169 Lines: 29 > Has anyone made more progress with porting planet to feedparser3? I see > that the API has changed a bit - some methods that we use now seem to be > marked as private (they have a _ at the start). I had a quick look. We tend to tweak the internals and route around feedparser a bit, so the new, simpler API makes it a bit harder. Mark'll be happy to help out, I'm sure. > The current feedparser in planet incorrectly escapes character entities > (such as ü) in item titles, so I thought it would make sense to fix > it in feedparser 3 if necessary. This is not a bug. elements in RSS are *not* html or encoded html, so you can't put entities in them. You can, however, use utf-8 characters instead. I would be reasonably happy to accept an un-fuck-me patch to make this work, for feeds that insist on using entities in non-html elements. RSS means forever working around breakage... - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "Creative thinkers make many false starts, and continually waver between unmanageable fantasies and systematic attack." - Harry Hepner From murrayc@murrayc.com Wed May 26 12:44:33 2004 Return-Path: <murrayc@murrayc.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id D4E2F57E3 for <devel@amnesiac.heapspace.net>; Wed, 26 May 2004 12:44:32 +0100 (BST) Received: from dydimus.dreamhost.com (dydimus.dreamhost.com [66.33.197.17]) by amnesiac.heapspace.net (Postfix) with ESMTP id 7F58557AC for <devel@lists.planetplanet.org>; Wed, 26 May 2004 12:44:30 +0100 (BST) Received: from pD9E89DBD.dip.t-dialin.net (pD9E89DBD.dip.t-dialin.net [217.232.157.189]) by dydimus.dreamhost.com (Postfix) with ESMTP id 1A4524F88D; Wed, 26 May 2004 04:44:27 -0700 (PDT) Subject: Re: [Devel] RSS, titles, entities From: Murray Cumming <murrayc@murrayc.com> To: Jeff Waugh <jdub@perkypants.org> In-Reply-To: <20040525040014.GU3507@perkypants.org> References: <1085252594.2755.15.camel@murrayc_debian> <20040525040014.GU3507@perkypants.org> Content-Type: text/plain Date: Wed, 26 May 2004 15:38:19 +0200 Message-Id: <1085578699.2670.13.camel@murrayc_debian> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.7 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham version=2.63 Cc: planet-devel <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 26 May 2004 11:44:33 -0000 Status: O Content-Length: 1459 Lines: 41 On Tue, 2004-05-25 at 14:00 +1000, Jeff Waugh wrote: > <quote who="Murray Cumming"> > > > Has anyone made more progress with porting planet to feedparser3? I see > > that the API has changed a bit - some methods that we use now seem to be > > marked as private (they have a _ at the start). > > I had a quick look. We tend to tweak the internals and route around > feedparser a bit, so the new, simpler API makes it a bit harder. Mark'll be > happy to help out, I'm sure. > > > The current feedparser in planet incorrectly escapes character entities > > (such as ü) in item titles, so I thought it would make sense to fix > > it in feedparser 3 if necessary. > > This is not a bug. <title> elements in RSS are *not* html or encoded html, > so you can't put entities in them. Thaks. I'm willing to believe this, but I can't find anything about it in the spec. > You can, however, use utf-8 characters > instead. I would be reasonably happy to accept an un-fuck-me patch to make > this work, for feeds that insist on using entities in non-html elements. > > RSS means forever working around breakage... Yes, because a lot of feeds from a lot of blog software seems to produce these elements. But I think this would be something for feedparser rather than planet. I have patched my local feedparser.py for this, but won't try to send anything upstream until we've ported to feedparser 3. -- Murray Cumming murrayc@murrayc.com www.murrayc.com From kerz@mozillazine.org Wed May 26 22:53:38 2004 Return-Path: <kerz@mozillazine.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 26CD157E3 for <devel@amnesiac.heapspace.net>; Wed, 26 May 2004 22:53:38 +0100 (BST) Received: from smtp812.mail.sc5.yahoo.com (smtp812.mail.sc5.yahoo.com [66.163.170.82]) by amnesiac.heapspace.net (Postfix) with SMTP id 3401357D0 for <Devel@lists.planetplanet.org>; Wed, 26 May 2004 22:53:35 +0100 (BST) Received: from unknown (HELO mozillazine.org) (kerz@sbcglobal.net@209.157.154.39 with plain) by smtp812.mail.sc5.yahoo.com with SMTP; 26 May 2004 21:49:43 -0000 Message-ID: <40B510F7.2050501@mozillazine.org> Date: Wed, 26 May 2004 14:49:43 -0700 From: Jason Kersey <kerz@mozillazine.org> User-Agent: Mozilla Thunderbird 0.5+ (X11/20040312) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Devel@lists.planetplanet.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Cc: Subject: [Devel] Page goes blank after update X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 26 May 2004 21:53:38 -0000 Status: O Content-Length: 560 Lines: 15 I've installed this on a server at Mozillazine - http://feedhouse.mozillazine.org, but frequently notice that the page goes blank following an update. Has anyone else seen this at all? It only seems to happen if it's updated quickly a few times, and clearing out all cached stuff doesn't seem to fix it. Also, not sure if I missed it, but is there a way to set the timezone the script thinks it's in? It seems to be using GMT, and I'd like for it to be set to pacific for now, if possible. That aside, this thing rocks. jason kerz@mozillazine.org From harish@gamebox.net Thu May 27 00:04:41 2004 Return-Path: <harish@gamebox.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 8CE6257E3 for <devel@amnesiac.heapspace.net>; Thu, 27 May 2004 00:04:41 +0100 (BST) Received: from babyruth.hotpop.com (babyruth.hotpop.com [38.113.3.61]) by amnesiac.heapspace.net (Postfix) with ESMTP id 928FA57BA for <Devel@lists.planetplanet.org>; Thu, 27 May 2004 00:04:39 +0100 (BST) Received: from gamebox.net (kubrick.hotpop.com [38.113.3.103]) by babyruth.hotpop.com (Postfix) with SMTP id C47D6521D48 for <Devel@lists.planetplanet.org>; Wed, 26 May 2004 22:32:40 +0000 (UTC) Received: from [192.168.0.100] (bgp997591bgs.nanarb01.mi.comcast.net [68.40.58.58]) by smtp-3.hotpop.com (Postfix) with ESMTP id C1F04F89DAC; Wed, 26 May 2004 22:43:19 +0000 (UTC) Message-ID: <40B52284.20203@gamebox.net> Date: Wed, 26 May 2004 19:04:36 -0400 From: Harish Narayanan <harish@gamebox.net> User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jason Kersey <kerz@mozillazine.org> Subject: Re: [Devel] Page goes blank after update References: <40B510F7.2050501@mozillazine.org> In-Reply-To: <40B510F7.2050501@mozillazine.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: Devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 26 May 2004 23:04:41 -0000 Status: O Content-Length: 642 Lines: 20 Jason Kersey wrote: > I've installed this on a server at Mozillazine - > http://feedhouse.mozillazine.org, but frequently notice that the page > goes blank following an update. Yes, I've noticed this in the past. Are you using a fairly recent version of planet?, because that fixed the problem for me. There were some websites whose feeds planet had difficulty parsing (it had something to do with the charset) and it used to fail. Now I think it issues warnings but continues. Grab the latest version from arch, and things should be better. Or probably tweak your incoming feeds. Hope this helps. Harish | http://wahgnube.org/ From cdh@halverson.org Thu May 27 18:41:26 2004 Return-Path: <cdh@halverson.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 17DE457BA for <devel@amnesiac.heapspace.net>; Thu, 27 May 2004 18:41:26 +0100 (BST) Received: from quark.halverson.org (quark.halverson.org [216.70.54.226]) by amnesiac.heapspace.net (Postfix) with ESMTP id 5DC7357D0 for <devel@lists.planetplanet.org>; Thu, 27 May 2004 18:41:18 +0100 (BST) Received: from localhost (localhost.localdomain [127.0.0.1]) by quark.halverson.org (Postfix) with ESMTP id 00E9E14C40 for <devel@lists.planetplanet.org>; Thu, 27 May 2004 12:41:17 -0500 (CDT) Received: from quark.halverson.org ([127.0.0.1]) by localhost (quark.halverson.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07288-01-2 for <devel@lists.planetplanet.org>; Thu, 27 May 2004 12:41:16 -0500 (CDT) Received: from [10.0.0.77] (pc2-19.mptelecom.net [216.70.19.2]) by quark.halverson.org (Postfix) with ESMTP id B31C514C2C for <devel@lists.planetplanet.org>; Thu, 27 May 2004 12:41:16 -0500 (CDT) Message-ID: <40B6282A.2080200@halverson.org> Date: Thu, 27 May 2004 12:40:58 -0500 From: Chris Halverson <cdh@halverson.org> User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: devel@lists.planetplanet.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.3 required=5.0 tests=BAYES_00,J_CHICKENPOX_27 autolearn=no version=2.63 Subject: [Devel] Empty dc:creator Field X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 27 May 2004 17:41:26 -0000 Status: O Content-Length: 756 Lines: 24 I just tried using Planet today and it's exactly what I was looking for. It seems to be just what I want, even with the Bloggar br tag issue. I am, however, noticing some issues when it creates the RSS feeds. In particular, the dc:creator part gets messed up if there is no "creator". Don't ask me why, but a few sites I watch don't have a creator associated with it. It ends up putting an extra '>' in as in: <dc:creator>> <</dc:creator> Most of them are Bloggar sites, but I'm guessing it happens anywhere. I am using the nightly snapshot downloaded on 27 May. Thanks for any help. Chris -- Chris D. Halverson http://www.chrishalverson.com/ YIM/AIM: chrisdhal MSN: chrisdhal@msn.com From kerz@mozillazine.org Thu May 27 22:08:51 2004 Return-Path: <kerz@mozillazine.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id C50D357F2 for <devel@amnesiac.heapspace.net>; Thu, 27 May 2004 22:08:51 +0100 (BST) Received: from smtp801.mail.sc5.yahoo.com (smtp801.mail.sc5.yahoo.com [66.163.168.180]) by amnesiac.heapspace.net (Postfix) with SMTP id 1DC5757EE for <Devel@lists.planetplanet.org>; Thu, 27 May 2004 22:08:42 +0100 (BST) Received: from unknown (HELO mozillazine.org) (kerz@sbcglobal.net@209.157.154.39 with plain) by smtp801.mail.sc5.yahoo.com with SMTP; 27 May 2004 21:08:41 -0000 Message-ID: <40B658D8.2040909@mozillazine.org> Date: Thu, 27 May 2004 14:08:40 -0700 From: Jason Kersey <kerz@mozillazine.org> User-Agent: Mozilla Thunderbird 0.5+ (X11/20040312) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Harish Narayanan <harish@gamebox.net> Subject: Re: [Devel] Page goes blank after update References: <40B510F7.2050501@mozillazine.org> <40B52284.20203@gamebox.net> In-Reply-To: <40B52284.20203@gamebox.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Cc: Devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 27 May 2004 21:08:52 -0000 Status: O Content-Length: 409 Lines: 11 Harish Narayanan wrote: > Grab the latest version from arch, and things should be better. Or > probably tweak your incoming feeds. I grabbed yesterday's build, still no luck. It's entirely random, and doesn't show any errors when it happens. If I poke at it it will never show up, but if I wander off for a few hours (it runs on a cron job hourly, on the hour) it will appear again. Very odd. jason From harish@gamebox.net Thu May 27 22:48:51 2004 Return-Path: <harish@gamebox.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id C25D457E9 for <devel@amnesiac.heapspace.net>; Thu, 27 May 2004 22:48:51 +0100 (BST) Received: from snickers.hotpop.com (snickers.hotpop.com [38.113.3.51]) by amnesiac.heapspace.net (Postfix) with ESMTP id DA5D157BA for <Devel@lists.planetplanet.org>; Thu, 27 May 2004 22:48:49 +0100 (BST) Received: from gamebox.net (kubrick.hotpop.com [38.113.3.103]) by snickers.hotpop.com (Postfix) with SMTP id 94DAC71E09 for <Devel@lists.planetplanet.org>; Thu, 27 May 2004 20:54:31 +0000 (UTC) Received: from [192.168.0.100] (bgp997591bgs.nanarb01.mi.comcast.net [68.40.58.58]) by smtp-3.hotpop.com (Postfix) with ESMTP id CEEBBF8B26F; Thu, 27 May 2004 21:27:05 +0000 (UTC) Message-ID: <40B6623B.40003@gamebox.net> Date: Thu, 27 May 2004 17:48:43 -0400 From: Harish Narayanan <harish@gamebox.net> User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jason Kersey <kerz@mozillazine.org> Subject: Re: [Devel] Page goes blank after update References: <40B510F7.2050501@mozillazine.org> <40B52284.20203@gamebox.net> <40B658D8.2040909@mozillazine.org> In-Reply-To: <40B658D8.2040909@mozillazine.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Cc: Devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 27 May 2004 21:48:52 -0000 Status: O Content-Length: 394 Lines: 15 Jason Kersey wrote: > I grabbed yesterday's build, still no luck. It's entirely random, and > doesn't show any errors when it happens. I know, then I must have got some lucky break when it seemingly fixed itself. Probably it has something to do with feed timezones, since it fixes itself periodically. I'm sorry I really don't know what the problem is or how it can be fixed. Harish From jdub@waugh.id.au Sun May 30 13:42:23 2004 Return-Path: <jdub@waugh.id.au> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 762EC57E3 for <devel@amnesiac.heapspace.net>; Sun, 30 May 2004 13:42:23 +0100 (BST) Received: from mail.syd.swiftdsl.com.au (mail.syd.swiftdsl.com.au [202.154.83.58]) by amnesiac.heapspace.net (Postfix) with SMTP id EC6E757D8 for <devel@lists.planetplanet.org>; Sun, 30 May 2004 13:42:18 +0100 (BST) Received: (qmail 29056 invoked from network); 30 May 2004 12:42:18 -0000 Received: from unknown (HELO home.waugh.id.au) (218.214.67.227) by mail.syd.swiftdsl.com.au with SMTP; 30 May 2004 12:42:18 -0000 Received: by home.waugh.id.au (Postfix, from userid 1001) id 6CDE4E8DC1; Sun, 30 May 2004 22:42:14 +1000 (EST) Date: Sun, 30 May 2004 22:42:14 +1000 From: Jeff Waugh <jdub@perkypants.org> To: Planet Hackers <devel@lists.planetplanet.org> Message-ID: <20040530124214.GG23252@perkypants.org> Mail-Followup-To: Planet Hackers <devel@lists.planetplanet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Reply-By: Wed Jun 2 22:40:22 EST 2004 X-Operating-System: Linux 2.6.5-1-686 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 22:40:22 up 21 days, 21:41, 4 users, load average: 0.12, 0.04, 0.01 User-Agent: Mutt/1.5.6i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Subject: [Devel] Added TODO file to my branch X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sun, 30 May 2004 12:42:23 -0000 Status: O Content-Length: 443 Lines: 16 Hey, I added a TODO file to my branch, which includes the 1.0 goals mentioned on the list previously, and a few other requests we've received. If anyone's itching to get their Python pants on, please check it out and send patches! Thanks, - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ What do you get when you cross a web server and a hen? Apoache. From mary@home.puzzling.org Wed Jun 2 02:39:38 2004 Return-Path: <mary@home.puzzling.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 6238657E9 for <devel@amnesiac.heapspace.net>; Wed, 2 Jun 2004 02:39:38 +0100 (BST) Received: from mail.syd.swiftdsl.com.au (mail.syd.swiftdsl.com.au [202.154.83.58]) by amnesiac.heapspace.net (Postfix) with SMTP id 9017257BA for <devel@lists.planetplanet.org>; Wed, 2 Jun 2004 02:39:33 +0100 (BST) Received: (qmail 19901 invoked from network); 2 Jun 2004 01:39:30 -0000 Received: from unknown (HELO home.puzzling.org) (218.214.66.203) by mail.syd.swiftdsl.com.au with SMTP; 2 Jun 2004 01:39:30 -0000 Received: from localhost (flay [127.0.0.1]) by home.puzzling.org (Postfix) with ESMTP id 2B61A788349 for <devel@lists.planetplanet.org>; Wed, 2 Jun 2004 11:39:32 +1000 (EST) Received: from home.puzzling.org ([127.0.0.1]) by localhost (flay [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18970-04 for <devel@lists.planetplanet.org>; Wed, 2 Jun 2004 11:39:32 +1000 (EST) Received: from titus.home.puzzling.org (titus.home.puzzling.org [10.0.0.2]) by home.puzzling.org (Postfix) with SMTP id 3C07478833E for <devel@lists.planetplanet.org>; Wed, 2 Jun 2004 11:39:31 +1000 (EST) Received: (nullmailer pid 20426 invoked by uid 1001); Wed, 02 Jun 2004 01:39:28 -0000 Date: Wed, 2 Jun 2004 11:39:28 +1000 From: Mary Gardiner <mary-planet@puzzling.org> To: "Planet's Planeteers, You Can Be One Too" <devel@lists.planetplanet.org> Message-ID: <20040602013928.GA20374@titus.home.puzzling.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Nihilism: Consistency is all I ask... Give us this day our daily mask. X-GPG-Key: 1024D/77625870 X-GPG-Fingerprint: B141 CD1A 4603 1CD7 6D64 EFBF D256 C568 7762 5870 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at home.puzzling.org X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Subject: [Devel] Bugs in handling redirected feeds nicely? X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 02 Jun 2004 01:39:38 -0000 Status: O Content-Length: 1031 Lines: 23 I've moved one of my feeds in the last few days and set up the old feed to redirect to the new with HTTP return code 302. This has given me the opportunity to unearth what I think are a few bugs in Planet's (or feedparser's?) handling of redirects: - if feed X redirects to feed Y, Planet's request for feed Y will not include the relevant If-None-Match etc headers, even if it has seen feed Y before, resulting in feed Y always being returned in full by the server; and - if feed X redirects to feed Y, feed Y will be cached in an appropriate file, but the relevant planetlib.Channel object's cached_items variable will not be updated to contain feed Y's items after the redirect. It will always contain feed X's items. The latter showed up for me as a separate bug in my own Planet tree: I have code that only regenerates the output file if at least one feed has updated (where updated == "feed contains items that do not appear in the cache"). The output file was being regenerated every time :) -Mary From jdub@waugh.id.au Mon Jun 7 07:44:28 2004 Return-Path: <jdub@waugh.id.au> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id A0B9E57C6 for <devel@amnesiac.heapspace.net>; Mon, 7 Jun 2004 07:44:28 +0100 (BST) Received: from mail.syd.swiftdsl.com.au (mail.syd.swiftdsl.com.au [202.154.83.58]) by amnesiac.heapspace.net (Postfix) with SMTP id 68A5E57D4 for <devel@lists.planetplanet.org>; Mon, 7 Jun 2004 07:44:24 +0100 (BST) Received: (qmail 5951 invoked from network); 7 Jun 2004 06:44:21 -0000 Received: from unknown (HELO home.waugh.id.au) (218.214.67.227) by mail.syd.swiftdsl.com.au with SMTP; 7 Jun 2004 06:44:21 -0000 Received: by home.waugh.id.au (Postfix, from userid 1001) id 9823CE8CF5; Mon, 7 Jun 2004 16:44:18 +1000 (EST) Date: Mon, 7 Jun 2004 16:44:18 +1000 From: Jeff Waugh <jdub@perkypants.org> To: Planet Hackers <devel@lists.planetplanet.org> Message-ID: <20040607064418.GA3507@perkypants.org> Mail-Followup-To: Planet Hackers <devel@lists.planetplanet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Reply-By: Thu Jun 10 16:44:00 EST 2004 X-Operating-System: Linux 2.6.5-1-686 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 16:44:00 up 29 days, 15:45, 3 users, load average: 0.25, 0.13, 0.04 User-Agent: Mutt/1.5.6i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 Subject: [Devel] Planet configuration via moinmoin X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 07 Jun 2004 06:44:28 -0000 Status: O Content-Length: 342 Lines: 14 This is interesting: http://lsd.student.utwente.nl/componentplanet/ComponentBlogConfigFile What a fun idea. :-) - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "There are men with an appetite for fight and a sense of occasion, and then there is Waugh." - SMH, about Steve From jdub@waugh.id.au Fri Jun 11 18:49:56 2004 Return-Path: <jdub@waugh.id.au> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from 127.0.0.1 (unknown [127.0.0.1]) by inject (Postfix) with SMTP id 4021957E9 for <devel@amnesiac.heapspace.net>; Fri, 11 Jun 2004 18:49:56 +0100 (BST) Received: from mail.syd.swiftdsl.com.au (mail.syd.swiftdsl.com.au [202.154.83.58]) by amnesiac.heapspace.net (Postfix) with SMTP id 7EDA057BA for <devel@lists.planetplanet.org>; Fri, 11 Jun 2004 18:49:52 +0100 (BST) Received: (qmail 7258 invoked from network); 11 Jun 2004 17:49:52 -0000 Received: from unknown (HELO home.waugh.id.au) (218.214.67.227) by mail.syd.swiftdsl.com.au with SMTP; 11 Jun 2004 17:49:52 -0000 Received: by home.waugh.id.au (Postfix, from userid 1001) id 5662AE8CF7; Sat, 12 Jun 2004 03:49:47 +1000 (EST) Date: Sat, 12 Jun 2004 03:49:47 +1000 From: Jeff Waugh <jdub@perkypants.org> To: Planet Hackers <devel@lists.planetplanet.org> Message-ID: <20040611174947.GA3507@perkypants.org> Mail-Followup-To: Planet Hackers <devel@lists.planetplanet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Reply-By: Tue Jun 15 03:49:09 EST 2004 X-Operating-System: Linux 2.6.5-1-686 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 03:49:09 up 34 days, 2:50, 6 users, load average: 0.05, 0.02, 0.00 User-Agent: Mutt/1.5.6i X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on amnesiac.heapspace.net X-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL, BAYES_00, J_CHICKENPOX_53 autolearn=no version=2.63 Subject: [Devel] fwd: Announcing.. Planet FLOSS India X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Fri, 11 Jun 2004 17:49:56 -0000 Status: O Content-Length: 2188 Lines: 59 Yay! btw, Google for link:planetplanet.org some time. Golly. - Jeff ----- Forwarded message from Sayamindu Dasgupta <sayamindu@clai.net> ----- Date: Fri, 11 Jun 2004 23:24:15 +0530 From: Sayamindu Dasgupta <sayamindu@clai.net> To: linux-india-general@lists.sourceforge.net, fsf-friends@gnu.org.in, ilug-cal@ilug-cal.org Cc: jdub@perkypants.org, fred@bytesforall.org Subject: Announcing.. Planet FLOSS India Announcing - Planet FLOSS India http://planet-india.randomink.org ************************************************************************* Planet FLOSS India is way for everyone to get an idea of what is happening in the world of Free/Libre/Open Source enthusiasts from India. It is a window into world, work and lives of FLOSS developers, contributors and users from India. Planet FLOSS India draws its inspirations from Planet GNOME, Planet Debian and the numerous other planets scattered throughout the world wide web. Planet FLOSS India is powered by "Planet", a RSS/RDF/whatnot feed aggregator. It works by downloading news feeds published by blogs and aggregates their content together into a single combined feed, latest entry first. Since it is just a simple aggregator, there is no scope for editorialising of content, and thus, the entries are not just about technology, but also about the lives and thoughts and opinions of the featured FLOSS'ers. If you are from India (you need not be physically present in India right now), and if you blog regularly, please get in touch with me (sayamindu@randomink.org). Your blog need not be entirely about FLOSS, we have no issues with you writing about your cat occasionally (heck! even I do it sometimes). :) To include you in the feed list, I would need an URL to your blog's XML feed, and your picture (optional, though highly recommended). Also, if you know someone who may be a likely candidate for inclusion in the Planet, please do let me know. -thanks- Sayamindu ----- End forwarded message ----- -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "I think we agnostics need a term for a holy war too. I feel all left out." - George Lebl From ja2morri@csclub.uwaterloo.ca Wed Jun 16 07:02:10 2004 Return-Path: <ja2morri@csclub.uwaterloo.ca> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id C7C0A57F5 for <devel@amnesiac.heapspace.net>; Wed, 16 Jun 2004 07:02:09 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13557-02-8 for <devel@amnesiac.heapspace.net>; Wed, 16 Jun 2004 07:02:09 +0100 (BST) Received: from perpugilliam.csclub.uwaterloo.ca (perpugilliam.csclub.uwaterloo.ca [129.97.134.31]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6A79C57EE for <devel@lists.planetplanet.org>; Wed, 16 Jun 2004 07:02:09 +0100 (BST) Received: by perpugilliam.csclub.uwaterloo.ca (Postfix, from userid 20178) id 246B4A8583; Wed, 16 Jun 2004 02:02:08 -0400 (EDT) To: devel@lists.planetplanet.org Message-Id: <20040616060208.246B4A8583@perpugilliam.csclub.uwaterloo.ca> Date: Wed, 16 Jun 2004 02:02:08 -0400 (EDT) From: ja2morri@csclub.uwaterloo.ca (James Morrison) X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Atom feeds X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 16 Jun 2004 06:02:10 -0000 Status: O Content-Length: 590 Lines: 24 Hi, My feed[1] seems to be horribly mangled when output on Planet Debian. I'm really not sure what is going on but I get some interesting conversions: <br/> <br/> Apparently <a href="http://www.go-quiz.com/">Go Quiz</a> knows how to make a phython: <br/> <ul> <li> 1 part anger</li> <li> 1 part arrogance</li> into: <br>> <br></br>> Apparently <a href="http://www.go-quiz.com/">Go Quiz</a> knows how to make a phython: <br>> <ul> <li> 1 part anger<</br>li> Would PlanetPlanet now be chocking on <... />? Any ideas where to fix this? Jim [1] http://phython.blogspot.com/atom.xml From jdub@waugh.id.au Sat Jun 19 08:21:42 2004 Return-Path: <jdub@waugh.id.au> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id D02F257E9 for <devel@amnesiac.heapspace.net>; Sat, 19 Jun 2004 08:21:41 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 74074-02-9 for <devel@amnesiac.heapspace.net>; Sat, 19 Jun 2004 08:21:41 +0100 (BST) Received: from mail.syd.swiftdsl.com.au (mail.syd.swiftdsl.com.au [202.154.83.58]) by amnesiac.heapspace.net (Postfix) with SMTP id 66D2A57D8 for <devel@lists.planetplanet.org>; Sat, 19 Jun 2004 08:21:39 +0100 (BST) Received: (qmail 1707 invoked from network); 19 Jun 2004 07:21:37 -0000 Received: from unknown (HELO home.waugh.id.au) (218.214.67.227) by mail.syd.swiftdsl.com.au with SMTP; 19 Jun 2004 07:21:37 -0000 Received: by home.waugh.id.au (Postfix, from userid 1001) id ED375E8D9A; Sat, 19 Jun 2004 17:21:34 +1000 (EST) Date: Sat, 19 Jun 2004 17:21:34 +1000 From: Jeff Waugh <jdub@perkypants.org> To: Ryan Phillips <trolocsis@gmail.com> Message-ID: <20040619072134.GF3507@perkypants.org> Mail-Followup-To: Ryan Phillips <trolocsis@gmail.com>, scott@netsplit.com, Planet Hackers <devel@lists.planetplanet.org> References: <14ef9eff04061900162cf4b31c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14ef9eff04061900162cf4b31c@mail.gmail.com> Reply-By: Tue Jun 22 17:21:07 EST 2004 X-Operating-System: Linux 2.6.5-1-686 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 17:21:07 up 41 days, 16:22, 5 users, load average: 0.12, 0.08, 0.02 User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Planet Hackers <devel@lists.planetplanet.org>, scott@netsplit.com Subject: [Devel] Re: Planet Python X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sat, 19 Jun 2004 07:21:42 -0000 Status: O Content-Length: 465 Lines: 17 <quote who="Ryan Phillips"> > I've created a Planet Python at www.planetpython.org > Thanks for the great software... Dude! Awesome! :-) (Letting the list know too...) - Jeff -- GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/ "Ever since GNOME development began, I have urged people to aim to make it as good as the Macintosh. To try to be like Windows is to try for second-best." - Richard Stallman From jpablo@gnome.org Mon Jun 21 16:05:32 2004 Return-Path: <jpablo@gnome.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id BE59E57E9 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 16:05:32 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10943-01-60 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 16:05:32 +0100 (BST) Received: from amy.the-vox.com (unknown [201.129.91.59]) by amnesiac.heapspace.net (Postfix) with ESMTP id CD95557DF for <devel@lists.planetplanet.org>; Mon, 21 Jun 2004 16:05:27 +0100 (BST) Received: from amy.the-vox.com (amy.the-vox.com [192.168.1.10]) by amy.the-vox.com (Postfix) with ESMTP id B39164F8B7 for <devel@lists.planetplanet.org>; Mon, 21 Jun 2004 10:05:26 -0500 (CDT) From: Juan Pablo Mendoza <jpablo@gnome.org> To: devel@lists.planetplanet.org Content-Type: text/plain; charset=ISO-8859-1 Message-Id: <1087830326.1469.10.camel@amy.the-vox.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 21 Jun 2004 10:05:26 -0500 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Varius problems setuping planet. X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 21 Jun 2004 15:05:33 -0000 Status: O Content-Length: 1019 Lines: 30 Hi, I'm trying to setup planet to aggregate all blog of the city of Monterrey, but i'm currently having problem with two issues: blogger atom feeds replaces <br /> with <br/> then planet replaces <br/> with something like <br>></br> (note the extra >) or <br></br>. I searched the archives and found someone with a similar problem, didn't find if or how he fixed it however, also feedparser.py says: 2.7.4 - 1/14/2004 - MAP - added workaround for improperly formed <br/> tags in encoded HTML (skadz); However the problem is still there ... The other issue are extended characters in blogs like áéíóúñÑüÜ planet parses thoses somehow and replaces them with dirt, both in the cache archives and in the page. (yes i have utf-8 as the charset in the page ...). I'm using yesdary's planet-nightly.tar.bz2, python2.3 from debian unstable, i test both with and without mxTidy. Any help would be apreciated, thanks. -- Juan Pablo Mendoza <jpablo@gnome.org> Monterrey, Nuevo León. México. http://linuxuanl.org/~jpablo From scott@netsplit.com Mon Jun 21 16:18:49 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 487D457AC for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 16:18:49 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11128-01-32 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 16:18:48 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id B187057E9 for <devel@lists.planetplanet.org>; Mon, 21 Jun 2004 16:18:48 +0100 (BST) Received: (qmail 19009 invoked from network); 21 Jun 2004 15:18:47 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 21 Jun 2004 15:18:47 -0000 Subject: Re: [Devel] Varius problems setuping planet. From: Scott James Remnant <scott@netsplit.com> To: Juan Pablo Mendoza <jpablo@gnome.org> In-Reply-To: <1087830326.1469.10.camel@amy.the-vox.com> References: <1087830326.1469.10.camel@amy.the-vox.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-hwZgqB7hV0E8UbI8fPoy" Date: Mon, 21 Jun 2004 16:18:49 +0100 Message-Id: <1087831129.2908.18.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9.1 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 21 Jun 2004 15:18:49 -0000 Status: O Content-Length: 1698 Lines: 50 --=-hwZgqB7hV0E8UbI8fPoy Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 2004-06-21 at 10:05 -0500, Juan Pablo Mendoza wrote: > blogger atom feeds replaces <br /> with <br/> then planet replaces <br/> > with something like <br>></br> (note the extra >) or <br></br>. I > searched the archives and found someone with a similar problem, didn't > find if or how he fixed it however, also feedparser.py says: >=20 > 2.7.4 - 1/14/2004 - MAP - added workaround for improperly formed <br/> > tags in encoded HTML (skadz); >=20 > However the problem is still there ... >=20 Yeah, I've been utterly unable to get to the bottom of this one so far :-( > The other issue are extended characters in blogs like =C3=A1=C3=A9=C3=AD= =C3=B3=C3=BA=C3=B1=C3=91=C3=BC=C3=9C planet > parses thoses somehow and replaces them with dirt, both in the cache > archives and in the page. (yes i have utf-8 as the charset in the page > ...). >=20 Are you sure your browser is picking up your page as UTF-8 ? Planet outputs UTF-8 HTML and your browser might think it's still in ISO-8559-1 (a typical occurrence of this is if you have non-UTF-8 in your template). Mozilla will tell us this in "Page Info" Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-hwZgqB7hV0E8UbI8fPoy Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBA1vxZIexP3IStZ2wRAg1IAJ90mNW9U6B7J452Fe4MBQ6Q/NFlXQCdHkfj Ek6sMTU8RUC24LyY8Tsxl8g= =j8YF -----END PGP SIGNATURE----- --=-hwZgqB7hV0E8UbI8fPoy-- From jpablo@gnome.org Mon Jun 21 16:45:42 2004 Return-Path: <jpablo@gnome.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 9568357DF for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 16:45:42 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12719-01-11 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 16:45:42 +0100 (BST) Received: from amy.the-vox.com (unknown [201.129.91.59]) by amnesiac.heapspace.net (Postfix) with ESMTP id 065F457C6 for <devel@lists.planetplanet.org>; Mon, 21 Jun 2004 16:45:40 +0100 (BST) Received: from amy.the-vox.com (amy.the-vox.com [192.168.1.10]) by amy.the-vox.com (Postfix) with ESMTP id F3A0F4F8B7; Mon, 21 Jun 2004 10:45:34 -0500 (CDT) Subject: Re: [Devel] Varius problems setuping planet. From: Juan Pablo Mendoza <jpablo@gnome.org> To: Scott James Remnant <scott@netsplit.com> In-Reply-To: <1087831129.2908.18.camel@descent.netsplit.com> References: <1087830326.1469.10.camel@amy.the-vox.com> <1087831129.2908.18.camel@descent.netsplit.com> Content-Type: text/plain; charset=iso-8859-1 Message-Id: <1087832734.1469.16.camel@amy.the-vox.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 21 Jun 2004 10:45:34 -0500 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 21 Jun 2004 15:45:42 -0000 Status: O Content-Length: 1694 Lines: 41 On Mon, 2004-06-21 at 10:18, Scott James Remnant wrote: > On Mon, 2004-06-21 at 10:05 -0500, Juan Pablo Mendoza wrote: > > > blogger atom feeds replaces <br /> with <br/> then planet replaces <br/> > > with something like <br>></br> (note the extra >) or <br></br>. I > > searched the archives and found someone with a similar problem, didn't > > find if or how he fixed it however, also feedparser.py says: > > > > 2.7.4 - 1/14/2004 - MAP - added workaround for improperly formed <br/> > > tags in encoded HTML (skadz); > > > > However the problem is still there ... > > > Yeah, I've been utterly unable to get to the bottom of this one so > far :-( Is there any workaround ? it wouln't be a problem if it just changed to <br></br> but that <br>></br> is really annoying since i get a lot of > in the rendered page. > > The other issue are extended characters in blogs like áéíóúñÑüÜ planet > > parses thoses somehow and replaces them with dirt, both in the cache > > archives and in the page. (yes i have utf-8 as the charset in the page > > ...). > > > Are you sure your browser is picking up your page as UTF-8 ? Planet > outputs UTF-8 HTML and your browser might think it's still in ISO-8559-1 > (a typical occurrence of this is if you have non-UTF-8 in your > template). Mozilla will tell us this in "Page Info" This was indeed the problem, mozilla was ignoring the <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> tag because apache was telling it was a iso8559-1 document, i added AddDefaultCharset utf-8 to my .htaccess and it worked, thanks. > Scott -- Juan Pablo Mendoza <jpablo@gnome.org> Monterrey, Nuevo León. México. http://linuxuanl.org/~jpablo From scott@netsplit.com Mon Jun 21 16:55:22 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 131C757C6 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 16:55:22 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12719-01-37 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 16:55:21 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 7B56057E7 for <devel@lists.planetplanet.org>; Mon, 21 Jun 2004 16:55:21 +0100 (BST) Received: (qmail 20089 invoked from network); 21 Jun 2004 15:55:20 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 21 Jun 2004 15:55:20 -0000 Subject: Re: [Devel] Varius problems setuping planet. From: Scott James Remnant <scott@netsplit.com> To: Juan Pablo Mendoza <jpablo@gnome.org> In-Reply-To: <1087832734.1469.16.camel@amy.the-vox.com> References: <1087830326.1469.10.camel@amy.the-vox.com> <1087831129.2908.18.camel@descent.netsplit.com> <1087832734.1469.16.camel@amy.the-vox.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-9PZrVa3w+wtGG5R/M4YX" Date: Mon, 21 Jun 2004 16:55:22 +0100 Message-Id: <1087833322.2908.20.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9.1 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 21 Jun 2004 15:55:22 -0000 Status: O Content-Length: 1652 Lines: 54 --=-9PZrVa3w+wtGG5R/M4YX Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-06-21 at 10:45 -0500, Juan Pablo Mendoza wrote: > On Mon, 2004-06-21 at 10:18, Scott James Remnant wrote: > > On Mon, 2004-06-21 at 10:05 -0500, Juan Pablo Mendoza wrote: > >=20 > > > blogger atom feeds replaces <br /> with <br/> then planet replaces <b= r/> > > > with something like <br>></br> (note the extra >) or <br></br>. I > > > searched the archives and found someone with a similar problem, didn'= t > > > find if or how he fixed it however, also feedparser.py says: > > >=20 > > > 2.7.4 - 1/14/2004 - MAP - added workaround for improperly formed <br/= > > > > tags in encoded HTML (skadz); > > >=20 > > > However the problem is still there ... > > >=20 > > Yeah, I've been utterly unable to get to the bottom of this one so > > far :-( >=20 > Is there any workaround ? it wouln't be a problem if it just changed to > <br></br> but that <br>></br> is really annoying since i get a lot of > > in the rendered page. >=20 Not yet. It's figuring out which of {Python,FeedParser,Planet} is causing it ... I have a horrible suspicion it's another sgmllib bug :-( Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-9PZrVa3w+wtGG5R/M4YX Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBA1wTqIexP3IStZ2wRAkKAAJ9JWOFiOy3eNhDZRU0nFivMzgQP9wCgkp2u pHYiIEPzLF8dhGzhrF7eUSk= =3toj -----END PGP SIGNATURE----- --=-9PZrVa3w+wtGG5R/M4YX-- From simos74@gmx.net Mon Jun 21 17:21:12 2004 Return-Path: <simos74@gmx.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id D3F3D57E7 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 17:21:11 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12718-01-92 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 17:21:11 +0100 (BST) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id 52D6357C6 for <devel@lists.planetplanet.org>; Mon, 21 Jun 2004 17:21:11 +0100 (BST) Received: (qmail 7326 invoked by uid 65534); 21 Jun 2004 16:21:10 -0000 Received: from unknown (EHLO [192.168.1.148]) (219.94.58.212) by mail.gmx.net (mp023) with SMTP; 21 Jun 2004 18:21:10 +0200 X-Authenticated: #10070094 Message-ID: <40D70AF1.3000004@gmx.net> Date: Tue, 22 Jun 2004 00:21:05 +0800 From: Simos Xenitellis <simos74@gmx.net> User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Juan Pablo Mendoza <jpablo@gnome.org>, "Hack the Planet!" <devel@lists.planetplanet.org> Subject: Re: [Devel] Varius problems setuping planet. References: <1087830326.1469.10.camel@amy.the-vox.com> <1087831129.2908.18.camel@descent.netsplit.com> <1087832734.1469.16.camel@amy.the-vox.com> In-Reply-To: <1087832734.1469.16.camel@amy.the-vox.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 21 Jun 2004 16:21:12 -0000 Status: O Content-Length: 1252 Lines: 42 Juan Pablo Mendoza wrote: >On Mon, 2004-06-21 at 10:18, Scott James Remnant wrote: > > >>On Mon, 2004-06-21 at 10:05 -0500, Juan Pablo Mendoza wrote: >> >> >> >>>blogger atom feeds replaces <br /> with <br/> then planet replaces <br/> >>>with something like <br>></br> (note the extra >) or <br></br>. I >>>searched the archives and found someone with a similar problem, didn't >>>find if or how he fixed it however, also feedparser.py says: >>> >>>2.7.4 - 1/14/2004 - MAP - added workaround for improperly formed <br/> >>>tags in encoded HTML (skadz); >>> >>>However the problem is still there ... >>> >>> >>> >>Yeah, I've been utterly unable to get to the bottom of this one so >>far :-( >> >> > >Is there any workaround ? it wouln't be a problem if it just changed to ><br></br> but that <br>></br> is really annoying since i get a lot of > >in the rendered page. > > As mentioned earlier on the list, you can postprocess the RSS feed files to convert the "<br/ >" syntax to the one that does not have a space. Actually, I think that <div> has the same issue. Did you notice any <div> as well in the Planet output? The <br/ > syntax (with space) is valid syntax (XHTML). As such, it should really be fixed in the code. simos From jpablo@gnome.org Mon Jun 21 17:21:14 2004 Return-Path: <jpablo@gnome.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id B4D7957E9 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 17:21:13 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12718-01-93 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 17:21:13 +0100 (BST) Received: from amy.the-vox.com (unknown [201.129.91.59]) by amnesiac.heapspace.net (Postfix) with ESMTP id AA38C57DF for <devel@lists.planetplanet.org>; Mon, 21 Jun 2004 17:21:11 +0100 (BST) Received: from amy.the-vox.com (amy.the-vox.com [192.168.1.10]) by amy.the-vox.com (Postfix) with ESMTP id A4DB54F8B7; Mon, 21 Jun 2004 11:21:06 -0500 (CDT) Subject: Re: [Devel] Varius problems setuping planet. From: Juan Pablo Mendoza <jpablo@gnome.org> To: Scott James Remnant <scott@netsplit.com> In-Reply-To: <1087833322.2908.20.camel@descent.netsplit.com> References: <1087830326.1469.10.camel@amy.the-vox.com> <1087831129.2908.18.camel@descent.netsplit.com> <1087832734.1469.16.camel@amy.the-vox.com> <1087833322.2908.20.camel@descent.netsplit.com> Content-Type: text/plain; charset=iso-8859-1 Message-Id: <1087834866.1469.20.camel@amy.the-vox.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 21 Jun 2004 11:21:06 -0500 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 21 Jun 2004 16:21:14 -0000 Status: O Content-Length: 1448 Lines: 38 On Mon, 2004-06-21 at 10:55, Scott James Remnant wrote: > On Mon, 2004-06-21 at 10:45 -0500, Juan Pablo Mendoza wrote: > > > On Mon, 2004-06-21 at 10:18, Scott James Remnant wrote: > > > On Mon, 2004-06-21 at 10:05 -0500, Juan Pablo Mendoza wrote: > > > > > > > blogger atom feeds replaces <br /> with <br/> then planet replaces <br/> > > > > with something like <br>></br> (note the extra >) or <br></br>. I > > > > searched the archives and found someone with a similar problem, didn't > > > > find if or how he fixed it however, also feedparser.py says: > > > > > > > > 2.7.4 - 1/14/2004 - MAP - added workaround for improperly formed <br/> > > > > tags in encoded HTML (skadz); > > > > > > > > However the problem is still there ... > > > > > > > Yeah, I've been utterly unable to get to the bottom of this one so > > > far :-( > > > > Is there any workaround ? it wouln't be a problem if it just changed to > > <br></br> but that <br>></br> is really annoying since i get a lot of > > > in the rendered page. > > > Not yet. > > It's figuring out which of {Python,FeedParser,Planet} is causing it ... > I have a horrible suspicion it's another sgmllib bug :-( Well, i just addedd a very hacky s/<br/>/<br /> right before sending the data to feedparser and worked. I'll try to figure out where the real problem is later ... > Scott -- Juan Pablo Mendoza <jpablo@gnome.org> Monterrey, Nuevo León. México. http://linuxuanl.org/~jpablo From jpablo@gnome.org Mon Jun 21 17:22:59 2004 Return-Path: <jpablo@gnome.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id DAB4257E8 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 17:22:58 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14431-01 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 17:22:58 +0100 (BST) Received: from amy.the-vox.com (unknown [201.129.91.59]) by amnesiac.heapspace.net (Postfix) with ESMTP id 1E87D57E7 for <devel@lists.planetplanet.org>; Mon, 21 Jun 2004 17:22:58 +0100 (BST) Received: from amy.the-vox.com (amy.the-vox.com [192.168.1.10]) by amy.the-vox.com (Postfix) with ESMTP id DCB1B4F8B7; Mon, 21 Jun 2004 11:22:57 -0500 (CDT) Subject: Re: [Devel] Varius problems setuping planet. From: Juan Pablo Mendoza <jpablo@gnome.org> To: Simos Xenitellis <simos74@gmx.net> In-Reply-To: <40D70AF1.3000004@gmx.net> References: <1087830326.1469.10.camel@amy.the-vox.com> <1087831129.2908.18.camel@descent.netsplit.com> <1087832734.1469.16.camel@amy.the-vox.com> <40D70AF1.3000004@gmx.net> Content-Type: text/plain; charset=iso-8859-1 Message-Id: <1087834977.1469.22.camel@amy.the-vox.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 21 Jun 2004 11:22:57 -0500 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 21 Jun 2004 16:22:59 -0000 Status: O Content-Length: 478 Lines: 14 On Mon, 2004-06-21 at 11:21, Simos Xenitellis wrote: > Actually, I think that <div> has the same issue. Did you notice any <div> > as well in the Planet output? Now that you say that, yes i do see also some <div>'s around, would add that to my hack too. > The <br/ > syntax (with space) is valid syntax (XHTML). As such, it > should really be fixed in the code. > > simos -- Juan Pablo Mendoza <jpablo@gnome.org> Monterrey, Nuevo León. México. http://linuxuanl.org/~jpablo From scott@netsplit.com Mon Jun 21 17:28:16 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 934DC57E9 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 17:28:16 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14431-02-2 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 17:28:16 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id F2D8D57E8 for <devel@lists.planetplanet.org>; Mon, 21 Jun 2004 17:28:15 +0100 (BST) Received: (qmail 20955 invoked from network); 21 Jun 2004 16:28:15 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 21 Jun 2004 16:28:15 -0000 Subject: Re: [Devel] Varius problems setuping planet. From: Scott James Remnant <scott@netsplit.com> To: Simos Xenitellis <simos74@gmx.net> In-Reply-To: <40D70AF1.3000004@gmx.net> References: <1087830326.1469.10.camel@amy.the-vox.com> <1087831129.2908.18.camel@descent.netsplit.com> <1087832734.1469.16.camel@amy.the-vox.com> <40D70AF1.3000004@gmx.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-GHeNOKK5sJE9iwA10tyk" Date: Mon, 21 Jun 2004 17:28:17 +0100 Message-Id: <1087835297.2908.31.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9.1 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Juan Pablo Mendoza <jpablo@gnome.org>, Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 21 Jun 2004 16:28:16 -0000 Status: O Content-Length: 937 Lines: 46 --=-GHeNOKK5sJE9iwA10tyk Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2004-06-22 at 00:21 +0800, Simos Xenitellis wrote: > The <br/ > syntax (with space) is valid syntax (XHTML). As such, it=20 > should really be fixed in the code. >=20 *chokes* No it bloody well isn't! "<br/>" is legal, "<br />" is legal, "<br/ >" is *NOT* legal. [44] =20 EmptyElemTag ::=3D =20 '<' Name (S Attribute)* S? '/>' [WFC: Unique Att Spec] Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-GHeNOKK5sJE9iwA10tyk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBA1wyhIexP3IStZ2wRArn2AJ9cX54RZdBmCQ40/PPygklD189tuACgjMcx 2yMXa0TAiBYYtvvQd5oFz0k= =2ZmQ -----END PGP SIGNATURE----- --=-GHeNOKK5sJE9iwA10tyk-- From simos74@gmx.net Mon Jun 21 17:34:05 2004 Return-Path: <simos74@gmx.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id AC69957E9 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 17:34:05 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14075-01-26 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 17:34:05 +0100 (BST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id 372FF57E8 for <devel@lists.planetplanet.org>; Mon, 21 Jun 2004 17:34:05 +0100 (BST) Received: (qmail 5306 invoked by uid 65534); 21 Jun 2004 16:34:04 -0000 Received: from unknown (EHLO [192.168.1.148]) (219.94.58.212) by mail.gmx.net (mp012) with SMTP; 21 Jun 2004 18:34:04 +0200 X-Authenticated: #10070094 Message-ID: <40D70DF7.6000008@gmx.net> Date: Tue, 22 Jun 2004 00:33:59 +0800 From: Simos Xenitellis <simos74@gmx.net> User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Scott James Remnant <scott@netsplit.com> Subject: Re: [Devel] Varius problems setuping planet. References: <1087830326.1469.10.camel@amy.the-vox.com> <1087831129.2908.18.camel@descent.netsplit.com> <1087832734.1469.16.camel@amy.the-vox.com> <40D70AF1.3000004@gmx.net> <1087835297.2908.31.camel@descent.netsplit.com> In-Reply-To: <1087835297.2908.31.camel@descent.netsplit.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Juan Pablo Mendoza <jpablo@gnome.org>, Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 21 Jun 2004 16:34:06 -0000 Status: O Content-Length: 529 Lines: 35 Scott James Remnant wrote: >On Tue, 2004-06-22 at 00:21 +0800, Simos Xenitellis wrote: > > > >>The <br/ > syntax (with space) is valid syntax (XHTML). As such, it >>should really be fixed in the code. >> >> >> >*chokes* > >No it bloody well isn't! > >"<br/>" is legal, >"<br />" is legal, >"<br/ >" is *NOT* legal. > >[44] >EmptyElemTag > ::= >'<' Name (S >Attribute)* S? >'/>' >[WFC: Unique >Att Spec] > > Aiiii! That was a typo. See: http://lists.planetplanet.org/pipermail/devel/2004-May/000130.html simos From murrayc@murrayc.com Mon Jun 21 18:17:53 2004 Return-Path: <murrayc@murrayc.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 7311B57E9 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 18:17:53 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15381-01-30 for <devel@amnesiac.heapspace.net>; Mon, 21 Jun 2004 18:17:53 +0100 (BST) Received: from jareth.dreamhost.com (jareth.dreamhost.com [66.33.198.201]) by amnesiac.heapspace.net (Postfix) with ESMTP id ED97F57E7 for <devel@lists.planetplanet.org>; Mon, 21 Jun 2004 18:17:52 +0100 (BST) Received: from pD9E8A0A0.dip.t-dialin.net (pD9E8A0A0.dip.t-dialin.net [217.232.160.160]) by jareth.dreamhost.com (Postfix) with ESMTP id CC6B66B60F; Mon, 21 Jun 2004 10:17:49 -0700 (PDT) Subject: Re: [Devel] Varius problems setuping planet. From: Murray Cumming <murrayc@murrayc.com> To: Juan Pablo Mendoza <jpablo@gnome.org> In-Reply-To: <1087834977.1469.22.camel@amy.the-vox.com> References: <1087830326.1469.10.camel@amy.the-vox.com> <1087831129.2908.18.camel@descent.netsplit.com> <1087832734.1469.16.camel@amy.the-vox.com> <40D70AF1.3000004@gmx.net> <1087834977.1469.22.camel@amy.the-vox.com> Content-Type: text/plain Date: Mon, 21 Jun 2004 19:17:05 +0200 Message-Id: <1087838225.3333.48.camel@murrayc_debian> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: planet-devel <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 21 Jun 2004 17:17:53 -0000 Status: O Content-Length: 814 Lines: 22 On Mon, 2004-06-21 at 11:22 -0500, Juan Pablo Mendoza wrote: > On Mon, 2004-06-21 at 11:21, Simos Xenitellis wrote: > > Actually, I think that <div> has the same issue. Did you notice any <div> > > as well in the Planet output? > Now that you say that, yes i do see also some <div>'s around, would add that to my hack too. It would be nice if you post your patch to the list, because it would take me a while even to make these simple python changes. <br/ > might not be legal syntax but I think it's a perfectly fine example of being liberal with what we accept. There's nothing else that could be intended by that sequence of characters. > > The <br/ > syntax (with space) is valid syntax (XHTML). As such, it > > should really be fixed in the code. -- Murray Cumming murrayc@murrayc.com www.murrayc.com From jpablo@gnome.org Tue Jun 22 01:47:02 2004 Return-Path: <jpablo@gnome.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id ECB1657C6 for <devel@amnesiac.heapspace.net>; Tue, 22 Jun 2004 01:47:01 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21613-03-9 for <devel@amnesiac.heapspace.net>; Tue, 22 Jun 2004 01:47:01 +0100 (BST) Received: from amy.the-vox.com (unknown [201.129.91.156]) by amnesiac.heapspace.net (Postfix) with ESMTP id 105FE57BA for <devel@lists.planetplanet.org>; Tue, 22 Jun 2004 01:47:00 +0100 (BST) Received: from amy.the-vox.com (amy.the-vox.com [192.168.1.10]) by amy.the-vox.com (Postfix) with ESMTP id 5F2BB4F8B7; Mon, 21 Jun 2004 19:47:01 -0500 (CDT) Subject: Re: [Devel] Varius problems setuping planet. From: Juan Pablo Mendoza <jpablo@gnome.org> To: Murray Cumming <murrayc@murrayc.com> In-Reply-To: <1087838225.3333.48.camel@murrayc_debian> References: <1087830326.1469.10.camel@amy.the-vox.com> <1087831129.2908.18.camel@descent.netsplit.com> <1087832734.1469.16.camel@amy.the-vox.com> <40D70AF1.3000004@gmx.net> <1087834977.1469.22.camel@amy.the-vox.com> <1087838225.3333.48.camel@murrayc_debian> Content-Type: text/plain; charset=iso-8859-1 Message-Id: <1087865221.1469.24.camel@amy.the-vox.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 21 Jun 2004 19:47:01 -0500 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: planet-devel <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 22 Jun 2004 00:47:02 -0000 Status: O Content-Length: 1153 Lines: 40 On Mon, 2004-06-21 at 12:17, Murray Cumming wrote: > On Mon, 2004-06-21 at 11:22 -0500, Juan Pablo Mendoza wrote: > > On Mon, 2004-06-21 at 11:21, Simos Xenitellis wrote: > > > Actually, I think that <div> has the same issue. Did you notice any <div> > > > as well in the Planet output? > > Now that you say that, yes i do see also some <div>'s around, would add that to my hack too. > > It would be nice if you post your patch to the list, because it would > take me a while even to make these simple python changes. Here is the patch, really simple stuff. --- planet-original/planetlib.py 2004-06-19 18:00:06.000000000 -0500 +++ planet-nightly/planetlib.py 2004-06-21 19:44:06.000000000 -0500 @@ -19,6 +19,7 @@ import os import re import time +import string import feedparser import StringIO @@ -180,6 +181,8 @@ """ data = f.read() + data = string.replace (data, "<br/>", "<br />") + if hasattr(f, 'headers'): if gzip and f.headers.get('content-encoding', '') == 'gzip': try: -- Juan Pablo Mendoza <jpablo@gnome.org> Monterrey, Nuevo León. México. http://linuxuanl.org/~jpablo From jpablo@linuxuanl.org Tue Jun 22 18:12:44 2004 Return-Path: <jpablo@linuxuanl.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 421B757DF for <devel@amnesiac.heapspace.net>; Tue, 22 Jun 2004 18:12:44 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 35072-02-13 for <devel@amnesiac.heapspace.net>; Tue, 22 Jun 2004 18:12:44 +0100 (BST) Received: from linuxuanl.org (host-148-244-140-29.block.alestra.net.mx [148.244.140.29]) by amnesiac.heapspace.net (Postfix) with ESMTP id C61BB57C2 for <devel@lists.planetplanet.org>; Tue, 22 Jun 2004 18:12:42 +0100 (BST) Received: by linuxuanl.org (Postfix, from userid 1000) id 4C5511FB3B; Tue, 22 Jun 2004 12:12:41 -0500 (EST) Date: Tue, 22 Jun 2004 12:12:41 -0500 To: devel@lists.planetplanet.org Message-ID: <20040622171241.GA25621@linuxuanl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i From: jpablo@linuxuanl.org (Juan Pablo Mendoza) X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Feedparser 3 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 22 Jun 2004 17:12:44 -0000 Status: O Content-Length: 443 Lines: 14 Hi, I see that feedparser 3.0 fixes some bugs that i have been running into (the <br/> bug, hopefully the <div> bug that i have been unable to really fix). Searching the list i saw that somebody had some preliminary patches. Can somebody please post thoses patches ? BTW: This is what i'm working on: http://linuxuanl.org/~jpablo/planetmty/ the html is mostly a bad ripoff of Planet GNOME :|. -- Juan Pablo Mendoza <jpablo@linuxuanl.org> From murrayc@murrayc.com Wed Jun 23 18:00:34 2004 Return-Path: <murrayc@murrayc.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 2FB4C57BA for <devel@amnesiac.heapspace.net>; Wed, 23 Jun 2004 18:00:34 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 52047-01-6 for <devel@amnesiac.heapspace.net>; Wed, 23 Jun 2004 18:00:33 +0100 (BST) Received: from dydimus.dreamhost.com (dydimus.dreamhost.com [66.33.197.17]) by amnesiac.heapspace.net (Postfix) with ESMTP id A63D457AC for <devel@lists.planetplanet.org>; Wed, 23 Jun 2004 18:00:33 +0100 (BST) Received: from pD9E899EB.dip.t-dialin.net (pD9E899EB.dip.t-dialin.net [217.232.153.235]) by dydimus.dreamhost.com (Postfix) with ESMTP id 48A864F883; Wed, 23 Jun 2004 10:00:30 -0700 (PDT) Subject: Re: [Devel] Varius problems setuping planet. From: Murray Cumming <murrayc@murrayc.com> To: Juan Pablo Mendoza <jpablo@gnome.org> In-Reply-To: <1087865221.1469.24.camel@amy.the-vox.com> References: <1087830326.1469.10.camel@amy.the-vox.com> <1087831129.2908.18.camel@descent.netsplit.com> <1087832734.1469.16.camel@amy.the-vox.com> <40D70AF1.3000004@gmx.net> <1087834977.1469.22.camel@amy.the-vox.com> <1087838225.3333.48.camel@murrayc_debian> <1087865221.1469.24.camel@amy.the-vox.com> Content-Type: text/plain Date: Wed, 23 Jun 2004 21:00:29 +0200 Message-Id: <1088017229.3120.8.camel@murrayc_debian> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: planet-devel <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 23 Jun 2004 17:00:34 -0000 Status: O Content-Length: 777 Lines: 35 Maybe this should just go into the regular planet repository, with a comment? On Mon, 2004-06-21 at 19:47 -0500, Juan Pablo Mendoza wrote: > Here is the patch, really simple stuff. > > --- planet-original/planetlib.py 2004-06-19 18:00:06.000000000 -0500 > +++ planet-nightly/planetlib.py 2004-06-21 19:44:06.000000000 -0500 > @@ -19,6 +19,7 @@ > import os > import re > import time > +import string > > import feedparser > import StringIO > @@ -180,6 +181,8 @@ > """ > data = f.read() > > + data = string.replace (data, "<br/>", "<br />") > + > if hasattr(f, 'headers'): > if gzip and f.headers.get('content-encoding', '') == > 'gzip': > try: > > > -- Murray Cumming murrayc@murrayc.com www.murrayc.com From mary@home.puzzling.org Thu Jun 24 05:31:36 2004 Return-Path: <mary@home.puzzling.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id A41CF57D8 for <devel@amnesiac.heapspace.net>; Thu, 24 Jun 2004 05:31:36 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 59356-02-4 for <devel@amnesiac.heapspace.net>; Thu, 24 Jun 2004 05:31:36 +0100 (BST) Received: from mail.syd.swiftdsl.com.au (mail.syd.swiftdsl.com.au [202.154.83.58]) by amnesiac.heapspace.net (Postfix) with SMTP id 3654357BA for <devel@lists.planetplanet.org>; Thu, 24 Jun 2004 05:31:34 +0100 (BST) Received: (qmail 30610 invoked from network); 24 Jun 2004 04:31:32 -0000 Received: from unknown (HELO home.puzzling.org) (218.214.66.203) by mail.syd.swiftdsl.com.au with SMTP; 24 Jun 2004 04:31:32 -0000 Received: from localhost (flay [127.0.0.1]) by home.puzzling.org (Postfix) with ESMTP id D018C7880BB for <devel@lists.planetplanet.org>; Thu, 24 Jun 2004 14:31:35 +1000 (EST) Received: from home.puzzling.org ([127.0.0.1]) by localhost (flay [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05076-03 for <devel@lists.planetplanet.org>; Thu, 24 Jun 2004 14:31:35 +1000 (EST) Received: from titus.home.puzzling.org (titus.home.puzzling.org [10.0.0.2]) by home.puzzling.org (Postfix) with SMTP id 12E21788050 for <devel@lists.planetplanet.org>; Thu, 24 Jun 2004 14:31:35 +1000 (EST) Received: (nullmailer pid 5277 invoked by uid 1001); Thu, 24 Jun 2004 04:31:29 -0000 Date: Thu, 24 Jun 2004 14:31:29 +1000 From: Mary Gardiner <mary@puzzling.org> To: planet-devel <devel@lists.planetplanet.org> Message-ID: <20040624043129.GA5002@titus.home.puzzling.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Nihilism: Consistency is all I ask... Give us this day our daily mask. X-GPG-Key: 1024D/77625870 X-GPG-Fingerprint: B141 CD1A 4603 1CD7 6D64 EFBF D256 C568 7762 5870 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at home.puzzling.org X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Bug report: lots of bare except clauses X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 24 Jun 2004 04:31:37 -0000 Status: O Content-Length: 272 Lines: 9 Hi, The current planet code has a lot of bare except: clauses. While I can see how this is handy (so that you can log any error at all), it meants that the process can't be interrupted easily via Ctrl-C, because KeyboardError gets caught by the "except:" clause. -Mary From skvidal@phy.duke.edu Thu Jun 24 06:52:35 2004 Return-Path: <skvidal@phy.duke.edu> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id D573A57D8 for <devel@amnesiac.heapspace.net>; Thu, 24 Jun 2004 06:52:34 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 60376-01-6 for <devel@amnesiac.heapspace.net>; Thu, 24 Jun 2004 06:52:34 +0100 (BST) Received: from mail.phy.duke.edu (mail.phy.duke.edu [152.3.182.2]) by amnesiac.heapspace.net (Postfix) with ESMTP id 69F0857C2 for <devel@lists.planetplanet.org>; Thu, 24 Jun 2004 06:52:34 +0100 (BST) Received: from [192.168.0.5] (rdu26-239-025.nc.rr.com [66.26.239.25]) by mail.phy.duke.edu (Postfix) with ESMTP id 37DB6A77D0; Thu, 24 Jun 2004 01:52:25 -0400 (EDT) Subject: Re: [Devel] Bug report: lots of bare except clauses From: seth vidal <skvidal@phy.duke.edu> To: Mary Gardiner <mary@puzzling.org> In-Reply-To: <20040624043129.GA5002@titus.home.puzzling.org> References: <20040624043129.GA5002@titus.home.puzzling.org> Content-Type: text/plain Date: Thu, 24 Jun 2004 01:51:45 -0400 Message-Id: <1088056305.2707.11.camel@binkley> Mime-Version: 1.0 X-Mailer: Evolution 1.5.8 (1.5.8-2) Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: planet-devel <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 24 Jun 2004 05:52:35 -0000 Status: O Content-Length: 416 Lines: 15 On Thu, 2004-06-24 at 14:31 +1000, Mary Gardiner wrote: > Hi, > > The current planet code has a lot of bare except: clauses. > > While I can see how this is handy (so that you can log any error at > all), it meants that the process can't be interrupted easily via Ctrl-C, > because KeyboardError gets caught by the "except:" clause. > Sadly there appear to be a lot of python modules with global excepts. -sv From dme@hollytree-house.co.uk Thu Jun 24 09:55:30 2004 Return-Path: <dme@hollytree-house.co.uk> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 455BB57E8 for <devel@amnesiac.heapspace.net>; Thu, 24 Jun 2004 09:55:30 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 62631-01 for <devel@amnesiac.heapspace.net>; Thu, 24 Jun 2004 09:55:29 +0100 (BST) Received: from brmea-mail-4.sun.com (brmea-mail-4.Sun.COM [192.18.98.36]) by amnesiac.heapspace.net (Postfix) with ESMTP id 4393D57C6 for <devel@lists.planetplanet.org>; Thu, 24 Jun 2004 09:55:23 +0100 (BST) Received: from esunmail ([129.147.156.34]) by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id i5O8rT53009817 for <devel@lists.planetplanet.org>; Thu, 24 Jun 2004 02:53:30 -0600 (MDT) Received: from fe8 (esunmail [129.147.156.34]) by edgemail1.Central.Sun.COM (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HZT009EG2498V@edgemail1.Central.Sun.COM> for devel@lists.planetplanet.org; Thu, 24 Jun 2004 02:55:21 -0600 (MDT) Received: from chocolate-chip-cookie.dme.org ([129.156.199.100]) by mail.sun.net (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTPSA id <0HZT00FJI24646@mail.sun.net> for devel@lists.planetplanet.org; Thu, 24 Jun 2004 02:55:21 -0600 (MDT) Date: Thu, 24 Jun 2004 09:55:40 +0100 From: David Edmondson <dme@hollytree-house.co.uk> Subject: Re: [Devel] Feedparser 3 In-reply-to: <20040622171241.GA25621@linuxuanl.org> Sender: dme@hollytree-house.co.uk To: jpablo@linuxuanl.org (Juan Pablo Mendoza) Message-id: <m2n02te3n7.wl@chocolate-chip-cookie.dme.org> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_vB5SQP99n/l6gHsUnnrwpA)" User-Agent: Wanderlust/2.11.26 (Wonderwall) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3.50 (powerpc-apple-darwin7.3.0) MULE/5.0 (SAKAKI) References: <20040622171241.GA25621@linuxuanl.org> X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 24 Jun 2004 08:55:30 -0000 Status: O Content-Length: 6729 Lines: 166 --Boundary_(ID_vB5SQP99n/l6gHsUnnrwpA) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT * jpablo@linuxuanl.org [20040622T181241]: > I see that feedparser 3.0 fixes some bugs that i have been running > into (the <br/> bug, hopefully the <div> bug that i have been unable > to really fix). Searching the list i saw that somebody had some > preliminary patches. Can somebody please post thoses patches ? This is what I had (together with replacing feedparser.py with that from Mark). It's not well tested, probably incomplete and perhaps now out-of-date (it's based on patch-39). It's also messy. --Boundary_(ID_vB5SQP99n/l6gHsUnnrwpA) Content-type: application/octet-stream; type=patch; NAME=planetlib.py.diff Content-transfer-encoding: 7bit Content-disposition: attachment; filename=planetlib.py.diff --- orig/planetlib.py +++ mod/planetlib.py @@ -126,6 +126,36 @@ The real work is done in _update(). """ + def _get_etag(resource): + """ + Get the ETag associated with a response returned from a call to + open_resource(). + + If the resource was not returned from an HTTP server or the server did + not specify an ETag for the resource, this will return None. + """ + + if hasattr(resource, "info"): + return resource.info().getheader("ETag") + return None + + def _get_modified(resource): + """ + Get the Last-Modified timestamp for a response returned from a call to + open_resource(). + + If the resource was not returned from an HTTP server or the server did + not specify a Last-Modified timestamp, this function will return None. + Otherwise, it returns a tuple of 9 integers as returned by gmtime() in + the standard Python time module(). + """ + + if hasattr(resource, "info"): + last_modified = resource.info().getheader("Last-Modified") + if last_modified: + return feedparser._parse_date(last_modified) + return None + if uri is None: save_uri = 1 uri = self.uri @@ -135,8 +165,8 @@ logging.info("Updating feed <" + self.uri + "> from <" + uri + ">") # Open the resource and read the data - f = feedparser.open_resource(uri, agent=user_agent, - etag=self.etag, modified=self.modified) + f = feedparser._open_resource(uri, agent=user_agent, + etag=self.etag, modified=self.modified) data = self._read_data(f) # Check for some obvious things @@ -150,11 +180,11 @@ return # Update etag and modified - new_etag = feedparser.get_etag(f) + new_etag = _get_etag(f) if new_etag: self.etag = new_etag logging.debug("E-Tag: " + self.etag) - new_modified = feedparser.get_modified(f) + new_modified = _get_modified(f) if new_modified: self.modified = new_modified logging.debug("Modified: " + self.format_date(self.modified)) @@ -223,7 +253,7 @@ if os.path.exists(cache_uri + ",modified"): c = open(cache_uri + ",modified") - self.modified = feedparser.parse_date(c.read().strip()) + self.modified = feedparser._parse_date(c.read().strip()) c.close() self.update(cache_uri) @@ -237,6 +267,20 @@ If the channel has etag or modified information, those are written to files alongside. """ + def format_http_date(date): + """ + Formats a tuple of 9 integers into an RFC 1123-compliant timestamp as + required in RFC 2616. We don't use time.strftime() since the %a and %b + directives can be affected by the current locale (HTTP dates have to be + in English). The date MUST be in GMT (Greenwich Mean Time). + """ + + short_weekdays = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] + long_weekdays = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"] + months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] + + return "%s, %02d %s %04d %02d:%02d:%02d GMT" % (short_weekdays[date[6]], date[2], months[date[1] - 1], date[0], date[3], date[4], date[5]) + cache_uri = cache_filename(self.uri) try: @@ -256,7 +300,7 @@ if self.modified: c = open(cache_uri + ",modified", "w") - c.write(feedparser.format_http_date(self.modified) + "\n") + c.write(format_http_date(self.modified) + "\n") c.close() elif os.path.exists(cache_uri + ",modified"): try: @@ -273,15 +317,14 @@ actually pretty simple. We parse the feed using feedparser and if we get the information, cache it. """ - feed = feedparser.FeedParser(baseuri) - feed.feed(data) + feed = feedparser.parse(data) - if len(feed.items) < 1: + if len(feed['items']) < 1: logging.info("Empty feed, cowardly not updating %s" % (baseuri)) return new_items = [] - for item in feed.items: + for item in feed['items']: new_items.append(NewsItem(item, self)) if new_items[-1].date[0] > time.gmtime()[0] + 1: logging.warning(("Obviously bogus year in feed (%d), " + @@ -290,9 +333,9 @@ return self.items = new_items - self.title = feed.channel.get('title', '') - self.description = feed.channel.get('description', '') - self.link = feed.channel.get('link', '') + self.title = feed['channel'].get('title', '') + self.description = feed['channel'].get('description', '') + self.link = feed['channel'].get('link', '') self.cache_write(data) return self.items @@ -394,7 +437,7 @@ c = open(time_cache_uri) for line in c.readlines(): id, timestr = line.strip().split(" = ") - time_cache[id] = feedparser.parse_date(timestr) + time_cache[id] = feedparser._parse_date(timestr) c.close() if time_cache.has_key(self.id): --Boundary_(ID_vB5SQP99n/l6gHsUnnrwpA)-- From moritz.angermann@gmail.com Fri Jul 2 00:07:45 2004 Return-Path: <moritz.angermann@gmail.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 84AEC57D4 for <devel@amnesiac.heapspace.net>; Fri, 2 Jul 2004 00:07:45 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 86286-01-3 for <devel@amnesiac.heapspace.net>; Fri, 2 Jul 2004 00:07:45 +0100 (BST) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by amnesiac.heapspace.net (Postfix) with SMTP id EDA9F57C6 for <devel@lists.planetplanet.org>; Fri, 2 Jul 2004 00:07:44 +0100 (BST) Received: by mproxy.gmail.com with SMTP id 73so39510rne for <devel@lists.planetplanet.org>; Thu, 01 Jul 2004 16:07:44 -0700 (PDT) Received: by 10.38.164.68 with SMTP id m68mr22473rne; Thu, 01 Jul 2004 16:07:44 -0700 (PDT) Message-ID: <bdd2923d040701160764a605c4@mail.gmail.com> Date: Fri, 2 Jul 2004 01:07:44 +0200 From: Moritz Angermann <moritz.angermann@gmail.com> To: devel@lists.planetplanet.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Again Atom feeds from Blogspot X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 01 Jul 2004 23:07:45 -0000 Status: O Content-Length: 463 Lines: 14 Hi, We are trying to do planet.e.org ( http://e1x.codewordt.co.uk/planet/ ) now the bad thing is =B7 I'm using blogspot with has an UTF-8 atom feed with <br/> in it. If someone could tell me what to change / where to make a mod on the py files that would be great. So I could simply replace incoming <br/> with <br />. cocnering the UTF-8 i set the encoding to iso-8859-1 ( Western ) so i hope that issue is done. kindest regards, Moritz "neofeed" Angermann From murrayc@murrayc.com Sun Jul 11 11:33:25 2004 Return-Path: <murrayc@murrayc.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 7289357D8 for <devel@amnesiac.heapspace.net>; Sun, 11 Jul 2004 11:33:25 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 33633-02-3 for <devel@amnesiac.heapspace.net>; Sun, 11 Jul 2004 11:33:25 +0100 (BST) Received: from jareth.dreamhost.com (jareth.dreamhost.com [66.33.198.201]) by amnesiac.heapspace.net (Postfix) with ESMTP id F32B857C2 for <devel@lists.planetplanet.org>; Sun, 11 Jul 2004 11:33:24 +0100 (BST) Received: from pD9E8ADE4.dip.t-dialin.net (pD9E8ADE4.dip.t-dialin.net [217.232.173.228]) by jareth.dreamhost.com (Postfix) with ESMTP id 557966B5E2 for <devel@lists.planetplanet.org>; Sun, 11 Jul 2004 03:33:22 -0700 (PDT) From: Murray Cumming <murrayc@murrayc.com> To: planet-devel <devel@lists.planetplanet.org> Content-Type: text/plain Date: Sun, 11 Jul 2004 12:33:07 +0200 Message-Id: <1089541987.5099.13.camel@murrayc_debian> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Internationalized dates X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sun, 11 Jul 2004 10:33:25 -0000 Status: O Content-Length: 182 Lines: 9 Can any suggest how to make planet show dates in a non-english/US format, without the english month names? -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From steve@fooworks.com Sun Jul 11 12:36:04 2004 Return-Path: <steve@fooworks.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id CEE1257EE for <devel@amnesiac.heapspace.net>; Sun, 11 Jul 2004 12:36:03 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 34109-05-8 for <devel@amnesiac.heapspace.net>; Sun, 11 Jul 2004 12:36:03 +0100 (BST) Received: from fep03-mail.bloor.is.net.cable.rogers.com (fep03-mail.bloor.is.net.cable.rogers.com [66.185.86.73]) by amnesiac.heapspace.net (Postfix) with ESMTP id 03F3657EB for <devel@lists.planetplanet.org>; Sun, 11 Jul 2004 12:36:02 +0100 (BST) Received: from [192.168.1.100] ([24.231.28.140]) by fep03-mail.bloor.is.net.cable.rogers.com (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20040711113537.SHET148077.fep03-mail.bloor.is.net.cable.rogers.com@[192.168.1.100]> for <devel@lists.planetplanet.org>; Sun, 11 Jul 2004 07:35:37 -0400 Message-ID: <40F125F6.50706@fooworks.com> Date: Sun, 11 Jul 2004 08:35:18 -0300 From: Steve Mallett <steve@fooworks.com> User-Agent: Mozilla Thunderbird 0.6 (Macintosh/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: planet-devel <devel@lists.planetplanet.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH PLAIN at fep03-mail.bloor.is.net.cable.rogers.com from [24.231.28.140] using ID <smallet5707@rogers.com> at Sun, 11 Jul 2004 07:35:37 -0400 X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Resource usage X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sun, 11 Jul 2004 11:36:04 -0000 Status: O Content-Length: 124 Lines: 6 Does anyone else's planet.py script use all available resources on their server? -- Steve Mallett http://steve.osdir.com From nelson@crynwr.com Tue Jul 13 01:36:41 2004 Return-Path: <nelson@crynwr.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 50FA957EB for <devel@amnesiac.heapspace.net>; Tue, 13 Jul 2004 01:36:41 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 57325-01-2 for <devel@amnesiac.heapspace.net>; Tue, 13 Jul 2004 01:36:41 +0100 (BST) Received: from desk.crynwr.com (desk.crynwr.com [65.172.240.34]) by amnesiac.heapspace.net (Postfix) with SMTP id B133157E7 for <devel@lists.planetplanet.org>; Tue, 13 Jul 2004 01:36:40 +0100 (BST) Received: (qmail 9991 invoked by uid 500); 13 Jul 2004 00:36:36 -0000 From: Russell Nelson <nelson@crynwr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16627.11924.601601.528206@desk.crynwr.com> Date: Mon, 12 Jul 2004 20:36:36 -0400 To: devel@lists.planetplanet.org X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] nightly toasted?? X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 13 Jul 2004 00:36:41 -0000 Status: O Content-Length: 470 Lines: 10 Is it just me, or is planet-nightly.tar.bz2 accidentally getting gzipped as well? I need to do this to extract it: gunzip < planet-nightly.tar.bz2 | tar xfj - -- --My blog is at angry-economist.russnelson.com | The USA has turned into a Crynwr sells support for free software | PGPok | people that are afraid of 521 Pleasant Valley Rd. | +1 315 268 1925 voice | everything and responsible Potsdam, NY 13676-3213 | FWD# 404529 via VOIP | for nothing. -- GF From scott@netsplit.com Tue Jul 13 17:45:52 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 5C3B357EB for <devel@amnesiac.heapspace.net>; Tue, 13 Jul 2004 17:45:52 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 68729-01-49 for <devel@amnesiac.heapspace.net>; Tue, 13 Jul 2004 17:45:52 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id BC18657BA for <devel@lists.planetplanet.org>; Tue, 13 Jul 2004 17:45:51 +0100 (BST) Received: (qmail 2212 invoked from network); 13 Jul 2004 16:45:50 -0000 Received: from unknown (HELO syndicate.netsplit.com) (scott@62.49.129.42) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 13 Jul 2004 16:45:50 -0000 Subject: Re: [Devel] nightly toasted?? From: Scott James Remnant <scott@netsplit.com> To: Russell Nelson <nelson@crynwr.com> In-Reply-To: <16627.11924.601601.528206@desk.crynwr.com> References: <16627.11924.601601.528206@desk.crynwr.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-PKfRmDpZZJPDrNmH6SAN" Date: Tue, 13 Jul 2004 17:45:49 +0100 Message-Id: <1089737149.24571.6.camel@syndicate> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9.2 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 13 Jul 2004 16:45:52 -0000 Status: O Content-Length: 869 Lines: 33 --=-PKfRmDpZZJPDrNmH6SAN Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-07-12 at 20:36 -0400, Russell Nelson wrote: > Is it just me, or is planet-nightly.tar.bz2 accidentally getting > gzipped as well? I need to do this to extract it: >=20 > gunzip < planet-nightly.tar.bz2 | tar xfj - >=20 Are you sure that's not just your browser being "helpful" ? Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-PKfRmDpZZJPDrNmH6SAN Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBA9BG8IexP3IStZ2wRAnudAJ9vgIvRd9JGqBdBYhhgVl8hi25iMQCfS0X9 OrC2Z64EM9QRskILMy6TcZ0= =Pzjf -----END PGP SIGNATURE----- --=-PKfRmDpZZJPDrNmH6SAN-- From nelson@crynwr.com Tue Jul 13 19:00:03 2004 Return-Path: <nelson@crynwr.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id DD1BF57E8 for <devel@amnesiac.heapspace.net>; Tue, 13 Jul 2004 19:00:02 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 71158-01-3 for <devel@amnesiac.heapspace.net>; Tue, 13 Jul 2004 19:00:02 +0100 (BST) Received: from desk.crynwr.com (desk.crynwr.com [65.172.240.34]) by amnesiac.heapspace.net (Postfix) with SMTP id 07F8C57D8 for <devel@lists.planetplanet.org>; Tue, 13 Jul 2004 19:00:01 +0100 (BST) Received: (qmail 13615 invoked by uid 500); 13 Jul 2004 18:00:00 -0000 From: Russell Nelson <nelson@crynwr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16628.8992.557780.690312@desk.crynwr.com> Date: Tue, 13 Jul 2004 14:00:00 -0400 To: devel@lists.planetplanet.org Subject: Re: [Devel] nightly toasted?? In-Reply-To: <1089737149.24571.6.camel@syndicate> References: <16627.11924.601601.528206@desk.crynwr.com> <1089737149.24571.6.camel@syndicate> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 13 Jul 2004 18:00:03 -0000 Status: O Content-Length: 786 Lines: 18 Scott James Remnant writes: > On Mon, 2004-07-12 at 20:36 -0400, Russell Nelson wrote: > > > Is it just me, or is planet-nightly.tar.bz2 accidentally getting > > gzipped as well? I need to do this to extract it: > > > > gunzip < planet-nightly.tar.bz2 | tar xfj - > > > Are you sure that's not just your browser being "helpful" ? Reasonably. Browsers are usually helpful in the opposite direction, by writing a foo.tar.gz file which has actually been un-gzipped. -- --My blog is at angry-economist.russnelson.com | The USA has turned into a Crynwr sells support for free software | PGPok | people that are afraid of 521 Pleasant Valley Rd. | +1 315 268 1925 voice | everything and responsible Potsdam, NY 13676-3213 | FWD# 404529 via VOIP | for nothing. -- GF From scott@netsplit.com Tue Jul 13 19:04:34 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 268C457D8 for <devel@amnesiac.heapspace.net>; Tue, 13 Jul 2004 19:04:34 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 71160-01-2 for <devel@amnesiac.heapspace.net>; Tue, 13 Jul 2004 19:04:33 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 4EB0457D4 for <devel@lists.planetplanet.org>; Tue, 13 Jul 2004 19:04:31 +0100 (BST) Received: (qmail 4842 invoked from network); 13 Jul 2004 18:04:29 -0000 Received: from unknown (HELO syndicate.netsplit.com) (scott@62.49.129.42) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 13 Jul 2004 18:04:29 -0000 Subject: Re: [Devel] nightly toasted?? From: Scott James Remnant <scott@netsplit.com> To: Russell Nelson <nelson@crynwr.com> In-Reply-To: <16628.8992.557780.690312@desk.crynwr.com> References: <16627.11924.601601.528206@desk.crynwr.com> <1089737149.24571.6.camel@syndicate> <16628.8992.557780.690312@desk.crynwr.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-a13LIJuZByBkfEFK8z1m" Date: Tue, 13 Jul 2004 19:04:28 +0100 Message-Id: <1089741868.24571.19.camel@syndicate> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9.2 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 13 Jul 2004 18:04:34 -0000 Status: O Content-Length: 2109 Lines: 63 --=-a13LIJuZByBkfEFK8z1m Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2004-07-13 at 14:00 -0400, Russell Nelson wrote: > Scott James Remnant writes: > > On Mon, 2004-07-12 at 20:36 -0400, Russell Nelson wrote: > >=20 > > > Is it just me, or is planet-nightly.tar.bz2 accidentally getting > > > gzipped as well? I need to do this to extract it: > > >=20 > > > gunzip < planet-nightly.tar.bz2 | tar xfj - > > >=20 > > Are you sure that's not just your browser being "helpful" ? >=20 > Reasonably. Browsers are usually helpful in the opposite direction, > by writing a foo.tar.gz file which has actually been un-gzipped. >=20 It seems fine to me... syndicate scott% wget http://www.planetplanet.org/planet-nightly.tar.bz2 --19:03:29-- http://www.planetplanet.org/planet-nightly.tar.bz2 =3D> `planet-nightly.tar.bz2' Resolving www.planetplanet.org... 195.54.228.42 Connecting to www.planetplanet.org[195.54.228.42]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 113,690 [application/x-tar] 100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>] 113,690 214.26K/s 19:03:29 (213.32 KB/s) - `planet-nightly.tar.bz2' saved [113690/113690] syndicate scott% file planet-nightly.tar.bz2 planet-nightly.tar.bz2: bzip2 compressed data, block size =3D 900k syndicate scott% bunzip2 -c planet-nightly.tar.bz2 | tar tf - | head -5 planet-nightly/ planet-nightly/htmltmpl.py planet-nightly/fancy-examples/ planet-nightly/fancy-examples/config.ini planet-nightly/fancy-examples/index.html.tmpl Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-a13LIJuZByBkfEFK8z1m Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBA9CQrIexP3IStZ2wRAqweAJsE1Ftz35/TqKhjquJusOaTo1WoyACeJXz3 2H1rxWllavPHHfxSHSpw4sk= =cfGi -----END PGP SIGNATURE----- --=-a13LIJuZByBkfEFK8z1m-- From nelson@crynwr.com Tue Jul 13 19:45:05 2004 Return-Path: <nelson@crynwr.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 7B5CA57D8 for <devel@amnesiac.heapspace.net>; Tue, 13 Jul 2004 19:45:05 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 71503-03-5 for <devel@amnesiac.heapspace.net>; Tue, 13 Jul 2004 19:45:05 +0100 (BST) Received: from desk.crynwr.com (desk.crynwr.com [65.172.240.34]) by amnesiac.heapspace.net (Postfix) with SMTP id 7C4F057AC for <devel@lists.planetplanet.org>; Tue, 13 Jul 2004 19:45:04 +0100 (BST) Received: (qmail 15384 invoked by uid 500); 13 Jul 2004 18:45:03 -0000 From: Russell Nelson <nelson@crynwr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16628.11695.631518.397397@desk.crynwr.com> Date: Tue, 13 Jul 2004 14:45:03 -0400 To: devel@lists.planetplanet.org Subject: Re: [Devel] nightly toasted?? In-Reply-To: <1089741868.24571.19.camel@syndicate> References: <16627.11924.601601.528206@desk.crynwr.com> <1089737149.24571.6.camel@syndicate> <16628.8992.557780.690312@desk.crynwr.com> <1089741868.24571.19.camel@syndicate> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 13 Jul 2004 18:45:05 -0000 Status: O Content-Length: 410 Lines: 10 Scott James Remnant writes: > It seems fine to me... It's fine now. Nothing to worry about, I suppose. -- --My blog is at angry-economist.russnelson.com | The USA has turned into a Crynwr sells support for free software | PGPok | people that are afraid of 521 Pleasant Valley Rd. | +1 315 268 1925 voice | everything and responsible Potsdam, NY 13676-3213 | FWD# 404529 via VOIP | for nothing. -- GF From nick@zork.net Thu Jul 15 06:25:47 2004 Return-Path: <nick@zork.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 8D97457E3 for <devel@amnesiac.heapspace.net>; Thu, 15 Jul 2004 06:25:47 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 95407-01-7 for <devel@amnesiac.heapspace.net>; Thu, 15 Jul 2004 06:25:47 +0100 (BST) Received: from zork.zork.net (zork.zork.net [64.81.246.102]) by amnesiac.heapspace.net (Postfix) with ESMTP id E3A4257D8 for <devel@lists.planetplanet.org>; Thu, 15 Jul 2004 06:25:46 +0100 (BST) Received: from nick by zork.zork.net with local (Exim 4.32) id 1Bkyka-0001O6-ND for devel@lists.planetplanet.org; Wed, 14 Jul 2004 22:25:44 -0700 Date: Wed, 14 Jul 2004 22:25:44 -0700 From: Nick Moffitt <nick@zork.net> To: devel@lists.planetplanet.org Message-ID: <20040715052544.GS30017@zork.net> Mail-Followup-To: devel@lists.planetplanet.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Reply-By: Wed, 4 Apr 2001 14:21:08 -0700 X-Message-Flag: OUTLOOK ERROR: Message text violates P.A.T.R.I.O.T. act User-Agent: Mutt/1.5.6+20040523i X-SA-Exim-Connect-IP: <locally generated> X-SA-Exim-Mail-From: nick@zork.net X-SA-Exim-Scanned: No (on zork.zork.net); SAEximRunCond expanded to false X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Arch revision log syndication X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 15 Jul 2004 05:25:47 -0000 Status: O Content-Length: 1050 Lines: 22 http://lnx-bbc.org/planet is now an Arch revision log aggregator. I wrote a quick-and-dirty shell script called tla-rss.sh <http://arch.lnx-bbc.org/~nick/tla-rss> that generates an RSS file from an Arch revision log. It uses archzoom URLs (you specify the location of your archzoom.cgi with -u) as permalinks, and it works great. Already one developer realized that he had opened a tla make-log just because he knew that people were going to read it on the Web site. I still want to make it so that you can give it a category or branch and it will grab logs from all relevant versions, but for now it does the job. Oh yeah, and I never did write the usage function. Perhaps someone could set up a Planet for the Planet arch revision logs. It would be fun to track development that way. -- The insipid neologism "blog" appears to mean little more Nick Moffitt than a Web site that *actually* gets updated, as opposed nick@zork.net to one that *promises* to be updated REAL SOON NOW and includes an animation of a MEN AT WORK sign. From nick@zork.net Thu Jul 15 06:31:05 2004 Return-Path: <nick@zork.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id F153057D4 for <devel@amnesiac.heapspace.net>; Thu, 15 Jul 2004 06:31:04 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 95174-01-62 for <devel@amnesiac.heapspace.net>; Thu, 15 Jul 2004 06:31:04 +0100 (BST) Received: from zork.zork.net (zork.zork.net [64.81.246.102]) by amnesiac.heapspace.net (Postfix) with ESMTP id 57B1D57C2 for <devel@lists.planetplanet.org>; Thu, 15 Jul 2004 06:31:04 +0100 (BST) Received: from nick by zork.zork.net with local (Exim 4.32) id 1Bkypj-0001oo-DK for devel@lists.planetplanet.org; Wed, 14 Jul 2004 22:31:03 -0700 Date: Wed, 14 Jul 2004 22:31:03 -0700 From: Nick Moffitt <nick@zork.net> To: devel@lists.planetplanet.org Subject: Re: [Devel] Arch revision log syndication Message-ID: <20040715053103.GT30017@zork.net> Mail-Followup-To: devel@lists.planetplanet.org References: <20040715052544.GS30017@zork.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040715052544.GS30017@zork.net> Reply-By: Wed, 4 Apr 2001 14:21:08 -0700 X-Message-Flag: OUTLOOK ERROR: Message text violates P.A.T.R.I.O.T. act User-Agent: Mutt/1.5.6+20040523i X-SA-Exim-Connect-IP: <locally generated> X-SA-Exim-Mail-From: nick@zork.net X-SA-Exim-Scanned: No (on zork.zork.net); SAEximRunCond expanded to false X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 15 Jul 2004 05:31:05 -0000 Status: O Content-Length: 801 Lines: 17 begin Nick Moffitt quotation: > http://lnx-bbc.org/planet is now an Arch revision log aggregator. Oh yeah, and that brings me to another question. I have a couple per-developer archive feeds that I'll be slurping in, but there are two primary shared-access archives that we use for merging, coordination, and release management (big talk considering how little we've done on the project lately, I suppose). So are there any plans to add more of the standard rss fields into the templating system? Tags like author would be most helpful. -- "Man, if everything were object-oriented then rsync Nick Moffitt could do this already. Of course, if everything were nick@teh.entar.net object-oriented I'd have a bushy moustache and be wearing flares, which would suck." -- Sean Neakums From nick@zork.net Sun Jul 18 19:02:39 2004 Return-Path: <nick@zork.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id A442D57F8 for <devel@amnesiac.heapspace.net>; Sun, 18 Jul 2004 19:02:39 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 45298-05-5 for <devel@amnesiac.heapspace.net>; Sun, 18 Jul 2004 19:02:39 +0100 (BST) Received: from zork.zork.net (zork.zork.net [64.81.246.102]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0641757EE for <devel@lists.planetplanet.org>; Sun, 18 Jul 2004 19:02:38 +0100 (BST) Received: from nick by zork.zork.net with local (Exim 4.32) id 1BmFze-000340-QN for devel@lists.planetplanet.org; Sun, 18 Jul 2004 11:02:34 -0700 Date: Sun, 18 Jul 2004 11:02:34 -0700 From: Nick Moffitt <nick@zork.net> To: devel@lists.planetplanet.org Subject: Re: [Devel] Arch revision log syndication Message-ID: <20040718180234.GE30017@zork.net> Mail-Followup-To: devel@lists.planetplanet.org References: <20040715052544.GS30017@zork.net> <20040715053103.GT30017@zork.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040715053103.GT30017@zork.net> Reply-By: Wed, 4 Apr 2001 14:21:08 -0700 X-Message-Flag: OUTLOOK ERROR: Message text violates P.A.T.R.I.O.T. act User-Agent: Mutt/1.5.6+20040523i X-SA-Exim-Connect-IP: <locally generated> X-SA-Exim-Mail-From: nick@zork.net X-SA-Exim-Scanned: No (on zork.zork.net); SAEximRunCond expanded to false X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sun, 18 Jul 2004 18:02:40 -0000 Status: O Content-Length: 566 Lines: 13 begin Nick Moffitt quotation: > So are there any plans to add more of the standard rss fields into the > templating system? Tags like author would be most helpful. Also, I've noticed that planet doesn't seem to handle multiple channels in a single feed very well. Are there any plans to support this? -- The insipid neologism "blog" appears to mean little more Nick Moffitt than a Web site that *actually* gets updated, as opposed nick@teh.entar.net to one that *promises* to be updated REAL SOON NOW and includes an animation of a MEN AT WORK sign. From scott@netsplit.com Mon Jul 19 10:29:00 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id ECA4557C6 for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 10:28:59 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 52479-01-34 for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 10:28:59 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 4503557BA for <devel@lists.planetplanet.org>; Mon, 19 Jul 2004 10:28:59 +0100 (BST) Received: (qmail 16154 invoked from network); 19 Jul 2004 09:28:55 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 19 Jul 2004 09:28:55 -0000 Subject: Re: [Devel] Arch revision log syndication From: Scott James Remnant <scott@netsplit.com> To: Nick Moffitt <nick@zork.net> In-Reply-To: <20040718180234.GE30017@zork.net> References: <20040715052544.GS30017@zork.net> <20040715053103.GT30017@zork.net> <20040718180234.GE30017@zork.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-SYI1TQWCGyxhHEoW0vqs" Date: Mon, 19 Jul 2004 10:29:15 +0100 Message-Id: <1090229355.29798.0.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9.1 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 19 Jul 2004 09:29:00 -0000 Status: O Content-Length: 1027 Lines: 36 --=-SYI1TQWCGyxhHEoW0vqs Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2004-07-18 at 11:02 -0700, Nick Moffitt wrote: > begin Nick Moffitt quotation: > > So are there any plans to add more of the standard rss fields into the > > templating system? Tags like author would be most helpful. >=20 > Also, I've noticed that planet doesn't seem to handle multiple > channels in a single feed very well. Are there any plans to support > this? >=20 Have you got an example of this? I didn't realise it was even possible! Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-SYI1TQWCGyxhHEoW0vqs Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBA+5RqIexP3IStZ2wRAgEDAJ45ERVX1xp+hfnKluHhzS/sDn0KOwCeNJ8Z 0iYoq4Oe70u1f8ShszkXVu0= =XVhY -----END PGP SIGNATURE----- --=-SYI1TQWCGyxhHEoW0vqs-- From scott@netsplit.com Mon Jul 19 10:30:21 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 7EFBE57D4 for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 10:30:21 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 52479-01-43 for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 10:30:21 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id CE7F757C6 for <devel@lists.planetplanet.org>; Mon, 19 Jul 2004 10:30:20 +0100 (BST) Received: (qmail 16203 invoked from network); 19 Jul 2004 09:30:20 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 19 Jul 2004 09:30:20 -0000 Subject: Re: [Devel] Arch revision log syndication From: Scott James Remnant <scott@netsplit.com> To: Nick Moffitt <nick@zork.net> In-Reply-To: <20040715053103.GT30017@zork.net> References: <20040715052544.GS30017@zork.net> <20040715053103.GT30017@zork.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-vEIj4mdqb+O0+uPJY6Ht" Date: Mon, 19 Jul 2004 10:30:40 +0100 Message-Id: <1090229440.29798.2.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9.1 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 19 Jul 2004 09:30:21 -0000 Status: O Content-Length: 1328 Lines: 41 --=-vEIj4mdqb+O0+uPJY6Ht Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2004-07-14 at 22:31 -0700, Nick Moffitt wrote: > begin Nick Moffitt quotation: > > http://lnx-bbc.org/planet is now an Arch revision log aggregator. =20 >=20 > Oh yeah, and that brings me to another question. I have a couple > per-developer archive feeds that I'll be slurping in, but there are > two primary shared-access archives that we use for merging, > coordination, and release management (big talk considering how little > we've done on the project lately, I suppose). >=20 > So are there any plans to add more of the standard rss fields into the > templating system? Tags like author would be most helpful. >=20 author is in the current Planet as "creator", the latest version in my archive theoretically supports any field in the RSS. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-vEIj4mdqb+O0+uPJY6Ht Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBA+5TAIexP3IStZ2wRApOrAJ9W3ASsRptPsvyMUNUSNXPCScG2YACfSagB ykL/mu5J7pbJlFjSxov7thk= =m4Q2 -----END PGP SIGNATURE----- --=-vEIj4mdqb+O0+uPJY6Ht-- From scott@netsplit.com Mon Jul 19 10:33:38 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 8466C57EE for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 10:33:38 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 52566-01-9 for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 10:33:38 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id DE1D057EB for <devel@lists.planetplanet.org>; Mon, 19 Jul 2004 10:33:37 +0100 (BST) Received: (qmail 16259 invoked from network); 19 Jul 2004 09:33:37 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 19 Jul 2004 09:33:37 -0000 Subject: Re: [Devel] Internationalized dates From: Scott James Remnant <scott@netsplit.com> To: Murray Cumming <murrayc@murrayc.com> In-Reply-To: <1089541987.5099.13.camel@murrayc_debian> References: <1089541987.5099.13.camel@murrayc_debian> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+kMIxyfK6FNbMAF06RKz" Date: Mon, 19 Jul 2004 10:33:57 +0100 Message-Id: <1090229637.29798.4.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9.1 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 19 Jul 2004 09:33:38 -0000 Status: O Content-Length: 854 Lines: 32 --=-+kMIxyfK6FNbMAF06RKz Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2004-07-11 at 12:33 +0200, Murray Cumming wrote: > Can any suggest how to make planet show dates in a non-english/US > format, without the english month names? >=20 Run under a different locale and fiddle with date_format ? I'm reasonably sure time.strftime() honours that? Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-+kMIxyfK6FNbMAF06RKz Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBA+5WEIexP3IStZ2wRAuA0AJ9Si0/ErBtZ89ZGdou8bcfuNx8cWQCfT06o cmRFSYSOGEZIFh6BAZFSBps= =aFNj -----END PGP SIGNATURE----- --=-+kMIxyfK6FNbMAF06RKz-- From scott@netsplit.com Mon Jul 19 10:35:18 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0C97557EB for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 10:35:18 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 53048-01-5 for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 10:35:17 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6183357C6 for <devel@lists.planetplanet.org>; Mon, 19 Jul 2004 10:35:17 +0100 (BST) Received: (qmail 16311 invoked from network); 19 Jul 2004 09:35:16 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 19 Jul 2004 09:35:16 -0000 Subject: Re: [Devel] Again Atom feeds from Blogspot From: Scott James Remnant <scott@netsplit.com> To: Moritz Angermann <moritz.angermann@gmail.com> In-Reply-To: <bdd2923d040701160764a605c4@mail.gmail.com> References: <bdd2923d040701160764a605c4@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-gRss1Nb8QTY53F0gKZiA" Date: Mon, 19 Jul 2004 10:35:37 +0100 Message-Id: <1090229737.29798.7.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9.1 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 19 Jul 2004 09:35:18 -0000 Status: O Content-Length: 990 Lines: 34 --=-gRss1Nb8QTY53F0gKZiA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 2004-07-02 at 01:07 +0200, Moritz Angermann wrote: > We are trying to do planet.e.org ( http://e1x.codewordt.co.uk/planet/ ) > now the bad thing is > =C2=B7 I'm using blogspot with has an UTF-8 atom feed with <br/> in it. >=20 So it turns out that upgrading to the latest feedparser solved this, we're currently testing out a totally new version of Planet which seems to render these just fine. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-gRss1Nb8QTY53F0gKZiA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBA+5XpIexP3IStZ2wRAv9eAJ0VKYcJpuuAVqRQ8kKe6cSmWqm9DgCfbd5e 3WGISNNyml+RJz7f5bgvyew= =AtNp -----END PGP SIGNATURE----- --=-gRss1Nb8QTY53F0gKZiA-- From luka@ljudmila.org Mon Jul 19 14:22:37 2004 Return-Path: <luka@ljudmila.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 7C6FB57D1 for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 14:22:37 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 55094-03-3 for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 14:22:37 +0100 (BST) Received: from huda.ljudmila.org (mail.ljudmila.org [193.2.132.73]) by amnesiac.heapspace.net (Postfix) with ESMTP id ED3EF57C6 for <devel@lists.planetplanet.org>; Mon, 19 Jul 2004 14:22:36 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by huda.ljudmila.org (Postfix) with ESMTP id 553D4A40BF for <devel@lists.planetplanet.org>; Mon, 19 Jul 2004 15:22:36 +0200 (CEST) Received: from huda.ljudmila.org ([127.0.0.1]) by localhost (huda [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 15762-09 for <devel@lists.planetplanet.org>; Mon, 19 Jul 2004 15:22:35 +0200 (CEST) Received: from [193.2.132.110] (s110.ljudmila.org [193.2.132.110]) by huda.ljudmila.org (Postfix) with ESMTP id EBADCA406A for <devel@lists.planetplanet.org>; Mon, 19 Jul 2004 15:22:34 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v618) To: devel@lists.planetplanet.org Message-Id: <B2C965D1-D986-11D8-9B22-000393955E0A@ljudmila.org> Content-Type: multipart/mixed; boundary=Apple-Mail-13-267005938 From: luka frelih <luka@ljudmila.org> Date: Mon, 19 Jul 2004 15:22:35 +0200 X-Mailer: Apple Mail (2.618) X-Virus-Scanned: by specialist at mail.ljudmila.org X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] exotic encoding support X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 19 Jul 2004 13:22:37 -0000 Status: O Content-Length: 2090 Lines: 67 --Apple-Mail-13-267005938 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-2; format=flowed hello! i've run into a problem trying to use planet for feeds encoded in=20 iso-8859-2. the custom loading code didn't look for the encoding specified in the=20 <?xml?> tag and produced misconverted garbage instead of our language's lovely =E8=B9=BE's= . i am not well versed in python, but i seem to have managed brainwashing=20= planetlib.py into submission. attached is the diff to a recent nightly. the regexp comes from=20 feedreader.py's own loading code. thanks for making planet & hope this helps LF --Apple-Mail-13-267005938 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name="planet-encoding.diff" Content-Disposition: attachment; filename=planet-encoding.diff --- ../planet-nightly/planetlib.py 2004-07-16 01:00:03.000000000 +0200 +++ planetlib.py 2004-07-19 14:41:34.000000000 +0200 @@ -180,17 +180,27 @@ """ data = f.read() + self.encoding='utf8' + if hasattr(f, 'headers'): if gzip and f.headers.get('content-encoding', '') == 'gzip': try: gzdata = gzip.GzipFile(fileobj=StringIO.StringIO(data)) data = gzdata.read() + except: logging.warn("Feed contained invalid gzipped data", exc_info=1) + # look in the xml for the encoding + xmlheaderRe = re.compile('<\?.*encoding=[\'"](.*?)[\'"].*\?>') # Andrei's version + match = xmlheaderRe.match(data) + if match: + self.encoding = match.groups()[0].lower() + logging.debug('Matched Encoding: ' + self.encoding) + try: - data = unicode(data, "utf8").encode("utf8") + data = unicode(data, self.encoding).encode("utf8") logging.debug("Encoding: UTF-8") except UnicodeError: try: --Apple-Mail-13-267005938-- From scott@netsplit.com Mon Jul 19 15:55:34 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 3A8C557D1 for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 15:55:34 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 56789-01-7 for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 15:55:33 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 96BC057C6 for <devel@lists.planetplanet.org>; Mon, 19 Jul 2004 15:55:33 +0100 (BST) Received: (qmail 23643 invoked from network); 19 Jul 2004 14:55:32 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 19 Jul 2004 14:55:32 -0000 Subject: Re: [Devel] exotic encoding support From: Scott James Remnant <scott@netsplit.com> To: luka frelih <luka@ljudmila.org> In-Reply-To: <B2C965D1-D986-11D8-9B22-000393955E0A@ljudmila.org> References: <B2C965D1-D986-11D8-9B22-000393955E0A@ljudmila.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-19ihh3VH1bEBIf/RvG1T" Date: Mon, 19 Jul 2004 15:55:53 +0100 Message-Id: <1090248953.29798.19.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9.1 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 19 Jul 2004 14:55:34 -0000 Status: O Content-Length: 875 Lines: 33 --=-19ihh3VH1bEBIf/RvG1T Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-07-19 at 15:22 +0200, luka frelih wrote: > i've run into a problem trying to use planet for feeds encoded in=20 > iso-8859-2. >=20 We've switched back to using the loading/encoding code in feedparser in the current pre-nightly; grab planet--devel--1.0 from my archive and see if that helps. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-19ihh3VH1bEBIf/RvG1T Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBA++D5IexP3IStZ2wRArluAJ9Z03MqhnLJsyV7rF+y8UixlrI1BACdEs/P Kj8d1/3iEcE2+NKrhwROpbQ= =BH70 -----END PGP SIGNATURE----- --=-19ihh3VH1bEBIf/RvG1T-- From luka@ljudmila.org Mon Jul 19 16:49:51 2004 Return-Path: <luka@ljudmila.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0CEB457C6 for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 16:49:51 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 58067-01-2 for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 16:49:50 +0100 (BST) Received: from huda.ljudmila.org (mail.ljudmila.org [193.2.132.73]) by amnesiac.heapspace.net (Postfix) with ESMTP id 8CF6757D1 for <devel@lists.planetplanet.org>; Mon, 19 Jul 2004 16:49:48 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by huda.ljudmila.org (Postfix) with ESMTP id 1D916A4397; Mon, 19 Jul 2004 17:49:48 +0200 (CEST) Received: from huda.ljudmila.org ([127.0.0.1]) by localhost (huda [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 23367-01; Mon, 19 Jul 2004 17:49:47 +0200 (CEST) Received: from [193.2.132.110] (s110.ljudmila.org [193.2.132.110]) by huda.ljudmila.org (Postfix) with ESMTP id BAAB0A42AF; Mon, 19 Jul 2004 17:49:36 +0200 (CEST) In-Reply-To: <1090248953.29798.19.camel@descent.netsplit.com> References: <B2C965D1-D986-11D8-9B22-000393955E0A@ljudmila.org> <1090248953.29798.19.camel@descent.netsplit.com> Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <39AF728C-D99B-11D8-9B22-000393955E0A@ljudmila.org> Content-Transfer-Encoding: 7bit From: luka frelih <luka@ljudmila.org> Subject: Re: [Devel] exotic encoding support Date: Mon, 19 Jul 2004 17:49:31 +0200 To: Scott James Remnant <scott@netsplit.com> X-Mailer: Apple Mail (2.618) X-Virus-Scanned: by specialist at mail.ljudmila.org X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 19 Jul 2004 15:49:51 -0000 Status: O Content-Length: 523 Lines: 19 >> i've run into a problem trying to use planet for feeds encoded in >> iso-8859-2. >> > We've switched back to using the loading/encoding code in feedparser in > the current pre-nightly; grab planet--devel--1.0 from my archive and > see > if that helps. looks good. besides the encoding working, it picked up author information from one feed. i also see that the cache format is different (binary?) and old entries from new feeds are hidden. is there maybe a way to unhide them? thanks - and good luck with 1.0 LF From scott@netsplit.com Mon Jul 19 17:11:34 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 8470F57D1 for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 17:11:34 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 58494-01-16 for <devel@amnesiac.heapspace.net>; Mon, 19 Jul 2004 17:11:34 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id CC85557C6 for <devel@lists.planetplanet.org>; Mon, 19 Jul 2004 17:11:33 +0100 (BST) Received: (qmail 25415 invoked from network); 19 Jul 2004 16:11:32 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 19 Jul 2004 16:11:32 -0000 Subject: Re: [Devel] exotic encoding support From: Scott James Remnant <scott@netsplit.com> To: luka frelih <luka@ljudmila.org> In-Reply-To: <39AF728C-D99B-11D8-9B22-000393955E0A@ljudmila.org> References: <B2C965D1-D986-11D8-9B22-000393955E0A@ljudmila.org> <1090248953.29798.19.camel@descent.netsplit.com> <39AF728C-D99B-11D8-9B22-000393955E0A@ljudmila.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-9p5OoPVU9EQssTokqBxl" Date: Mon, 19 Jul 2004 17:11:53 +0100 Message-Id: <1090253513.29798.24.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9.1 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 19 Jul 2004 16:11:34 -0000 Status: O Content-Length: 1365 Lines: 48 --=-9p5OoPVU9EQssTokqBxl Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-07-19 at 17:49 +0200, luka frelih wrote: > >> i've run into a problem trying to use planet for feeds encoded in > >> iso-8859-2. > >> > > We've switched back to using the loading/encoding code in feedparser in > > the current pre-nightly; grab planet--devel--1.0 from my archive and=20 > > see > > if that helps. >=20 > looks good. besides the encoding working, it picked up author=20 > information from one feed. >=20 > i also see that the cache format is different (binary?) and old entries=20 > from new feeds are hidden. >=20 Yeah, this fixes a *lot* of problems. > is there maybe a way to unhide them? >=20 Two ways; either set new_feed_items to 0 in your config so they don't get hidden in the first place, or use the planet-cache.py tool ... which I haven't written yet :p Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-9p5OoPVU9EQssTokqBxl Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBA+/LJIexP3IStZ2wRAulaAJ49FLnXVmb8xT5Bmn7i3YHZXDoNsQCcDJxM 6ANPOOlPIiePnLNIO5fW/ls= =XFZm -----END PGP SIGNATURE----- --=-9p5OoPVU9EQssTokqBxl-- From moritz.angermann@gmail.com Tue Jul 20 22:36:52 2004 Return-Path: <moritz.angermann@gmail.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 1338657EE for <devel@amnesiac.heapspace.net>; Tue, 20 Jul 2004 22:36:52 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 78174-01-59 for <devel@amnesiac.heapspace.net>; Tue, 20 Jul 2004 22:36:51 +0100 (BST) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.206]) by amnesiac.heapspace.net (Postfix) with SMTP id 64EDD57DF for <devel@lists.planetplanet.org>; Tue, 20 Jul 2004 22:36:51 +0100 (BST) Received: by mproxy.gmail.com with SMTP id 73so698578rne for <devel@lists.planetplanet.org>; Tue, 20 Jul 2004 14:36:50 -0700 (PDT) Received: by 10.38.171.32 with SMTP id t32mr207342rne; Tue, 20 Jul 2004 14:36:50 -0700 (PDT) Message-ID: <bdd2923d040720143660d9359f@mail.gmail.com> Date: Tue, 20 Jul 2004 23:36:50 +0200 From: Moritz Angermann <moritz.angermann@gmail.com> To: Scott James Remnant <scott@netsplit.com> Subject: Re: [Devel] Again Atom feeds from Blogspot In-Reply-To: <1090229737.29798.7.camel@descent.netsplit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <bdd2923d040701160764a605c4@mail.gmail.com> <1090229737.29798.7.camel@descent.netsplit.com> X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 20 Jul 2004 21:36:52 -0000 Status: O Content-Length: 1388 Lines: 40 Well more or less we had blogspot working for a day or so... and than I dumped blogspot in favor of my own blog script i hacked up. with a valid rss feed at http://mdot.mine.nu/rss.xml the system runs at http://mdot.mine.nu/ and is just a set of 2 php files that takes the `push into xml file` and `invoke xsltproc' stuff taken care of. The rest is a pure xsl sheet set. kindest regrads, Moritz "neofeed" Angermann On Mon, 19 Jul 2004 10:35:37 +0100, Scott James Remnant <scott@netsplit.com> wrote: > On Fri, 2004-07-02 at 01:07 +0200, Moritz Angermann wrote: >=20 > > We are trying to do planet.e.org ( http://e1x.codewordt.co.uk/planet/ ) > > now the bad thing is > > =B7 I'm using blogspot with has an UTF-8 atom feed with <br/> in it. > >=20 > So it turns out that upgrading to the latest feedparser solved this, > we're currently testing out a totally new version of Planet which seems > to render these just fine. >=20 > Scott > -- > Have you ever, ever felt like this? > Had strange things happen? Are you going round the twist? >=20 >=20 >=20 --=20 ---------------- contact info ---------------- Moritz Angermann moritz.angermann@gmx.net mo@liquidmint.org Liquid:Mint www.liquidmint.org Mobile +49 (0) 160 9197 5880 +49 (0) 160 5930 184=20 Home +49 (0) 4322 88 87 20 From ja2morri@csclub.uwaterloo.ca Fri Jul 23 07:59:16 2004 Return-Path: <ja2morri@csclub.uwaterloo.ca> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 09F7957D1 for <devel@amnesiac.heapspace.net>; Fri, 23 Jul 2004 07:59:16 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16473-01 for <devel@amnesiac.heapspace.net>; Fri, 23 Jul 2004 07:59:15 +0100 (BST) Received: from perpugilliam.csclub.uwaterloo.ca (perpugilliam.csclub.uwaterloo.ca [129.97.134.31]) by amnesiac.heapspace.net (Postfix) with ESMTP id 90A1E57BA for <devel@lists.planetplanet.org>; Fri, 23 Jul 2004 07:59:15 +0100 (BST) Received: by perpugilliam.csclub.uwaterloo.ca (Postfix, from userid 20178) id 6684FA85DB; Fri, 23 Jul 2004 02:59:14 -0400 (EDT) To: devel@lists.planetplanet.org Message-Id: <20040723065914.6684FA85DB@perpugilliam.csclub.uwaterloo.ca> Date: Fri, 23 Jul 2004 02:59:14 -0400 (EDT) From: ja2morri@csclub.uwaterloo.ca (James Morrison) X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] new planet tarballs X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Fri, 23 Jul 2004 06:59:16 -0000 Status: O Content-Length: 192 Lines: 9 Hi, I noticed that the nightly tarballs of planetplanet don't have the code that is used on Planet Debian, for example. Are there any tarballs of the planet 1.0 archive available? Jim From scott@netsplit.com Fri Jul 23 10:32:57 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6523757DF for <devel@amnesiac.heapspace.net>; Fri, 23 Jul 2004 10:32:57 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18146-03-9 for <devel@amnesiac.heapspace.net>; Fri, 23 Jul 2004 10:32:57 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id BD8EF57C6 for <devel@lists.planetplanet.org>; Fri, 23 Jul 2004 10:32:56 +0100 (BST) Received: (qmail 1372 invoked from network); 23 Jul 2004 09:32:55 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 23 Jul 2004 09:32:55 -0000 Subject: Re: [Devel] new planet tarballs From: Scott James Remnant <scott@netsplit.com> To: James Morrison <ja2morri@csclub.uwaterloo.ca> In-Reply-To: <20040723065914.6684FA85DB@perpugilliam.csclub.uwaterloo.ca> References: <20040723065914.6684FA85DB@perpugilliam.csclub.uwaterloo.ca> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-KSwOKgqzPPXBRaydJNTR" Date: Fri, 23 Jul 2004 10:32:56 +0100 Message-Id: <1090575176.27994.3.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9.1 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Hack the Planet! <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Fri, 23 Jul 2004 09:32:57 -0000 Status: O Content-Length: 909 Lines: 34 --=-KSwOKgqzPPXBRaydJNTR Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2004-07-23 at 02:59 -0400, James Morrison wrote: > I noticed that the nightly tarballs of planetplanet don't have the code > that is used on Planet Debian, for example. Are there any tarballs of th= e > planet 1.0 archive available? >=20 Not yet; it's still got a few regressions from the older code which need to be sorted out. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-KSwOKgqzPPXBRaydJNTR Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBANtHIexP3IStZ2wRArlIAJ9QCuMDN54qmK7I1FWws5OSumRYNACfZet4 Iq7JODep/zBPtg75tCzCUig= =RZj2 -----END PGP SIGNATURE----- --=-KSwOKgqzPPXBRaydJNTR-- From ned21@srcf.ucam.org Fri Aug 6 10:18:24 2004 Return-Path: <ned21@srcf.ucam.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id B90AA57EE for <devel@amnesiac.heapspace.net>; Fri, 6 Aug 2004 10:18:24 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 79958-03-20 for <devel@amnesiac.heapspace.net>; Fri, 6 Aug 2004 10:18:24 +0100 (BST) Received: from ppsw-0.csi.cam.ac.uk (ppsw-0.csi.cam.ac.uk [131.111.8.130]) by amnesiac.heapspace.net (Postfix) with ESMTP id 5D8EE57D4 for <devel@lists.planetplanet.org>; Fri, 6 Aug 2004 10:18:24 +0100 (BST) Received: from student.cusu.cam.ac.uk ([131.111.179.82]:37193 helo=kern.srcf.societies.cam.ac.uk) by ppsw-0.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.130]:25) with esmtp (Exim 4.34) id 1Bt0rl-00073f-Ab for devel@lists.planetplanet.org; Fri, 06 Aug 2004 10:18:21 +0100 Received: from ned21 by kern.srcf.societies.cam.ac.uk with local (Exim 3.35 #1 (Debian)) id 1Bt0rj-0001Kw-00 for <devel@lists.planetplanet.org>; Fri, 06 Aug 2004 10:18:19 +0100 Date: Fri, 6 Aug 2004 10:18:19 +0100 From: Nathan Dimmock <ned21@srcf.ucam.org> To: devel@lists.planetplanet.org Message-ID: <20040806091819.GA4468@srcf.ucam.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ X-Cam-AntiVirus: No virus found X-Cam-SpamDetails: Not scanned X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Planet Planet and Wordpress X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Fri, 06 Aug 2004 09:18:25 -0000 Status: O Content-Length: 1099 Lines: 28 Dear All My recently created planet was runing very nicely until I added two wordpress blogs to the syndication list. Now whenever I run the planet script and those blogs haven't changed since I last run it I get the following error: ERROR:root:Update failed for <http://www-jcsu.jesus.cam.ac.uk/~ned21/tooBusy/wp-atom.php> (Error: 500) But there is no error if the blog has been updated since the script was last run. I've looked through and grepped the code but cannot see where this error code is coming from -- I don't think it can be the http code (internal server error) as both these atom feeds work fine elsewhere. I guess wordpress is popular enough someone else must have experienced this? (I get the same problem if I use WP's RSS2 feeds.) The code is version is "0.2", pulled from a nightly-build tar ball a month ago. Many thanks in advance for your help, -- Nathan Jesus College, Cambridge, CB5 8BL http://www-jcsu.jesus.cam.ac.uk/~ned21/ The Master: "But you're dead?!" Buffy: "Yeah, but I'm still pretty." ["Prophecy Girl" - Buffy TVS] From lucas@lucas-nussbaum.net Sun Aug 8 20:59:53 2004 Return-Path: <lucas@lucas-nussbaum.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id E223C57DF for <devel@amnesiac.heapspace.net>; Sun, 8 Aug 2004 20:59:52 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11806-05-3 for <devel@amnesiac.heapspace.net>; Sun, 8 Aug 2004 20:59:52 +0100 (BST) Received: from ox.lucas-nussbaum.net (cab-192023.calixo.net [213.166.192.23]) by amnesiac.heapspace.net (Postfix) with ESMTP id E4CC057D4 for <devel@lists.planetplanet.org>; Sun, 8 Aug 2004 20:59:51 +0100 (BST) Received: from localhost (ox.lucas-nussbaum.net [127.0.0.1]) by ox.lucas-nussbaum.net (Postfix) with ESMTP id 5B1CC43BEC for <devel@lists.planetplanet.org>; Sun, 8 Aug 2004 21:59:51 +0200 (CEST) Received: from ox.lucas-nussbaum.net ([127.0.0.1]) by localhost (ox [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27237-03 for <devel@lists.planetplanet.org>; Sun, 8 Aug 2004 21:59:51 +0200 (CEST) Received: from blop.lucas.in (blop.in.schickler.net [192.168.0.3]) by ox.lucas-nussbaum.net (Postfix) with ESMTP id 2D9DB43A5E for <devel@lists.planetplanet.org>; Sun, 8 Aug 2004 21:59:51 +0200 (CEST) Received: by blop.lucas.in (Postfix, from userid 1000) id 7C19510AB4; Sun, 8 Aug 2004 21:59:51 +0200 (CEST) Date: Sun, 8 Aug 2004 21:59:51 +0200 From: Lucas Nussbaum <lucas@lucas-nussbaum.net> To: devel@lists.planetplanet.org Message-ID: <20040808195951.GA10664@blop.info> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organisation: Lacking X-PGP: http://www.lucas-nussbaum.net/pubkey.txt User-Agent: Mutt/1.5.6+20040722i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lucas-nussbaum.net X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Working on planet : rewrite or fork ? X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sun, 08 Aug 2004 19:59:53 -0000 Status: O Content-Length: 1875 Lines: 43 Hi, I've tried to install Planet, and ran into several problems. I've also seen many recurrent complains from users on this mailing list. I'm going to work on Planet to improve/change a few things. Here are the problems I identified, and the solutions I'm going to implement : 1. Feedparser update. Feedparser is actively maintained, but planet is too tightly linked with it to allow an update to feedparser v3.3. I'd like to rewrite the parts of Planet that deal with feedparser so that feedparser 3.3 can be used, and future version changes will be easier. 2. Resource Usage. Feedparser is quite a CPU hog (even if v.3.3 improves things). Currently, the caching mechanism is aimed to sparing network usage, but not CPU usage. I'd like to make Planet run as a daemon, so feeds that haven't changed won't be downloaded and parsed every X minutes. (Currently, they are not downloaded, but they are parsed) 3. Complete i18n. Some date strings are hard-coded, and the current locale is ignored. This is very easy to fix. 4. Correct encoding handling. planetlib.py lines 193 and following doesn't look very generic to me. This can be rewritten in a much cleaner way. Have I missed something ? I already have a version here running with Feedparser 3.3, caching removed, and better encoding handling. However, before going further, I'd like to know the opinion of the Planet developpers about this. What I'm doing is a major rewrite, and can't be considered 'patches'. Forking Planet seems counter-productive to me, but will users accept a rewrite to their already not-so-badly working setups ? Also, is there a bugzilla for Planet ? Thank you, -- | Lucas Nussbaum | lucas@lucas-nussbaum.net lnu@gnu.org GPG: 1024D/023B3F4F | | jabber: lucas@linux.ensimag.fr http://www.lucas-nussbaum.net | | fingerprint: 075D 010B 80C3 AC68 BD4F B328 DA19 6237 023B 3F4F | From scott@netsplit.com Mon Aug 9 00:36:39 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id ADFFB57EB for <devel@amnesiac.heapspace.net>; Mon, 9 Aug 2004 00:36:39 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13778-02 for <devel@amnesiac.heapspace.net>; Mon, 9 Aug 2004 00:36:39 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 043EA57DF for <devel@lists.planetplanet.org>; Mon, 9 Aug 2004 00:36:38 +0100 (BST) Received: (qmail 28715 invoked from network); 8 Aug 2004 23:36:37 -0000 Received: from unknown (HELO ?127.0.0.1?) (scott@127.0.0.1) by localhost with RC4-MD5 encrypted SMTP; 8 Aug 2004 23:36:37 -0000 Subject: Re: [Devel] Working on planet : rewrite or fork ? From: Scott James Remnant <scott@netsplit.com> To: Lucas Nussbaum <lucas@lucas-nussbaum.net> In-Reply-To: <20040808195951.GA10664@blop.info> References: <20040808195951.GA10664@blop.info> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-kF574vecIWDsNk1JWNTJ" Date: Mon, 09 Aug 2004 00:31:30 +0100 Message-Id: <1092007891.4904.1.camel@syndicate> Mime-Version: 1.0 X-Mailer: Evolution 1.5.91 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sun, 08 Aug 2004 23:36:40 -0000 Status: O Content-Length: 1085 Lines: 38 --=-kF574vecIWDsNk1JWNTJ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2004-08-08 at 21:59 +0200, Lucas Nussbaum wrote: > I've tried to install Planet, and ran into several problems. I've also > seen many recurrent complains from users on this mailing list. I'm going > to work on Planet to improve/change a few things.=20 >=20 Try scott@netsplit.com--2004/planet--devel--1.0; it addresses the problems you raise here. > Also, is there a bugzilla for Planet ? >=20 Not currently, I generally dislike bug tracking systems favouring mailing lists; dunno what Jeff's opinion is. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-kF574vecIWDsNk1JWNTJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBFrfSIexP3IStZ2wRAvtGAJ9uY3JgLO8vLPqRrjsLj787+kgjXgCfXGNe JiIHdU/LFBolPOaHm+wggrw= =4PiQ -----END PGP SIGNATURE----- --=-kF574vecIWDsNk1JWNTJ-- From nick@zork.net Mon Aug 9 00:39:25 2004 Return-Path: <nick@zork.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 4020457EB for <devel@amnesiac.heapspace.net>; Mon, 9 Aug 2004 00:39:25 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13778-03-2 for <devel@amnesiac.heapspace.net>; Mon, 9 Aug 2004 00:39:24 +0100 (BST) Received: from zork.zork.net (zork.zork.net [64.81.246.102]) by amnesiac.heapspace.net (Postfix) with ESMTP id 5AE2A57FB for <devel@lists.planetplanet.org>; Mon, 9 Aug 2004 00:39:24 +0100 (BST) Received: from nick by zork.zork.net with local (Exim 4.34) id 1BtxG1-0004BQ-K8; Sun, 08 Aug 2004 16:39:17 -0700 Date: Sun, 8 Aug 2004 16:39:17 -0700 From: Nick Moffitt <nick@zork.net> To: devel@lists.planetplanet.org, Lucas Nussbaum <lucas@lucas-nussbaum.net> Subject: Re: [Devel] Working on planet : rewrite or fork ? Message-ID: <20040808233917.GG31296@zork.net> Mail-Followup-To: devel@lists.planetplanet.org, Lucas Nussbaum <lucas@lucas-nussbaum.net> References: <20040808195951.GA10664@blop.info> <1092007891.4904.1.camel@syndicate> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1092007891.4904.1.camel@syndicate> Reply-By: Wed, 4 Apr 2001 14:21:08 -0700 X-Message-Flag: OUTLOOK ERROR: Message text violates P.A.T.R.I.O.T. act User-Agent: Mutt/1.5.6+20040722i X-SA-Exim-Connect-IP: <locally generated> X-SA-Exim-Mail-From: nick@zork.net X-SA-Exim-Scanned: No (on zork.zork.net); SAEximRunCond expanded to false X-Virus-Scanned: by amavisd-new at heapspace.net Cc: X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sun, 08 Aug 2004 23:39:25 -0000 Status: O Content-Length: 542 Lines: 15 begin Scott James Remnant quotation: > On Sun, 2004-08-08 at 21:59 +0200, Lucas Nussbaum wrote: > > Also, is there a bugzilla for Planet ? > > Not currently, I generally dislike bug tracking systems favouring > mailing lists; dunno what Jeff's opinion is. Forget mailing lists. Bugzilla is just BROKEN by design. http://bugs.xiph.org/show_bug.cgi?id=245 -- "I think that software engineering would help to prevent Nick Moffitt things like imake." nick@teh.entar.net -- Jon Webb From murrayc@murrayc.com Mon Aug 9 16:40:31 2004 Return-Path: <murrayc@murrayc.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 7D42757C6 for <devel@amnesiac.heapspace.net>; Mon, 9 Aug 2004 16:40:31 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23886-03-2 for <devel@amnesiac.heapspace.net>; Mon, 9 Aug 2004 16:40:31 +0100 (BST) Received: from pochacco.sd.dreamhost.com (pochacco.sd.dreamhost.com [66.33.206.17]) by amnesiac.heapspace.net (Postfix) with ESMTP id DE8B157C2 for <devel@lists.planetplanet.org>; Mon, 9 Aug 2004 16:40:30 +0100 (BST) Received: from webmail.murrayc.com (localhost [127.0.0.1]) by pochacco.sd.dreamhost.com (Postfix) with SMTP id 2EBC48FF36; Mon, 9 Aug 2004 08:40:28 -0700 (PDT) Received: from 217.10.50.85 (SquirrelMail authenticated user murrayc@murrayc.com) by webmail.murrayc.com with HTTP; Mon, 9 Aug 2004 17:40:28 +0200 (CEST) Message-ID: <43474.217.10.50.85.1092066028.spork@webmail.murrayc.com> In-Reply-To: <1092007891.4904.1.camel@syndicate> References: <20040808195951.GA10664@blop.info> <1092007891.4904.1.camel@syndicate> Date: Mon, 9 Aug 2004 17:40:28 +0200 (CEST) Subject: Re: [Devel] Working on planet : rewrite or fork ? From: "Murray Cumming" <murrayc@murrayc.com> To: "Scott James Remnant" <scott@netsplit.com> User-Agent: DreamHost Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 09 Aug 2004 15:40:31 -0000 Status: O Content-Length: 950 Lines: 26 > On Sun, 2004-08-08 at 21:59 +0200, Lucas Nussbaum wrote: > >> I've tried to install Planet, and ran into several problems. I've also >> seen many recurrent complains from users on this mailing list. I'm going >> to work on Planet to improve/change a few things. >> > Try scott@netsplit.com--2004/planet--devel--1.0; it addresses the > problems you raise here. Fantastic. I had no idea that someone had done much work on the planet code recently. I'll try to test it out when I get a chance. For others, here is the interesting ChangeLog http://arch.netsplit.com/scott@netsplit.com--2004/planet--devel--1.0--patch-34/ChangeLog (I don't know how to get a URL to the always-latest version) I guess the "nightly snapshot" on the website is from Jeff's repository. Is there any chance you could make an updated planet tarball release with your improvements. Thanks for hacking. Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From jdub@waugh.id.au Mon Aug 9 17:17:07 2004 Return-Path: <jdub@waugh.id.au> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id C1B3557FD for <devel@amnesiac.heapspace.net>; Mon, 9 Aug 2004 17:17:06 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24648-02-3 for <devel@amnesiac.heapspace.net>; Mon, 9 Aug 2004 17:17:06 +0100 (BST) Received: from smtp.syd.swiftdsl.com.au (smtp.syd.swiftdsl.com.au [202.154.83.58]) by amnesiac.heapspace.net (Postfix) with SMTP id 5CB0E57EB for <devel@lists.planetplanet.org>; Mon, 9 Aug 2004 17:17:04 +0100 (BST) Received: (qmail 25355 invoked from network); 9 Aug 2004 16:17:04 -0000 Received: from unknown (HELO home.waugh.id.au) (218.214.67.227) by smtp.syd.swiftdsl.com.au with SMTP; 9 Aug 2004 16:17:04 -0000 Received: from willow.home.waugh.id.au (unknown [82.109.138.58]) by home.waugh.id.au (Postfix) with ESMTP id 65DA5E8D21 for <devel@lists.planetplanet.org>; Tue, 10 Aug 2004 02:16:58 +1000 (EST) Received: by willow.home.waugh.id.au (Postfix, from userid 1000) id ED412695B3; Mon, 9 Aug 2004 16:54:58 +0100 (BST) Date: Mon, 9 Aug 2004 08:54:58 -0700 From: Jeff Waugh <jdub@perkypants.org> To: devel@lists.planetplanet.org Subject: Re: [Devel] Working on planet : rewrite or fork ? Message-ID: <20040809155458.GG18130@perkypants.org> Mail-Followup-To: devel@lists.planetplanet.org References: <20040808195951.GA10664@blop.info> <1092007891.4904.1.camel@syndicate> <43474.217.10.50.85.1092066028.spork@webmail.murrayc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43474.217.10.50.85.1092066028.spork@webmail.murrayc.com> X-Message-Flag: Cranky? Try Free Software instead! X-Operating-System: Linux 2.6.6 ppc Reply-By: Thu Aug 12 16:53:38 BST 2004 X-Uptime: 16:53:38 up 9 days, 6:54, 5 users, load average: 0.24, 0.18, 0.23 User-Agent: Mutt/1.5.6+20040803i X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 09 Aug 2004 16:17:07 -0000 Status: O Content-Length: 626 Lines: 17 <quote who="Murray Cumming"> > I guess the "nightly snapshot" on the website is from Jeff's repository. > Is there any chance you could make an updated planet tarball release with > your improvements. Thanks for hacking. We chose not to switch the tarball source location because Scott's branch is still considered 'beta', and the nightly tarball is our stable release at this point. ;-) - Jeff -- What's all that about? http://www.no-name-yet.com/ "I guess there's part of me that's always resented it... to be an actor, you have to have someone else say yes to you." - Edward Norton From lucas@lucas-nussbaum.net Mon Aug 9 20:49:41 2004 Return-Path: <lucas@lucas-nussbaum.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 2145E5808 for <devel@amnesiac.heapspace.net>; Mon, 9 Aug 2004 20:49:41 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27127-02-7 for <devel@amnesiac.heapspace.net>; Mon, 9 Aug 2004 20:49:40 +0100 (BST) Received: from ox.lucas-nussbaum.net (cab-192023.calixo.net [213.166.192.23]) by amnesiac.heapspace.net (Postfix) with ESMTP id 32FB257FD for <devel@lists.planetplanet.org>; Mon, 9 Aug 2004 20:49:40 +0100 (BST) Received: from localhost (ox.lucas-nussbaum.net [127.0.0.1]) by ox.lucas-nussbaum.net (Postfix) with ESMTP id D805843D65; Mon, 9 Aug 2004 21:49:37 +0200 (CEST) Received: from ox.lucas-nussbaum.net ([127.0.0.1]) by localhost (ox [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15452-06; Mon, 9 Aug 2004 21:49:37 +0200 (CEST) Received: from blop.lucas.in (blop.in.schickler.net [192.168.0.3]) by ox.lucas-nussbaum.net (Postfix) with ESMTP id 9804743D62; Mon, 9 Aug 2004 21:49:37 +0200 (CEST) Received: by blop.lucas.in (Postfix, from userid 1000) id 20E1910ABD; Mon, 9 Aug 2004 21:49:38 +0200 (CEST) Date: Mon, 9 Aug 2004 21:49:38 +0200 From: Lucas Nussbaum <lucas@lucas-nussbaum.net> To: Scott James Remnant <scott@netsplit.com> Subject: Re: [Devel] Working on planet : rewrite or fork ? Message-ID: <20040809194938.GA19310@blop.info> References: <20040808195951.GA10664@blop.info> <1092007891.4904.1.camel@syndicate> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <1092007891.4904.1.camel@syndicate> Organisation: Lacking X-PGP: http://www.lucas-nussbaum.net/pubkey.txt User-Agent: Mutt/1.5.6+20040722i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lucas-nussbaum.net X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 09 Aug 2004 19:49:41 -0000 Status: O Content-Length: 2785 Lines: 78 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Aug 09, 2004 at 12:31:30AM +0100, Scott James Remnant <scott@netsplit.com> wrote: > On Sun, 2004-08-08 at 21:59 +0200, Lucas Nussbaum wrote: > > > I've tried to install Planet, and ran into several problems. I've also > > seen many recurrent complains from users on this mailing list. I'm going > > to work on Planet to improve/change a few things. > > > Try scott@netsplit.com--2004/planet--devel--1.0; it addresses the > problems you raise here. Thank you, it actually adressed them all except the locales problem. Here is a patch that allows the user to define the locale he wants to use (for localized dates for example). Python programs always use C as default locale I think. I decided to allow the user to choose its locale, because sometimes, the user's locale isn't the one he wants to use for dates. (e.g german user generating web pages in english). You also need to add a "locale" setting to the [Planet] section of your config file : # locale to use. Choose an UTF-8 locale here. locale = fr_FR.UTF-8 An example result can be seen at http://linux.ensimag.fr/planet/ Thank you -- | Lucas Nussbaum | lucas@lucas-nussbaum.net lnu@gnu.org GPG: 1024D/023B3F4F | | jabber: lucas@linux.ensimag.fr http://www.lucas-nussbaum.net | | fingerprint: 075D 010B 80C3 AC68 BD4F B328 DA19 6237 023B 3F4F | --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="planet+locale.diff" diff -bur planet--devel--1.0--patch-34/planet.py planet/planet.py --- planet--devel--1.0--patch-34/planet.py 2004-08-09 07:23:16.000000000 +0200 +++ planet/planet.py 2004-08-09 21:40:49.000000000 +0200 @@ -22,6 +22,8 @@ from ConfigParser import ConfigParser +# use default locale +import locale # Default configuration file path CONFIG_FILE = "config.ini" @@ -32,6 +34,7 @@ OWNER_NAME = "Anonymous Coward" OWNER_EMAIL = "" LOG_LEVEL = "WARNING" +LOCALE = "C" # Default template file list TEMPLATE_FILES = "examples/basic/planet.html.tmpl" @@ -109,9 +112,12 @@ owner_name = config_get(config, "Planet", "owner_name", OWNER_NAME) owner_email = config_get(config, "Planet", "owner_email", OWNER_EMAIL) log_level = config_get(config, "Planet", "log_level", LOG_LEVEL) + mylocale = config_get(config, "Planet", "locale", LOCALE) template_files = config_get(config, "Planet", "template_files", TEMPLATE_FILES).split(" ") + # Define locale + locale.setlocale(locale.LC_ALL, mylocale) # Activate logging planet.logging.basicConfig() planet.logging.getLogger().setLevel(planet.logging.getLevelName(log_level)) --pWyiEgJYm5f9v55/-- From murrayc@murrayc.com Tue Aug 10 07:58:48 2004 Return-Path: <murrayc@murrayc.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 8CF0C5818 for <devel@amnesiac.heapspace.net>; Tue, 10 Aug 2004 07:58:48 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 34354-01-8 for <devel@amnesiac.heapspace.net>; Tue, 10 Aug 2004 07:58:48 +0100 (BST) Received: from chococat.sd.dreamhost.com (chococat.sd.dreamhost.com [66.33.206.16]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0A31F5815 for <devel@lists.planetplanet.org>; Tue, 10 Aug 2004 07:58:47 +0100 (BST) Received: from webmail.murrayc.com (localhost [127.0.0.1]) by chococat.sd.dreamhost.com (Postfix) with SMTP id 23DCBFA3B; Mon, 9 Aug 2004 23:58:43 -0700 (PDT) Received: from 217.10.50.85 (SquirrelMail authenticated user murrayc@murrayc.com) by webmail.murrayc.com with HTTP; Tue, 10 Aug 2004 08:58:43 +0200 (CEST) Message-ID: <45855.217.10.50.85.1092121123.spork@webmail.murrayc.com> In-Reply-To: <20040809194938.GA19310@blop.info> References: <20040808195951.GA10664@blop.info><1092007891.4904.1.camel@syndicate> <20040809194938.GA19310@blop.info> Date: Tue, 10 Aug 2004 08:58:43 +0200 (CEST) Subject: Re: [Devel] Working on planet : rewrite or fork ? From: "Murray Cumming" <murrayc@murrayc.com> To: "Lucas Nussbaum" <lucas@lucas-nussbaum.net> User-Agent: DreamHost Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 10 Aug 2004 06:58:48 -0000 Status: O Content-Length: 612 Lines: 19 >> On Sun, 2004-08-08 at 21:59 +0200, Lucas Nussbaum wrote: > I decided to allow the user to choose its locale, because sometimes, the > user's locale isn't the one he wants to use for dates. (e.g german user > generating web pages in english). > > You also need to add a "locale" setting to the [Planet] section of your > config file : > > # locale to use. Choose an UTF-8 locale here. > locale = fr_FR.UTF-8 > > An example result can be seen at http://linux.ensimag.fr/planet/ Thanks a lot for this. This will make my German pages better. Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From scott@netsplit.com Tue Aug 10 12:39:39 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id EBEF557FD for <devel@amnesiac.heapspace.net>; Tue, 10 Aug 2004 12:39:38 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 38085-01 for <devel@amnesiac.heapspace.net>; Tue, 10 Aug 2004 12:39:38 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 3564C57D4 for <devel@lists.planetplanet.org>; Tue, 10 Aug 2004 12:39:37 +0100 (BST) Received: (qmail 14488 invoked from network); 10 Aug 2004 11:39:36 -0000 Received: from unknown (HELO ?127.0.0.1?) (scott@127.0.0.1) by localhost with RC4-MD5 encrypted SMTP; 10 Aug 2004 11:39:36 -0000 Subject: Re: [Devel] Working on planet : rewrite or fork ? From: Scott James Remnant <scott@netsplit.com> To: devel@lists.planetplanet.org In-Reply-To: <20040809194938.GA19310@blop.info> References: <20040808195951.GA10664@blop.info> <1092007891.4904.1.camel@syndicate> <20040809194938.GA19310@blop.info> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-1knEJfT6dHk198qUHH7f" Date: Tue, 10 Aug 2004 12:39:35 +0100 Message-Id: <1092137975.6221.3.camel@syndicate> Mime-Version: 1.0 X-Mailer: Evolution 1.5.91 X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 10 Aug 2004 11:39:39 -0000 Status: O Content-Length: 1507 Lines: 47 --=-1knEJfT6dHk198qUHH7f Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-08-09 at 21:49 +0200, Lucas Nussbaum wrote: > On Mon, Aug 09, 2004 at 12:31:30AM +0100, Scott James Remnant <scott@nets= plit.com> wrote: > > On Sun, 2004-08-08 at 21:59 +0200, Lucas Nussbaum wrote: > >=20 > > > I've tried to install Planet, and ran into several problems. I've als= o > > > seen many recurrent complains from users on this mailing list. I'm go= ing > > > to work on Planet to improve/change a few things.=20 > > >=20 > > Try scott@netsplit.com--2004/planet--devel--1.0; it addresses the > > problems you raise here. >=20 > Thank you, it actually adressed them all except the locales problem. > Here is a patch that allows the user to define the locale he wants to > use (for localized dates for example). Python programs always use C as > default locale I think. >=20 Thanks, applied. I decided against setting the locale to C explicitly, instead it goes with whatever the default is according to Python. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-1knEJfT6dHk198qUHH7f Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBGLP2IexP3IStZ2wRApKrAJ99C+TAQMfMFdSN1Ybnx2fGEoEUNQCdG3IY YVUamXPc9W+aIV4Ocv1A9JQ= =i8/1 -----END PGP SIGNATURE----- --=-1knEJfT6dHk198qUHH7f-- From lucas@lucas-nussbaum.net Tue Aug 10 13:20:19 2004 Return-Path: <lucas@lucas-nussbaum.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id A39C357DF for <devel@amnesiac.heapspace.net>; Tue, 10 Aug 2004 13:20:19 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 38522-03-2 for <devel@amnesiac.heapspace.net>; Tue, 10 Aug 2004 13:20:19 +0100 (BST) Received: from ox.lucas-nussbaum.net (cab-192023.calixo.net [213.166.192.23]) by amnesiac.heapspace.net (Postfix) with ESMTP id 07EA457D1 for <devel@lists.planetplanet.org>; Tue, 10 Aug 2004 13:20:18 +0100 (BST) Received: from localhost (ox.lucas-nussbaum.net [127.0.0.1]) by ox.lucas-nussbaum.net (Postfix) with ESMTP id 64E8143D65; Tue, 10 Aug 2004 14:20:11 +0200 (CEST) Received: from ox.lucas-nussbaum.net ([127.0.0.1]) by localhost (ox [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20675-01; Tue, 10 Aug 2004 14:20:11 +0200 (CEST) Received: from blop.lucas.in (blop.in.schickler.net [192.168.0.3]) by ox.lucas-nussbaum.net (Postfix) with ESMTP id 265D343D62; Tue, 10 Aug 2004 14:20:11 +0200 (CEST) Received: by blop.lucas.in (Postfix, from userid 1000) id CC739435C9; Tue, 10 Aug 2004 14:20:09 +0200 (CEST) Date: Tue, 10 Aug 2004 14:20:09 +0200 From: Lucas Nussbaum <lucas@lucas-nussbaum.net> To: Scott James Remnant <scott@netsplit.com> Subject: Re: [Devel] Working on planet : rewrite or fork ? Message-ID: <20040810122009.GA12299@blop.info> References: <20040808195951.GA10664@blop.info> <1092007891.4904.1.camel@syndicate> <20040809194938.GA19310@blop.info> <1092137975.6221.3.camel@syndicate> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1092137975.6221.3.camel@syndicate> Organisation: Lacking X-PGP: http://www.lucas-nussbaum.net/pubkey.txt User-Agent: Mutt/1.5.6+20040722i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lucas-nussbaum.net X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 10 Aug 2004 12:20:20 -0000 Status: O Content-Length: 1820 Lines: 46 On Tue, Aug 10, 2004 at 12:39:35PM +0100, Scott James Remnant <scott@netsplit.com> wrote: > On Mon, 2004-08-09 at 21:49 +0200, Lucas Nussbaum wrote: > > > On Mon, Aug 09, 2004 at 12:31:30AM +0100, Scott James Remnant <scott@netsplit.com> wrote: > > > On Sun, 2004-08-08 at 21:59 +0200, Lucas Nussbaum wrote: > > > > > > > I've tried to install Planet, and ran into several problems. I've also > > > > seen many recurrent complains from users on this mailing list. I'm going > > > > to work on Planet to improve/change a few things. > > > > > > > Try scott@netsplit.com--2004/planet--devel--1.0; it addresses the > > > problems you raise here. > > > > Thank you, it actually adressed them all except the locales problem. > > Here is a patch that allows the user to define the locale he wants to > > use (for localized dates for example). Python programs always use C as > > default locale I think. > > > Thanks, applied. I decided against setting the locale to C explicitly, > instead it goes with whatever the default is according to Python. No, the default is C : ***lucas@Georges:~% python (0) Python 2.3.4 (#2, Jul 5 2004, 09:15:05) [GCC 3.3.4 (Debian 1:3.3.4-2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>> locale.getlocale() (None, None) >>> locale.setlocale(locale.LC_ALL, '') 'fr_FR' >>> locale.getlocale() ['fr_FR', 'ISO8859-1'] >>> locale.setlocale(locale.LC_ALL, 'C') 'C' >>> locale.getlocale() (None, None) >>> Setting it to '' might break the output for some users. -- | Lucas Nussbaum | lucas@lucas-nussbaum.net lnu@gnu.org GPG: 1024D/023B3F4F | | jabber: lucas@linux.ensimag.fr http://www.lucas-nussbaum.net | | fingerprint: 075D 010B 80C3 AC68 BD4F B328 DA19 6237 023B 3F4F | From scott@netsplit.com Tue Aug 10 14:23:32 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id ED6C95814 for <devel@amnesiac.heapspace.net>; Tue, 10 Aug 2004 14:23:31 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 39370-03-5 for <devel@amnesiac.heapspace.net>; Tue, 10 Aug 2004 14:23:31 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 391E75819 for <devel@lists.planetplanet.org>; Tue, 10 Aug 2004 14:23:31 +0100 (BST) Received: (qmail 17226 invoked from network); 10 Aug 2004 13:23:29 -0000 Received: from unknown (HELO ?127.0.0.1?) (scott@127.0.0.1) by localhost with RC4-MD5 encrypted SMTP; 10 Aug 2004 13:23:29 -0000 Subject: Re: [Devel] Working on planet : rewrite or fork ? From: Scott James Remnant <scott@netsplit.com> To: Lucas Nussbaum <lucas@lucas-nussbaum.net> In-Reply-To: <20040810122009.GA12299@blop.info> References: <20040808195951.GA10664@blop.info> <1092007891.4904.1.camel@syndicate> <20040809194938.GA19310@blop.info> <1092137975.6221.3.camel@syndicate> <20040810122009.GA12299@blop.info> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+5zwMtfA4A7SepPHqIF6" Date: Tue, 10 Aug 2004 14:23:25 +0100 Message-Id: <1092144205.6221.9.camel@syndicate> Mime-Version: 1.0 X-Mailer: Evolution 1.5.91 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 10 Aug 2004 13:23:32 -0000 Status: O Content-Length: 2498 Lines: 78 --=-+5zwMtfA4A7SepPHqIF6 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2004-08-10 at 14:20 +0200, Lucas Nussbaum wrote: > On Tue, Aug 10, 2004 at 12:39:35PM +0100, Scott James Remnant <scott@nets= plit.com> wrote: > > On Mon, 2004-08-09 at 21:49 +0200, Lucas Nussbaum wrote: > >=20 > > > On Mon, Aug 09, 2004 at 12:31:30AM +0100, Scott James Remnant <scott@= netsplit.com> wrote: > > > > On Sun, 2004-08-08 at 21:59 +0200, Lucas Nussbaum wrote: > > > >=20 > > > > > I've tried to install Planet, and ran into several problems. I've= also > > > > > seen many recurrent complains from users on this mailing list. I'= m going > > > > > to work on Planet to improve/change a few things.=20 > > > > >=20 > > > > Try scott@netsplit.com--2004/planet--devel--1.0; it addresses the > > > > problems you raise here. > > >=20 > > > Thank you, it actually adressed them all except the locales problem. > > > Here is a patch that allows the user to define the locale he wants to > > > use (for localized dates for example). Python programs always use C a= s > > > default locale I think. > > >=20 > > Thanks, applied. I decided against setting the locale to C explicitly, > > instead it goes with whatever the default is according to Python. >=20 > No, the default is C : >=20 > ***lucas@Georges:~% python = (0) > Python 2.3.4 (#2, Jul 5 2004, 09:15:05)=20 > [GCC 3.3.4 (Debian 1:3.3.4-2)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import locale > >>> locale.getlocale() > (None, None) > >>> locale.setlocale(locale.LC_ALL, '') > 'fr_FR' > >>> locale.getlocale() > ['fr_FR', 'ISO8859-1'] > >>> locale.setlocale(locale.LC_ALL, 'C') > 'C' > >>> locale.getlocale() > (None, None) > >>> >=20 > Setting it to '' might break the output for some users. >=20 I'm not setting it to "", I'm just not setting it at all if the configuration isn't set. That way the default is whatever the default chooses to be :-) Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-+5zwMtfA4A7SepPHqIF6 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBGMxMIexP3IStZ2wRAgbhAKCEtnSvg4+2/ObrNzLmeeprK1ocEwCgtcf/ zE4LIB++OAnyQUxL3OjPCu0= =UUKZ -----END PGP SIGNATURE----- --=-+5zwMtfA4A7SepPHqIF6-- From andrewkerr@ozemail.com.au Wed Sep 8 03:31:22 2004 Return-Path: <andrewkerr@ozemail.com.au> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 8A6B557BA for <devel@amnesiac.heapspace.net>; Wed, 8 Sep 2004 03:31:22 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 67749-01-4 for <devel@amnesiac.heapspace.net>; Wed, 8 Sep 2004 03:31:22 +0100 (BST) Received: from csunb.mit.csu.edu.au (csunb.csu.edu.au [137.166.4.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6954157EE for <devel@lists.planetplanet.org>; Wed, 8 Sep 2004 03:31:21 +0100 (BST) Received: from pat.mit.csu.edu.au (pat.mit.csu.edu.au [137.166.4.125]) by csunb.mit.csu.edu.au (8.12.11/8.12.11) with ESMTP id i882VGRW001335; Wed, 8 Sep 2004 12:31:16 +1000 (EST) Received: from postoffice.csu.edu.au (postoffice [137.166.4.112]) by pat.mit.csu.edu.au (8.12.11/8.12.11) with SMTP id i882WQ5S013639; Wed, 8 Sep 2004 12:32:27 +1000 (EST) From: "Andrew Kerr" <andrewkerr@ozemail.com.au> Sender: akerr09@postoffice.csu.edu.au To: devel@lists.planetplanet.org X-CC-Sender: andrewkerr@ozemail.com.au Date: Wed, 8 Sep 2004 12:32:27 +1000 X-Mailer: DMailWeb Web to Mail Gateway 2.5e, http://netwinsite.com/top_mail.htm Message-id: <413e6f3b.3542.0@postoffice.csu.edu.au> X-User-Info: 203.166.96.236 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Idea for a feature X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: andrewkerr@ozemail.com.au List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 08 Sep 2004 02:31:22 -0000 Status: O Content-Length: 418 Lines: 10 Hey planet developers, I was just reading planet.gnome.org and had an idea for a planet feature. Though I assume you are just generating static pages, it could be cool to optionally set a "last viewed" cookie and automatically jump to the appropriate anchor on the next viewing. Of course this would be more useful if you sort entries in ascending order from the last read one. Anyway, a thought... Take care, Drew. From jonarnar@jonarnar.com Wed Sep 8 13:44:16 2004 Return-Path: <jonarnar@jonarnar.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 998E357F8 for <devel@amnesiac.heapspace.net>; Wed, 8 Sep 2004 13:44:16 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 74798-02 for <devel@amnesiac.heapspace.net>; Wed, 8 Sep 2004 13:44:16 +0100 (BST) Received: from carmen.tern.is (vegurinn.tern.is [213.167.142.178]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0FD9B57EB for <devel@lists.planetplanet.org>; Wed, 8 Sep 2004 13:44:15 +0100 (BST) Received: from jon.tern.is ([10.10.10.81]) by carmen.tern.is with Microsoft SMTPSVC(5.0.2195.6713); Wed, 8 Sep 2004 12:44:14 +0000 From: =?iso-8859-1?q?J=F3n_Arnar_Gu=F0mundsson?= <jonarnar@jonarnar.com> To: devel@lists.planetplanet.org Date: Wed, 8 Sep 2004 12:45:20 +0000 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409081245.20928.jonarnar@jonarnar.com> X-OriginalArrivalTime: 08 Sep 2004 12:44:14.0930 (UTC) FILETIME=[8C4C4B20:01C495A1] X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Is the nightly snapshot broken ? X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 08 Sep 2004 12:44:17 -0000 Status: O Content-Length: 846 Lines: 21 Hi, I've tried to download the nightly build from http://www.planetplanet.org/planet-nightly.tar.bz2, but the file seems to be broken.. I can bunzip2 it, but tar can't uncompress it. The filesize is 10K. Is this just a problem for me or have others run into this as well ? I've also tried to use arch to get the latest sources, but have to admit that the instructions on gnuarch.com leave me confused. Can someone please post directions on how I can register the planet archives and get the sources ? Also, which archive should I use, Jeff's or Scott's, as I saw on the mailing list that one of them seems to be more on the bleeding edge ? This is the error message that I get: jon@stort ~ $ tla register-archive 'http://arch.netsplit.com/scott%40netsplit.com--2004' pfs_archive_version: unidentifiable archive () Regards, Jon Arnar From simos74@gmx.net Thu Sep 9 23:16:46 2004 Return-Path: <simos74@gmx.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 8F07257EB for <devel@amnesiac.heapspace.net>; Thu, 9 Sep 2004 23:16:46 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 94372-02-19 for <devel@amnesiac.heapspace.net>; Thu, 9 Sep 2004 23:16:46 +0100 (BST) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id 0D9A957D4 for <devel@lists.planetplanet.org>; Thu, 9 Sep 2004 23:16:45 +0100 (BST) Received: (qmail 2210 invoked by uid 65534); 9 Sep 2004 22:16:45 -0000 Received: from cpc1-addl1-4-0-cust65.herm.cable.ntl.com (EHLO [192.168.0.100]) (81.96.5.65) by mail.gmx.net (mp021) with SMTP; 10 Sep 2004 00:16:45 +0200 X-Authenticated: #10070094 Subject: Re: [Devel] Is the nightly snapshot broken ? From: Simos Xenitellis <simos74@gmx.net> To: =?ISO-8859-1?Q?J=F3n?= Arnar =?ISO-8859-1?Q?Gu=F0mundsson?= <jonarnar@jonarnar.com> In-Reply-To: <200409081245.20928.jonarnar@jonarnar.com> References: <200409081245.20928.jonarnar@jonarnar.com> Content-Type: text/plain; charset=UTF-8 Message-Id: <1094768263.3433.3.camel@kl.asia.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 09 Sep 2004 23:17:44 +0100 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Planet Planet Dev List <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 09 Sep 2004 22:16:46 -0000 Status: O Content-Length: 1339 Lines: 37 Indeed the nightly .tar.bz2 does not take place, so the file is empty (contains no files, just bzip header). Anyone fix this? Check the list archives for hints on how to use "tla". It's rather cryptic. Replace %40 with @. s. On Wed, 2004-09-08 at 13:45, Jón Arnar Guðmundsson wrote: > Hi, > I've tried to download the nightly build from > http://www.planetplanet.org/planet-nightly.tar.bz2, but the file seems to be > broken.. I can bunzip2 it, but tar can't uncompress it. The filesize is 10K. > Is this just a problem for me or have others run into this as well ? > > I've also tried to use arch to get the latest sources, but have to admit that > the instructions on gnuarch.com leave me confused. > Can someone please post directions on how I can register the planet archives > and get the sources ? Also, which archive should I use, Jeff's or Scott's, as > I saw on the mailing list that one of them seems to be more on the bleeding > edge ? > > This is the error message that I get: > jon@stort ~ $ tla register-archive > 'http://arch.netsplit.com/scott%40netsplit.com--2004' > > pfs_archive_version: unidentifiable archive () > > Regards, > Jon Arnar > _______________________________________________ > Devel mailing list > Devel@lists.planetplanet.org > http://lists.planetplanet.org/mailman/listinfo/devel > From chris@deigan.id.au Sat Sep 11 03:42:52 2004 Return-Path: <chris@deigan.id.au> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id AC83257EE for <devel@amnesiac.heapspace.net>; Sat, 11 Sep 2004 03:42:52 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12471-03-7 for <devel@amnesiac.heapspace.net>; Sat, 11 Sep 2004 03:42:52 +0100 (BST) Received: from flute.bandcamp.tv (flute.bandcamp.tv [61.8.3.175]) by amnesiac.heapspace.net (Postfix) with ESMTP id 97B5457EB for <devel@lists.planetplanet.org>; Sat, 11 Sep 2004 03:42:50 +0100 (BST) Received: from [192.168.10.2] (203-206-255-123.dyn.iinet.net.au [203.206.255.123]) (authenticated bits=0) by flute.bandcamp.tv (8.12.3/8.12.3/Debian-6.6) with ESMTP id i8B2gbiT019960 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Sat, 11 Sep 2004 12:42:45 +1000 In-Reply-To: <413e6f3b.3542.0@postoffice.csu.edu.au> References: <413e6f3b.3542.0@postoffice.csu.edu.au> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <0CA77F53-0394-11D9-AB9A-000A95C05B08@deigan.id.au> Content-Transfer-Encoding: 7bit From: Chris Deigan <chris@deigan.id.au> Subject: Re: [Devel] Idea for a feature Date: Sat, 11 Sep 2004 11:43:58 +1000 To: andrewkerr@ozemail.com.au X-Mailer: Apple Mail (2.619) X-Virus-Scanned: clamd / ClamAV version 0.75-1, clamav-milter version 0.75c on flute X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sat, 11 Sep 2004 02:42:53 -0000 Status: O Content-Length: 740 Lines: 24 On 08/09/2004, at 12:32 PM, Andrew Kerr wrote: > Hey planet developers, > > I was just reading planet.gnome.org and had an idea for a planet > feature. Though > I assume you are just generating static pages, it could be cool to > optionally > set a "last viewed" cookie and automatically jump to the appropriate > anchor > on the next viewing. Of course this would be more useful if you sort > entries > in ascending order from the last read one. Anyway, a thought... It wouldn't be too difficult to do this with just editing templates - adding anchors and doing some funky perl/php stuff. But then, if you read from the top, I'm not sure what should be the problem - unless you don't know what you read to last time. :-) Chris. From louie@ximian.com Tue Sep 14 21:10:08 2004 Return-Path: <louie@ximian.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 28B475801 for <devel@amnesiac.heapspace.net>; Tue, 14 Sep 2004 21:10:08 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 69190-03-4 for <devel@amnesiac.heapspace.net>; Tue, 14 Sep 2004 21:10:07 +0100 (BST) Received: from peabody.ximian.com (peabody.ximian.com [130.57.169.10]) by amnesiac.heapspace.net (Postfix) with ESMTP id C861357EB for <devel@lists.planetplanet.org>; Tue, 14 Sep 2004 21:10:06 +0100 (BST) Received: (qmail 31913 invoked from network); 14 Sep 2004 20:10:05 -0000 Received: from localhost (HELO ?164.99.120.132?) (127.0.0.1) by localhost with SMTP; 14 Sep 2004 20:10:05 -0000 From: Luis Villa <louie@ximian.com> To: devel@lists.planetplanet.org Content-Type: text/plain Date: Tue, 14 Sep 2004 16:09:37 -0400 Message-Id: <1095192577.3825.93.camel@linux.site> Mime-Version: 1.0 X-Mailer: Evolution 1.5.94.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] weird bug, wondering if HEAD fixes X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: louie@novell.com List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 14 Sep 2004 20:10:08 -0000 Status: O Content-Length: 1860 Lines: 45 I'm trying to sub my planet to http://www.tbray.org/ongoing/ongoing.rss, but I get the following error in my output. I'm wondering if this is something fixed in newer builds (mine is about 3-4 months old.) Would someone with a newer build mind subbing a test planet and seeing if it works? Thanks... Luis INFO:root:Subscribing <http://www.tbray.org/ongoing/ongoing.rss> INFO:root:Updating feed <http://www.tbray.org/ongoing/ongoing.rss> DEBUG:root:Encoding: UTF-8 DEBUG:root:E-Tag: "1a0085-4b00-4146968a" DEBUG:root:Modified: September 14, 2004 06:58 AM DEBUG:root:URI: <http://www.tbray.org/ongoing/ongoing.rss> ERROR:root:Update from <http://www.tbray.org/ongoing/ongoing.rss> failed Traceback (most recent call last): File "/home/louie/planet/planet.py", line 130, in ? channel.update() File "planetlib.py", line 169, in update self._update(baseuri, data) File "planetlib.py", line 273, in _update feed.feed(data) File "/usr/lib/python2.2/sgmllib.py", line 95, in feed self.goahead(0) File "/usr/lib/python2.2/sgmllib.py", line 134, in goahead k = self.parse_endtag(i) File "/usr/lib/python2.2/sgmllib.py", line 303, in parse_endtag self.finish_endtag(tag) File "/usr/lib/python2.2/sgmllib.py", line 343, in finish_endtag self.unknown_endtag(tag) File "/home/louie/planet/feedparser.py", line 358, in unknown_endtag method() File "/home/louie/planet/feedparser.py", line 720, in _end_description value = self.pop('description') File "/home/louie/planet/feedparser.py", line 480, in pop output = resolveRelativeURIs(output, self.baseuri) File "/home/louie/planet/feedparser.py", line 897, in resolveRelativeURIs data = p.output() File "/home/louie/planet/feedparser.py", line 853, in output return "".join(self.pieces) UnicodeError: ASCII decoding error: ordinal not in range(128) From skvidal@phy.duke.edu Tue Sep 14 21:17:27 2004 Return-Path: <skvidal@phy.duke.edu> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 632E857EB for <devel@amnesiac.heapspace.net>; Tue, 14 Sep 2004 21:17:27 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 69351-01 for <devel@amnesiac.heapspace.net>; Tue, 14 Sep 2004 21:17:27 +0100 (BST) Received: from mail.phy.duke.edu (mail.phy.duke.edu [152.3.182.2]) by amnesiac.heapspace.net (Postfix) with ESMTP id D6F5357BA for <devel@lists.planetplanet.org>; Tue, 14 Sep 2004 21:17:26 +0100 (BST) Received: from [152.3.182.42] (opus.phy.duke.edu [152.3.182.42]) by mail.phy.duke.edu (Postfix) with ESMTP id DE6659323B; Tue, 14 Sep 2004 16:16:45 -0400 (EDT) Subject: Re: [Devel] weird bug, wondering if HEAD fixes From: seth vidal <skvidal@phy.duke.edu> To: louie@novell.com In-Reply-To: <1095192577.3825.93.camel@linux.site> References: <1095192577.3825.93.camel@linux.site> Content-Type: text/plain Message-Id: <1095193006.32569.87.camel@opus.phy.duke.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 14 Sep 2004 16:16:46 -0400 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 14 Sep 2004 20:17:27 -0000 Status: O Content-Length: 485 Lines: 16 On Tue, 2004-09-14 at 16:09, Luis Villa wrote: > I'm trying to sub my planet to http://www.tbray.org/ongoing/ongoing.rss, > but I get the following error in my output. I'm wondering if this is > something fixed in newer builds (mine is about 3-4 months old.) Would > someone with a newer build mind subbing a test planet and seeing if it > works? Thanks... > Someone's feed is claiming to be unicode (utf8) but some of the chars in the feed are not compliant. beat the user. -sv From louie@ximian.com Tue Sep 14 21:43:30 2004 Return-Path: <louie@ximian.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 140BA57EB for <devel@amnesiac.heapspace.net>; Tue, 14 Sep 2004 21:43:30 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 69710-03-3 for <devel@amnesiac.heapspace.net>; Tue, 14 Sep 2004 21:43:29 +0100 (BST) Received: from peabody.ximian.com (peabody.ximian.com [130.57.169.10]) by amnesiac.heapspace.net (Postfix) with ESMTP id 3119957BA for <devel@lists.planetplanet.org>; Tue, 14 Sep 2004 21:43:28 +0100 (BST) Received: (qmail 31979 invoked from network); 14 Sep 2004 20:43:26 -0000 Received: from localhost (HELO ?164.99.120.132?) (127.0.0.1) by localhost with SMTP; 14 Sep 2004 20:43:26 -0000 Subject: Re: [Devel] weird bug, wondering if HEAD fixes From: Luis Villa <louie@ximian.com> To: Seth Vidal <skvidal@phy.duke.edu> In-Reply-To: <1095193006.32569.87.camel@opus.phy.duke.edu> References: <1095192577.3825.93.camel@linux.site> <1095193006.32569.87.camel@opus.phy.duke.edu> Content-Type: text/plain Date: Tue, 14 Sep 2004 16:43:00 -0400 Message-Id: <1095194580.3825.105.camel@linux.site> Mime-Version: 1.0 X-Mailer: Evolution 1.5.94.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: louie@novell.com List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 14 Sep 2004 20:43:30 -0000 Status: O Content-Length: 610 Lines: 18 On Tue, 2004-09-14 at 16:16 -0400, seth vidal wrote: > On Tue, 2004-09-14 at 16:09, Luis Villa wrote: > > I'm trying to sub my planet to http://www.tbray.org/ongoing/ongoing.rss, > > but I get the following error in my output. I'm wondering if this is > > something fixed in newer builds (mine is about 3-4 months old.) Would > > someone with a newer build mind subbing a test planet and seeing if it > > works? Thanks... > > > > Someone's feed is claiming to be unicode (utf8) but some of the chars in > the feed are not compliant. > > beat the user. I can't really beat the user; he's not mine :) Luis From sitapati@worldsankirtan.net Wed Sep 15 01:50:42 2004 Return-Path: <sitapati@worldsankirtan.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id B504757C6 for <devel@amnesiac.heapspace.net>; Wed, 15 Sep 2004 01:50:42 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 71875-04 for <devel@amnesiac.heapspace.net>; Wed, 15 Sep 2004 01:50:42 +0100 (BST) Received: from localhost.localdomain (office.instant.net.au [203.202.110.3]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0C37657BA for <devel@lists.planetplanet.org>; Wed, 15 Sep 2004 01:50:40 +0100 (BST) Received: from krishna.brisbane.redhat.com (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id i8F0oUdm032182 for <devel@lists.planetplanet.org>; Wed, 15 Sep 2004 10:50:33 +1000 From: Sitapati das <sitapati@worldsankirtan.net> To: devel@lists.planetplanet.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-kIoUcWNW0QX4X1opOJKT" Message-Id: <1095209414.30101.25.camel@krishna.brisbane.redhat.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-1) Date: Wed, 15 Sep 2004 10:50:32 +1000 X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Subscription to selected categories X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 15 Sep 2004 00:50:43 -0000 Status: O Content-Length: 1218 Lines: 39 --=-kIoUcWNW0QX4X1opOJKT Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi there, I don't know if this the right place to ask this question, so flame me if I'm out of line... Here goes: Is there any way to subscribe to certain categories rather than the whole RSS feed? I know that some sites can publish separate feeds by category, but what about for sites that publish everything together? Can Planet do the separation? Or if I wanted to make it do that, any pointers? The other thing is that a geeklog rdf feed that I am subscribed to pushes the whole article onto the planet page, whereas the wordpress rss feeds seem a little more couth and send a paragraph summary. Is there any way to control this at the moment, or if I wanted to make it control that, any pointers on where and what to do? Thanks in advance, Joshua --=-kIoUcWNW0QX4X1opOJKT Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQBBR5HGGtAFOxcY1MoRAu6XAJ4tf9Bf0GOBEDwmyWTQu9sgbxseMACg79sT wOzvGyGPSIVgMqVL1l2wg/8= =T7Nm -----END PGP SIGNATURE----- --=-kIoUcWNW0QX4X1opOJKT-- From sitapati@worldsankirtan.net Wed Sep 15 01:50:55 2004 Return-Path: <sitapati@worldsankirtan.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 924975807 for <devel@amnesiac.heapspace.net>; Wed, 15 Sep 2004 01:50:55 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 71875-04-4 for <devel@amnesiac.heapspace.net>; Wed, 15 Sep 2004 01:50:55 +0100 (BST) Received: from localhost.localdomain (office.instant.net.au [203.202.110.3]) by amnesiac.heapspace.net (Postfix) with ESMTP id 457F55805 for <devel@lists.planetplanet.org>; Wed, 15 Sep 2004 01:50:53 +0100 (BST) Received: from krishna.brisbane.redhat.com (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id i8F0olXY032187 for <devel@lists.planetplanet.org>; Wed, 15 Sep 2004 10:50:49 +1000 From: Sitapati das <sitapati@worldsankirtan.net> To: devel@lists.planetplanet.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-kIoUcWNW0QX4X1opOJKT" Message-Id: <1095209414.30101.25.camel@krishna.brisbane.redhat.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-1) Date: Wed, 15 Sep 2004 10:50:50 +1000 X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Subscription to selected categories X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 15 Sep 2004 00:50:55 -0000 Status: O Content-Length: 1218 Lines: 39 --=-kIoUcWNW0QX4X1opOJKT Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi there, I don't know if this the right place to ask this question, so flame me if I'm out of line... Here goes: Is there any way to subscribe to certain categories rather than the whole RSS feed? I know that some sites can publish separate feeds by category, but what about for sites that publish everything together? Can Planet do the separation? Or if I wanted to make it do that, any pointers? The other thing is that a geeklog rdf feed that I am subscribed to pushes the whole article onto the planet page, whereas the wordpress rss feeds seem a little more couth and send a paragraph summary. Is there any way to control this at the moment, or if I wanted to make it control that, any pointers on where and what to do? Thanks in advance, Joshua --=-kIoUcWNW0QX4X1opOJKT Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQBBR5HGGtAFOxcY1MoRAu6XAJ4tf9Bf0GOBEDwmyWTQu9sgbxseMACg79sT wOzvGyGPSIVgMqVL1l2wg/8= =T7Nm -----END PGP SIGNATURE----- --=-kIoUcWNW0QX4X1opOJKT-- From nick@zork.net Wed Sep 15 02:46:53 2004 Return-Path: <nick@zork.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 2548257C6 for <devel@amnesiac.heapspace.net>; Wed, 15 Sep 2004 02:46:53 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 72488-04-4 for <devel@amnesiac.heapspace.net>; Wed, 15 Sep 2004 02:46:52 +0100 (BST) Received: from zork.zork.net (zork.zork.net [64.81.246.102]) by amnesiac.heapspace.net (Postfix) with ESMTP id 80AA457BA for <devel@lists.planetplanet.org>; Wed, 15 Sep 2004 02:46:52 +0100 (BST) Received: from nick by zork.zork.net with local (Exim 4.34) id 1C7Osk-0000JG-Kr for devel@lists.planetplanet.org; Tue, 14 Sep 2004 18:46:50 -0700 Date: Tue, 14 Sep 2004 18:46:50 -0700 From: Nick Moffitt <nick@zork.net> To: devel@lists.planetplanet.org Subject: Re: [Devel] Subscription to selected categories Message-ID: <20040915014650.GB26389@zork.net> Mail-Followup-To: devel@lists.planetplanet.org References: <1095209414.30101.25.camel@krishna.brisbane.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1095209414.30101.25.camel@krishna.brisbane.redhat.com> Reply-By: Wed, 4 Apr 2001 14:21:08 -0700 X-Message-Flag: OUTLOOK ERROR: Message text violates P.A.T.R.I.O.T. act User-Agent: Mutt/1.5.6+20040722i X-SA-Exim-Connect-IP: <locally generated> X-SA-Exim-Mail-From: nick@zork.net X-SA-Exim-Scanned: No (on zork.zork.net); SAEximRunCond expanded to false X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 15 Sep 2004 01:46:53 -0000 Status: O Content-Length: 635 Lines: 15 begin Sitapati das quotation: > The other thing is that a geeklog rdf feed that I am subscribed to > pushes the whole article onto the planet page, whereas the wordpress > rss feeds seem a little more couth and send a paragraph summary. Is > there any way to control this at the moment, or if I wanted to make > it control that, any pointers on where and what to do? See if they consistently respect the distinction between Summary and Description tags. -- "I think that software engineering would help to prevent Nick Moffitt things like imake." nick@teh.entar.net -- Jon Webb From tonyhill@iastate.edu Mon Sep 20 22:04:42 2004 Return-Path: <tonyhill@iastate.edu> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id EF63A5802 for <devel@amnesiac.heapspace.net>; Mon, 20 Sep 2004 22:04:41 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 55943-04-4 for <devel@amnesiac.heapspace.net>; Mon, 20 Sep 2004 22:04:41 +0100 (BST) Received: from mailhub-3.iastate.edu (mailhub-3.iastate.edu [129.186.140.13]) by amnesiac.heapspace.net (Postfix) with ESMTP id 26EA35800 for <devel@lists.planetplanet.org>; Mon, 20 Sep 2004 22:04:40 +0100 (BST) Received: from mailout-1.iastate.edu (mailout-1.iastate.edu [129.186.140.1]) by mailhub-3.iastate.edu (8.12.10/8.12.10) with SMTP id i8KL4cuB010565 for <devel@lists.planetplanet.org>; Mon, 20 Sep 2004 16:04:38 -0500 Received: from tonyhill.cheme.iastate.edu(129.186.4.14) by mailout-1.iastate.edu via csmap id 1f4dfc4a_0b48_11d9_863c_00304811d932_12041; Mon, 20 Sep 2004 21:00:37 +0000 (UTC) Message-ID: <414F45E6.60502@iastate.edu> Date: Mon, 20 Sep 2004 16:04:38 -0500 From: Tony Hill <tonyhill@iastate.edu> User-Agent: Mozilla Thunderbird 0.8 (Macintosh/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: devel@lists.planetplanet.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Possible bug in (pre)-1.0 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 20 Sep 2004 21:04:42 -0000 Status: O Content-Length: 1085 Lines: 31 Hello all. I have been a happy user of planetplanet for a few months. Today, I found out about Scott's version of planetplanet in the Arch repository. So, I grabbed the most recent version (patch-45) and tested it. I now get the following error when running planet.py. Do any of you have any idea what is happening? I am running python2.3 on Mac OS X 10.3.5. INFO:planet.runner:Processing template examples/fancy/index.html.tmpl Traceback (most recent call last): File "planet.py", line 160, in ? template = manager.prepare(template_file) File "/Users/tonyhill/archives/planet--devel--1.0--patch-45/planet/htmltmpl.py", line 204, in prepare precompiled = self.load_precompiled(file) File "/Users/tonyhill/archives/planet--devel--1.0--patch-45/planet/htmltmpl.py", line 341, in load_precompiled self.lock_file(file, LOCK_UN) File "/Users/tonyhill/archives/planet--devel--1.0--patch-45/planet/htmltmpl.py", line 274, in lock_file fcntl.fcntl(fd, fcntl.LOCK_UN) IOError: [Errno 14] Bad address Thanks for the help. Tony Hill tonyhill@iastate.edu From tonyhill@iastate.edu Tue Sep 21 19:59:50 2004 Return-Path: <tonyhill@iastate.edu> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 5680757F8 for <devel@amnesiac.heapspace.net>; Tue, 21 Sep 2004 19:59:50 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 70825-02-4 for <devel@amnesiac.heapspace.net>; Tue, 21 Sep 2004 19:59:50 +0100 (BST) Received: from mailhub-4.iastate.edu (mailhub-4.iastate.edu [129.186.140.14]) by amnesiac.heapspace.net (Postfix) with ESMTP id AC7D157EE for <devel@lists.planetplanet.org>; Tue, 21 Sep 2004 19:59:49 +0100 (BST) Received: from mailout-2.iastate.edu (mailout-2.iastate.edu [129.186.140.2]) by mailhub-4.iastate.edu (8.12.10/8.12.10) with SMTP id i8LIxjBh027012 for <devel@lists.planetplanet.org>; Tue, 21 Sep 2004 13:59:45 -0500 Received: from tonyhill.cheme.iastate.edu(129.186.4.14) by mailout-2.iastate.edu via csmap id 372d036a_0c01_11d9_8838_003048290bef_14011; Tue, 21 Sep 2004 14:05:34 -0500 (CDT) Message-ID: <41507A23.6010103@iastate.edu> Date: Tue, 21 Sep 2004 13:59:47 -0500 From: Tony Hill <tonyhill@iastate.edu> User-Agent: Mozilla Thunderbird 0.8 (Macintosh/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: devel@lists.planetplanet.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Re: Possible bug in (pre)-1.0 X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 21 Sep 2004 18:59:50 -0000 Status: O Content-Length: 1047 Lines: 26 I have found the following patch fixes the problem. I don't know what implications this would have on other installations of planetplanet. --- planet-1.0/planet/htmltmpl.py 2004-08-02 18:00:02.000000000 -0500 +++ planet-1.0.a/planet/htmltmpl.py 2004-09-20 15:32:45.000000000 -0500 @@ -267,11 +267,11 @@ fd = file.fileno() if LOCKTYPE == LOCKTYPE_FCNTL: if lock == LOCK_SH: - fcntl.fcntl(fd, fcntl.LOCK_SH) + fcntl.flock(fd, fcntl.LOCK_SH) elif lock == LOCK_EX: - fcntl.fcntl(fd, fcntl.LOCK_EX) + fcntl.flock(fd, fcntl.LOCK_EX) elif lock == LOCK_UN: - fcntl.fcntl(fd, fcntl.LOCK_UN) + fcntl.flock(fd, fcntl.LOCK_UN) else: raise TemplateError, "BUG: bad lock in lock_file" elif LOCKTYPE == LOCKTYPE_MSVCRT: What do the developers think? Why was htmltmpl.py changed to no longer use fcntl.flock? Should it be changed back? Tony Hill tonyhill@iastate.edu From fred@crozat.net Tue Sep 21 23:54:28 2004 Return-Path: <fred@crozat.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 4113C57EB for <devel@amnesiac.heapspace.net>; Tue, 21 Sep 2004 23:54:28 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 73823-01-19 for <devel@amnesiac.heapspace.net>; Tue, 21 Sep 2004 23:54:27 +0100 (BST) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by amnesiac.heapspace.net (Postfix) with ESMTP id D344357C6 for <devel@lists.planetplanet.org>; Tue, 21 Sep 2004 23:54:27 +0100 (BST) Received: from twinpeaks.dyndns.org (diderot-2-81-57-82-36.fbx.proxad.net [81.57.82.36]) by postfix3-2.free.fr (Postfix) with ESMTP id 7AD391A1FB for <devel@lists.planetplanet.org>; Tue, 21 Sep 2004 21:37:42 +0200 (CEST) Received: from doubler.crozat.net (doubler.crozat.net [192.168.1.2]) by twinpeaks.dyndns.org (Postfix) with ESMTP id 4FFFEBE47 for <devel@lists.planetplanet.org>; Tue, 21 Sep 2004 21:37:42 +0200 (CEST) Received: by doubler.crozat.net (Postfix, from userid 501) id 74DDADEEFF; Tue, 21 Sep 2004 21:37:41 +0200 (CEST) Subject: Re: [Devel] Re: Possible bug in (pre)-1.0 From: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Crozat <fred@crozat.net> To: devel@lists.planetplanet.org In-Reply-To: <41507A23.6010103@iastate.edu> References: <41507A23.6010103@iastate.edu> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Date: Tue, 21 Sep 2004 21:37:40 +0200 Message-Id: <1095795460.5333.1.camel@doubler.crozat.net> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0-1mdk X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 21 Sep 2004 22:54:28 -0000 Status: O Content-Length: 1353 Lines: 31 Le mardi 21 septembre 2004 =E0 13:59 -0500, Tony Hill a =E9crit : > I have found the following patch fixes the problem. I don't know what=20 > implications this would have on other installations of planetplanet. >=20 > --- planet-1.0/planet/htmltmpl.py 2004-08-02 18:00:02.000000000 -0500 > +++ planet-1.0.a/planet/htmltmpl.py 2004-09-20 15:32:45.000000000 -0500 > @@ -267,11 +267,11 @@ > fd =3D file.fileno() > if LOCKTYPE =3D=3D LOCKTYPE_FCNTL: > if lock =3D=3D LOCK_SH: > - fcntl.fcntl(fd, fcntl.LOCK_SH) > + fcntl.flock(fd, fcntl.LOCK_SH) > elif lock =3D=3D LOCK_EX: > - fcntl.fcntl(fd, fcntl.LOCK_EX) > + fcntl.flock(fd, fcntl.LOCK_EX) > elif lock =3D=3D LOCK_UN: > - fcntl.fcntl(fd, fcntl.LOCK_UN) > + fcntl.flock(fd, fcntl.LOCK_UN) > else: > raise TemplateError, "BUG: bad lock in lock_file" > elif LOCKTYPE =3D=3D LOCKTYPE_MSVCRT: >=20 > What do the developers think? Why was htmltmpl.py changed to no longer=20 > use fcntl.flock? Should it be changed back? Probably because flock doesn't work on NFS mount point, unlike fcntl. I guess you are using an NFS mount point with locking not correctly configured. --=20 Fr=E9d=E9ric Crozat - fred@crozat.net From tonyhill@iastate.edu Wed Sep 22 16:47:59 2004 Return-Path: <tonyhill@iastate.edu> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 9F00357F8 for <devel@amnesiac.heapspace.net>; Wed, 22 Sep 2004 16:47:59 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 84892-01-12 for <devel@amnesiac.heapspace.net>; Wed, 22 Sep 2004 16:47:59 +0100 (BST) Received: from mailhub-4.iastate.edu (mailhub-4.iastate.edu [129.186.140.14]) by amnesiac.heapspace.net (Postfix) with ESMTP id D61AA57EE for <devel@lists.planetplanet.org>; Wed, 22 Sep 2004 16:47:58 +0100 (BST) Received: from mailout-2.iastate.edu (mailout-2.iastate.edu [129.186.140.2]) by mailhub-4.iastate.edu (8.12.10/8.12.10) with SMTP id i8MFltxc024731 for <devel@lists.planetplanet.org>; Wed, 22 Sep 2004 10:47:56 -0500 Received: from tonyhill.cheme.iastate.edu(129.186.4.14) by mailout-2.iastate.edu via csmap id 96a95a88_0caf_11d9_8eff_003048290bef_5561; Wed, 22 Sep 2004 10:53:47 -0500 (CDT) Message-ID: <41519EAC.4070008@iastate.edu> Date: Wed, 22 Sep 2004 10:47:56 -0500 From: Tony Hill <tonyhill@iastate.edu> User-Agent: Mozilla Thunderbird 0.8 (Macintosh/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: devel@lists.planetplanet.org References: <20040922110002.7404757BA@amnesiac.heapspace.net> In-Reply-To: <20040922110002.7404757BA@amnesiac.heapspace.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Re: Re: Possible bug in (pre)-1.0 (Fr?d?ric Crozat) X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 22 Sep 2004 15:48:00 -0000 Status: O Content-Length: 389 Lines: 15 Actually, no I'm not using an NFS mount. It's a HFS+ volume, under OSX. For carification, flock worked correctly, while fnctl did not. Tony Hill tonyhill@iastate.edu fred@crozat.net wrote: >Probably because flock doesn't work on NFS mount point, unlike fcntl. I >guess you are using an NFS mount point with locking not correctly >configured. >-- >Frédéric Crozat - fred@crozat.net > From scott@netsplit.com Mon Sep 27 13:07:19 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 4F9EF5800 for <devel@amnesiac.heapspace.net>; Mon, 27 Sep 2004 13:07:19 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 67502-01-4 for <devel@amnesiac.heapspace.net>; Mon, 27 Sep 2004 13:07:19 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id ABA0C57F9 for <devel@lists.planetplanet.org>; Mon, 27 Sep 2004 13:07:18 +0100 (BST) Received: (qmail 28096 invoked from network); 27 Sep 2004 12:07:17 -0000 Received: from unknown (HELO ?62.49.129.40?) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 27 Sep 2004 12:07:17 -0000 From: Scott James Remnant <scott@netsplit.com> To: Hack the Planet! <devel@lists.planetplanet.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-rYHEGZmpP0dzgrU2nt56" Date: Mon, 27 Sep 2004 13:07:18 +0100 Message-Id: <1096286838.20863.25.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0 X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] memo-to-self X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 27 Sep 2004 12:07:19 -0000 Status: O Content-Length: 760 Lines: 28 --=-rYHEGZmpP0dzgrU2nt56 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Looks like there's a bug in the redirect code ... needs to write the new URL and cache_write() before linking the file, otherwise the new location actually still has the old "url" in it <g> Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-rYHEGZmpP0dzgrU2nt56 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBWAJ1IexP3IStZ2wRAlG2AKCqlzQvEnEayRMrNPKgjd2fdNgb3gCeJWPH wAQT2rCse3t5uIf44hIQdK8= =f7/o -----END PGP SIGNATURE----- --=-rYHEGZmpP0dzgrU2nt56-- From mjr@towers.org.uk Tue Sep 28 09:34:12 2004 Return-Path: <mjr@towers.org.uk> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6172C57C6 for <devel@amnesiac.heapspace.net>; Tue, 28 Sep 2004 09:34:12 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 84541-01 for <devel@amnesiac.heapspace.net>; Tue, 28 Sep 2004 09:34:12 +0100 (BST) Received: from shockwave.systems.pipex.net (shockwave.systems.pipex.net [62.241.160.9]) by amnesiac.heapspace.net (Postfix) with ESMTP id E198057C2 for <devel@lists.planetplanet.org>; Tue, 28 Sep 2004 09:34:09 +0100 (BST) Received: from me (81-86-163-141.dsl.pipex.com [81.86.163.141]) by shockwave.systems.pipex.net (Postfix) with SMTP id ADB471C00325 for <devel@lists.planetplanet.org>; Tue, 28 Sep 2004 09:34:09 +0100 (BST) Received: (nullmailer pid 697 invoked by uid 1000); Tue, 28 Sep 2004 08:37:52 -0000 Date: Tue, 28 Sep 2004 09:37:52 +0100 Message-ID: <7ec016dd8e6035b1959079d7895fe7e3@bouncing.localnet> MIME-Version: 1.0 (Generated by Pantomime 1.1.2) From: MJ Ray <mjr@dsl.pipex.com> To: devel@lists.planetplanet.org Organization: Very poor X-Mailer: GNUMail.app (Version 1.1.2) Content-Type: text/plain; charset="us-ascii"; format="flowed" X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] URLs and escaping X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 28 Sep 2004 08:34:12 -0000 Status: O Content-Length: 467 Lines: 11 I think planet may be double-escaping ampersands in link URLs, based on how my blog entry for Kyfieithu's KOffice translation appears on http://planet.debian.net/ - can someone confirm this, please? Other (non-planet) aggregators seem to do the right thing. Thanks in advance for any help, -- MJR/slef My Opinion Only and not of any group I know Creative copyleft computing - http://www.ttllp.co.uk/ LinuxExpo.org.uk village 6+7 Oct http://www.affs.org.uk From carles@pinux.info Tue Sep 28 15:14:05 2004 Return-Path: <carles@pinux.info> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 7429257EE for <devel@amnesiac.heapspace.net>; Tue, 28 Sep 2004 15:14:05 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 90411-04-2 for <devel@amnesiac.heapspace.net>; Tue, 28 Sep 2004 15:14:05 +0100 (BST) Received: from pinux.info (197.Red-80-32-81.pooles.rima-tde.net [80.32.81.197]) by amnesiac.heapspace.net (Postfix) with ESMTP id CF1AC57EB for <devel@lists.planetplanet.org>; Tue, 28 Sep 2004 15:14:04 +0100 (BST) Received: from pinux (unknown [80.102.196.207]) by pinux.info (Postfix) with ESMTP id A68741C3 for <devel@lists.planetplanet.org>; Tue, 28 Sep 2004 16:14:03 +0200 (CEST) Received: by pinux (Postfix, from userid 1000) id EB1EA99D23; Tue, 28 Sep 2004 16:13:59 +0200 (CEST) Date: Tue, 28 Sep 2004 16:13:59 +0200 From: Carles Pina i Estany <carles@pinux.info> To: devel@lists.planetplanet.org Message-ID: <20040928141359.GA3168@pinux.info> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040722i X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] problem with the last snapshot X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 28 Sep 2004 14:14:05 -0000 Status: O Content-Length: 539 Lines: 23 Hi, The last snapshot of the web, it seems to be not correct. I downloaded, bunzipped and then: carles@pinux:~/temp$ file planet-nightly.tar planet-nightly.tar: data carles@pinux:~/temp$ carles@pinux:~/temp$ ls -la planet-nightly.tar -rw-r--r-- 1 carles carles 10240 2004-09-28 16:07 planet-nightly.tar carles@pinux:~/temp$ it isn't a empty file but it isn't a tar file, so i cannot untar it. Thanks! -- Carles Pina i Estany GPG id: 0x8CBDAE64 http://pinux.info Hay 3 tipos de personas: los que saben contar y los que no. From elliot@openadvantage.org Tue Sep 28 17:08:10 2004 Return-Path: <elliot@openadvantage.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id AD88157D4 for <devel@amnesiac.heapspace.net>; Tue, 28 Sep 2004 17:08:10 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 92735-01-2 for <devel@amnesiac.heapspace.net>; Tue, 28 Sep 2004 17:08:10 +0100 (BST) Received: from slox.openadvantage.org (unknown [193.60.136.66]) by amnesiac.heapspace.net (Postfix) with ESMTP id 1C89A57C2 for <devel@lists.planetplanet.org>; Tue, 28 Sep 2004 17:08:08 +0100 (BST) Received: by slox.openadvantage.org (Postfix, from userid 65534) id E2EB025E8E; Tue, 28 Sep 2004 17:36:24 +0100 (BST) Received: from [10.0.0.178] (unknown [10.0.0.178]) by slox.openadvantage.org (Postfix) with ESMTP id C090525E52 for <devel@lists.planetplanet.org>; Tue, 28 Sep 2004 17:36:24 +0100 (BST) Message-ID: <41598C65.5070101@openadvantage.org> Date: Tue, 28 Sep 2004 17:08:05 +0100 From: Elliot Smith <elliot@openadvantage.org> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922 X-Accept-Language: en-us, en MIME-Version: 1.0 To: devel@lists.planetplanet.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Problems getting hold of Planet Planet via Arch X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 28 Sep 2004 16:08:11 -0000 Status: O Content-Length: 1808 Lines: 47 Hello there, I've been trying to get hold of the source code for Planet Planet using Arch, but am coming a bit unstuck. I wondered whether anyone might be able to help me out a bit. It's not a bug in Planet Planet, just a bug in my understanding of Arch (which is driving me insane). I'm using Fedora 2 as a non-root user, with an RPM of tla from rpmbone.net. "tla --version" returns this: lord@emf.net--2004/dists--devo--1.0--patch-12(configs/emf.net-tla/devo.tla-1.2.1) ./src lord@emf.net--2004/package-framework--devo--1.0--patch-5 ./src/docs-hackerlab lord@emf.net--2004/docs-hackerlab--devo--1.0--base-0 ./src/docs-tla lord@emf.net--2004/docs-tla--devo--1.0--patch-5 ./src/hackerlab lord@emf.net--2004/hackerlab--devo--1.0--patch-96 ./src/tla lord@emf.net--2004/tla--devo--1.3--patch-32 I've been using this sequence of commands to try to get hold of the source code for Planet Planet: tla my-id "Elliot Smith <elliot@openadvantage.org>" mkdir ~/arch tla register-archive scott@netsplit.com--2004-SOURCE http://arch.netsplit.com/scott@netsplit.com--2004 tla make-archive --mirror-from scott@netsplit.com--2004-SOURCE arch/2004--planetplanet tla archive-mirror scott@netsplit.com--2004 But the last command produces the following error message: * mirroring scott@netsplit.com--2004-SOURCE to scott@netsplit.com--2004 with limit (null) ** adding category dists ** adding branch Based Failed to create directory: /home/ell/arch/2004--planetplanet/Based/,,new-branch.1096386985.9625.11.elliot@openadvantage.org The directory permissions look OK, but for some reason the Based directory is not being created before the branch info. is being written to it. Any ideas? (I'd love to get hold of the tarball instead, but this is still broken.) Thanks in advance Elliot Smith From scott@netsplit.com Tue Sep 28 17:43:04 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id BB77C57EE for <devel@amnesiac.heapspace.net>; Tue, 28 Sep 2004 17:43:03 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 93307-02-22 for <devel@amnesiac.heapspace.net>; Tue, 28 Sep 2004 17:43:03 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id CBED057C2 for <devel@lists.planetplanet.org>; Tue, 28 Sep 2004 17:42:58 +0100 (BST) Received: (qmail 7399 invoked from network); 28 Sep 2004 16:42:51 -0000 Received: from unknown (HELO ?62.49.129.40?) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 28 Sep 2004 16:42:51 -0000 Subject: Re: [Devel] Problems getting hold of Planet Planet via Arch From: Scott James Remnant <scott@netsplit.com> To: Elliot Smith <elliot@openadvantage.org> In-Reply-To: <41598C65.5070101@openadvantage.org> References: <41598C65.5070101@openadvantage.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-lJbhQvB5bhrTQa12PG/2" Date: Tue, 28 Sep 2004 17:42:52 +0100 Message-Id: <1096389772.17379.6.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 28 Sep 2004 16:43:04 -0000 Status: O Content-Length: 1345 Lines: 50 --=-lJbhQvB5bhrTQa12PG/2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2004-09-28 at 17:08 +0100, Elliot Smith wrote: > tla register-archive scott@netsplit.com--2004-SOURCE=20 > http://arch.netsplit.com/scott@netsplit.com--2004 > tla make-archive --mirror-from scott@netsplit.com--2004-SOURCE=20 > arch/2004--planetplanet > tla archive-mirror scott@netsplit.com--2004 >=20 I immensely dislike people taking mirrors of my entire archive; there are a *lot* of megabytes of changeset there and it's hosted on the end of my DSL line. Thanks for noticing something didn't quite work though, you should now see: ** adding category DO_NOT_MIRROR_THIS_ARCHIVE before it fails. To checkout Planet, do the following: tla register-archive http://arch.netsplit.com/scott@netsplit.com--2004 tla get scott@netsplit.com--2004/planet--devel--1.0 Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-lJbhQvB5bhrTQa12PG/2 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBWZSLIexP3IStZ2wRArAdAJwJAYycsGywBjinIvG9KtewRp8udQCeOIcQ vEc2/6JkG6vDoKC0/kdzocs= =YNt4 -----END PGP SIGNATURE----- --=-lJbhQvB5bhrTQa12PG/2-- From sitapati@worldsankirtan.net Mon Oct 4 12:33:26 2004 Return-Path: <sitapati@worldsankirtan.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id E7A1C57D4 for <devel@amnesiac.heapspace.net>; Mon, 4 Oct 2004 12:33:25 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 92169-01-2 for <devel@amnesiac.heapspace.net>; Mon, 4 Oct 2004 12:33:25 +0100 (BST) Received: from sitapati.dyndns.org (CPE-147-10-92-113.qld.bigpond.net.au [147.10.92.113]) by amnesiac.heapspace.net (Postfix) with ESMTP id B701557C2 for <devel@lists.planetplanet.org>; Mon, 4 Oct 2004 12:33:23 +0100 (BST) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by sitapati.dyndns.org (8.13.1/8.13.1) with ESMTP id i94BXJKs006939 for <devel@lists.planetplanet.org>; Mon, 4 Oct 2004 21:33:20 +1000 Subject: Re: [Devel] Subscription to selected categories From: Sita-pati das <sitapati@worldsankirtan.net> To: devel@lists.planetplanet.org In-Reply-To: <1095209414.30101.25.camel@krishna.brisbane.redhat.com> References: <1095209414.30101.25.camel@krishna.brisbane.redhat.com> Content-Type: text/plain Date: Mon, 04 Oct 2004 21:33:19 +1000 Message-Id: <1096889599.3679.10.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 1.5.94.1 (1.5.94.1-1) Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 04 Oct 2004 11:33:26 -0000 Status: O Content-Length: 912 Lines: 25 > I don't know if this the right place to ask this question, so flame me > if I'm out of line... > > Here goes: Is there any way to subscribe to certain categories rather > than the whole RSS feed? I know that some sites can publish separate > feeds by category, but what about for sites that publish everything > together? Can Planet do the separation? Or if I wanted to make it do > that, any pointers? I think I am going to modify the NewsItem class to unhide categories so that Planet.items('category_x') is available to compare with channel.valid_categories, which I can pull from the config file. What I am going to do next is modify the go-go-gadget template in planet.py to make it possible to order / group the items by category rather than date. I like the object based design of Planet. Should I just go ahead and start modifying it or should I try to work in with ongoing development? Joshua From scott@netsplit.com Mon Oct 4 15:38:19 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6B97557E3 for <devel@amnesiac.heapspace.net>; Mon, 4 Oct 2004 15:38:19 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 94630-01-13 for <devel@amnesiac.heapspace.net>; Mon, 4 Oct 2004 15:38:19 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id AD29657D4 for <devel@lists.planetplanet.org>; Mon, 4 Oct 2004 15:38:18 +0100 (BST) Received: (qmail 23869 invoked from network); 4 Oct 2004 14:38:17 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 4 Oct 2004 14:38:17 -0000 Subject: Re: [Devel] Subscription to selected categories From: Scott James Remnant <scott@netsplit.com> To: Sita-pati das <sitapati@worldsankirtan.net> In-Reply-To: <1096889599.3679.10.camel@localhost.localdomain> References: <1095209414.30101.25.camel@krishna.brisbane.redhat.com> <1096889599.3679.10.camel@localhost.localdomain> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-F9QAvNJNUAV5OrGOCZuq" Date: Mon, 04 Oct 2004 15:38:22 +0100 Message-Id: <1096900702.25910.0.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 04 Oct 2004 14:38:19 -0000 Status: O Content-Length: 1005 Lines: 34 --=-F9QAvNJNUAV5OrGOCZuq Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-10-04 at 21:33 +1000, Sita-pati das wrote: > Should I just go ahead and start modifying it or should I try to work in > with ongoing development? >=20 Create your own arch branch and away you go :o) The great thing about arch is it allows anybody to jump in and start coding without getting specific commit rights. When you have things to show, you just announce your arch archive and people can merge as they see fit. Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-F9QAvNJNUAV5OrGOCZuq Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBYWBdIexP3IStZ2wRAtuyAKCVmO3V/Qetb2xGJXRedEb88+8pjwCeMPku 2yKfh8+ZRD1t5gyXWCCYh0E= =ubYF -----END PGP SIGNATURE----- --=-F9QAvNJNUAV5OrGOCZuq-- From Benjamin.C.Scent@williams.edu Mon Oct 11 06:45:11 2004 Return-Path: <Benjamin.C.Scent@williams.edu> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 83E1657FE for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 06:45:11 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04973-01-19 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 06:45:11 +0100 (BST) Received: from mail.williams.edu (mail.williams.edu [137.165.4.27]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0343457FD for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 06:45:10 +0100 (BST) Received: from CONVERSION-DAEMON.williams.edu by williams.edu (PMDF V6.2-X17 #30774) id <0I5E06F01NZ9C6@williams.edu> for devel@lists.planetplanet.org; Mon, 11 Oct 2004 01:45:09 -0400 (EDT) Received: from [137.165.215.49] (williams-215-49.williams.edu [137.165.215.49]) by williams.edu (PMDF V6.2-X17 #30774) with ESMTPSA id <0I5E03L5HNZ8Y6@williams.edu> for devel@lists.planetplanet.org; Mon, 11 Oct 2004 01:45:09 -0400 (EDT) Date: Mon, 11 Oct 2004 01:45:07 -0400 From: Ben Scent <Benjamin.C.Scent@williams.edu> To: devel@lists.planetplanet.org Message-id: <B4DD6A99-1B48-11D9-B40A-000D93C1B0CE@williams.edu> MIME-version: 1.0 (Apple Message framework v619) X-Mailer: Apple Mail (2.619) Content-type: text/plain; charset=US-ASCII; format=flowed Content-transfer-encoding: 7BIT X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] New features? X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 11 Oct 2004 05:45:11 -0000 Status: O Content-Length: 1235 Lines: 30 Hello all, I just installed PlanetPlanet today and it looks great! This is what I have been looking for for a long time. Drupal's aggregation, Radio aggregation, or the various hacks with movable type really don't compare to what you can already do with PlanetPlanet. I have a specific application in mind for my PlanetPlanet installation, so i wanted to mention a couple features I thought would be great for the future: * Ability to log in and select which feeds you use If different users are viewing the aggregator pages, you might want to have an option to deselect the feeds you don't like to ever read. I guess this would be way down the line, though... since different users would have different options, the blog entries would have to be cached and pages would be generated on-the-fly... * Groups Is there any way to group feeds together, and have different Planet pages generated for the different groups--or would I need to use two different installations for that? I would like to create an aggregator for blogs related to my college. I want one page to show entries by current undergraduates, one to show just alums' blogs, and one to show all the talk from both communities. Thanks for your help! Ben From jdub@waugh.id.au Mon Oct 11 06:59:32 2004 Return-Path: <jdub@waugh.id.au> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 3CB4557D1 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 06:59:32 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04919-02-21 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 06:59:31 +0100 (BST) Received: from smtp-2.syd.swiftdsl.com.au (adsl-224-138.swiftdsl.com.au [218.214.224.138]) by amnesiac.heapspace.net (Postfix) with SMTP id 9D97D57FB for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 06:59:29 +0100 (BST) Received: (qmail 21599 invoked from network); 11 Oct 2004 05:59:35 -0000 Received: from unknown (HELO home.waugh.id.au) (218.214.67.227) by smtp-2.syd.swiftdsl.com.au with SMTP; 11 Oct 2004 05:59:35 -0000 Received: from home.waugh.id.au (ubuntu.home [192.168.10.100]) by home.waugh.id.au (Postfix) with ESMTP id 2D21E15B527 for <devel@lists.planetplanet.org>; Thu, 18 Nov 2004 19:06:29 +1100 (EST) Received: by home.waugh.id.au (Postfix, from userid 1000) id C28831455B; Mon, 11 Oct 2004 15:59:41 +1000 (EST) Date: Mon, 11 Oct 2004 15:59:41 +1000 From: Jeff Waugh <jdub@perkypants.org> To: devel@lists.planetplanet.org Subject: Re: [Devel] New features? Message-ID: <20041011055941.GB24614@localhost.localdomain> Mail-Followup-To: devel@lists.planetplanet.org References: <B4DD6A99-1B48-11D9-B40A-000D93C1B0CE@williams.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <B4DD6A99-1B48-11D9-B40A-000D93C1B0CE@williams.edu> X-Message-Flag: Cranky? Try Free Software instead! X-Operating-System: Linux 2.6.8.1-3-686 i686 Reply-By: Thu Oct 14 15:58:24 EST 2004 X-Uptime: 15:58:24 up 4 days, 17:14, 4 users, load average: 1.48, 1.49, 1.30 User-Agent: Mutt/1.5.6+20040523i X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 11 Oct 2004 05:59:32 -0000 Status: O Content-Length: 925 Lines: 24 <quote who="Ben Scent"> > * Ability to log in and select which feeds you use Currently, Planet is just a cron job tool, not a dynamic web application. You could develop a sister product to do this, however. :-) > * Groups > Is there any way to group feeds together, and have different Planet > pages generated for the different groups--or would I need to use two > different installations for that? I would like to create an aggregator > for blogs related to my college. I want one page to show entries by > current undergraduates, one to show just alums' blogs, and one to show > all the talk from both communities. I just use the same installation, but two separate configuration files. - Jeff -- GNOME Boston Summit October 9-11, 2004 "Linux is not like Novell, it isn't going to run out of money - it started off bankrupt, in a way." - Steve Ballmer From mary@home.puzzling.org Mon Oct 11 08:50:32 2004 Return-Path: <mary@home.puzzling.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id E46E357FE for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 08:50:31 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06941-01-8 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 08:50:31 +0100 (BST) Received: from fuchsia.puzzling.org (fuchsia.puzzling.org [66.160.135.126]) by amnesiac.heapspace.net (Postfix) with ESMTP id 4979157FD for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 08:50:30 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by fuchsia.puzzling.org (Postfix) with ESMTP id 8FB20BC254 for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 07:50:27 +0000 (UTC) Received: from fuchsia.puzzling.org ([127.0.0.1]) by localhost (fuchsia.puzzling.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05510-01 for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 07:50:26 +0000 (UTC) Received: from sourdust.home.puzzling.org (244.Red-83-38-116.pooles.rima-tde.net [83.38.116.244]) by fuchsia.puzzling.org (Postfix) with ESMTP id 5D551BC251 for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 07:50:26 +0000 (UTC) Received: by sourdust.home.puzzling.org (Postfix, from userid 1000) id 325F735A834; Mon, 11 Oct 2004 09:50:23 +0200 (CEST) Date: Mon, 11 Oct 2004 09:50:23 +0200 From: Mary Gardiner <mary-planet@puzzling.org> To: devel@lists.planetplanet.org Subject: Re: [Devel] New features? Message-ID: <20041011075023.GA5276@fuchsia.puzzling.org> Mail-Followup-To: devel@lists.planetplanet.org References: <B4DD6A99-1B48-11D9-B40A-000D93C1B0CE@williams.edu> <20041011055941.GB24614@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041011055941.GB24614@localhost.localdomain> X-Nihilism: All I ask is our common due... Give us this day our daily cue. X-GPG-Key: 1024D/77625870 X-GPG-Fingerprint: B141 CD1A 4603 1CD7 6D64 EFBF D256 C568 7762 5870 User-Agent: Mutt/1.5.6+20040523i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at fuchsia.puzzling.org X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 11 Oct 2004 07:50:32 -0000 Status: O Content-Length: 909 Lines: 20 On Mon, Oct 11, 2004, Jeff Waugh wrote: > <quote who="Ben Scent"> > > * Ability to log in and select which feeds you use > > Currently, Planet is just a cron job tool, not a dynamic web application. > You could develop a sister product to do this, however. :-) Speaking of logging in in a way though would work with a cron job tool, it would be good to be able to log into feeds protected by HTTP Basic Auth. (I have some planets hidden behind HTTP Basic Auth myself, so I'm not intending to use this feature to republish people's private feeds in a Googlable way!) I'd add this features to my branch, but suddenly it has a 95% conflict with upstream that arch wants me to merge by hand. (The reason I have a branch is for three features: ability to detect if planet has changed since last update; ability to generate new pages only if this is so; and ability to ping technorati etc if this is so.) -Mary From jdub@waugh.id.au Mon Oct 11 08:54:48 2004 Return-Path: <jdub@waugh.id.au> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 5000B57D1 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 08:54:48 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06941-01-18 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 08:54:47 +0100 (BST) Received: from smtp-2.syd.swiftdsl.com.au (adsl-224-138.swiftdsl.com.au [218.214.224.138]) by amnesiac.heapspace.net (Postfix) with SMTP id B0BEF57FB for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 08:54:46 +0100 (BST) Received: (qmail 20239 invoked from network); 11 Oct 2004 07:54:55 -0000 Received: from unknown (HELO home.waugh.id.au) (218.214.67.227) by smtp-2.syd.swiftdsl.com.au with SMTP; 11 Oct 2004 07:54:55 -0000 Received: from home.waugh.id.au (ubuntu.home [192.168.10.100]) by home.waugh.id.au (Postfix) with ESMTP id 41EDB15B527 for <devel@lists.planetplanet.org>; Thu, 18 Nov 2004 21:01:47 +1100 (EST) Received: by home.waugh.id.au (Postfix, from userid 1000) id C8A4413F6E; Mon, 11 Oct 2004 17:54:39 +1000 (EST) Date: Mon, 11 Oct 2004 17:54:39 +1000 From: Jeff Waugh <jdub@perkypants.org> To: devel@lists.planetplanet.org Subject: Re: [Devel] New features? Message-ID: <20041011075439.GA6646@localhost.localdomain> Mail-Followup-To: devel@lists.planetplanet.org References: <B4DD6A99-1B48-11D9-B40A-000D93C1B0CE@williams.edu> <20041011055941.GB24614@localhost.localdomain> <20041011075023.GA5276@fuchsia.puzzling.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041011075023.GA5276@fuchsia.puzzling.org> X-Message-Flag: Cranky? Try Free Software instead! X-Operating-System: Linux 2.6.8.1-3-686 i686 Reply-By: Thu Oct 14 17:53:18 EST 2004 X-Uptime: 17:53:18 up 11 min, 4 users, load average: 0.55, 0.77, 0.46 User-Agent: Mutt/1.5.6+20040523i X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 11 Oct 2004 07:54:48 -0000 Status: O Content-Length: 1089 Lines: 26 <quote who="Mary Gardiner"> > Speaking of logging in in a way though would work with a cron job tool, > it would be good to be able to log into feeds protected by HTTP Basic > Auth. (I have some planets hidden behind HTTP Basic Auth myself, so I'm > not intending to use this feature to republish people's private feeds in > a Googlable way!) Oooh, that doesn't just work? Crapola.` > I'd add this features to my branch, but suddenly it has a 95% conflict > with upstream that arch wants me to merge by hand. (The reason I have a > branch is for three features: ability to detect if planet has changed > since last update; ability to generate new pages only if this is so; and > ability to ping technorati etc if this is so.) If you're attempting to merge against Scott's 1.0 version, that probably won't work, because it's 95% different again. ;-) I promise that if you refactor your changes, I'll merge them in superfast. :-) - Jeff -- linux.conf.au 2005: Canberra, Australia http://lca2005.linux.org.au/ "Spam is about consent, not content." - Craig Sanders From mary@home.puzzling.org Mon Oct 11 09:20:56 2004 Return-Path: <mary@home.puzzling.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id A1B5157FE for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 09:20:56 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07760-01-43 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 09:20:56 +0100 (BST) Received: from fuchsia.puzzling.org (fuchsia.puzzling.org [66.160.135.126]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0BBFA57FD for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 09:20:56 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by fuchsia.puzzling.org (Postfix) with ESMTP id CAC08BC254 for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 08:20:53 +0000 (UTC) Received: from fuchsia.puzzling.org ([127.0.0.1]) by localhost (fuchsia.puzzling.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05510-09 for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 08:20:53 +0000 (UTC) Received: from sourdust.home.puzzling.org (244.Red-83-38-116.pooles.rima-tde.net [83.38.116.244]) by fuchsia.puzzling.org (Postfix) with ESMTP id 27CA3BC251 for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 08:20:53 +0000 (UTC) Received: by sourdust.home.puzzling.org (Postfix, from userid 1000) id 85AC735A834; Mon, 11 Oct 2004 10:20:49 +0200 (CEST) Date: Mon, 11 Oct 2004 10:20:49 +0200 From: Mary Gardiner <mary@puzzling.org> To: devel@lists.planetplanet.org Subject: Re: [Devel] New features? Message-ID: <20041011082049.GB5276@fuchsia.puzzling.org> Mail-Followup-To: devel@lists.planetplanet.org References: <B4DD6A99-1B48-11D9-B40A-000D93C1B0CE@williams.edu> <20041011055941.GB24614@localhost.localdomain> <20041011075023.GA5276@fuchsia.puzzling.org> <20041011075439.GA6646@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041011075439.GA6646@localhost.localdomain> X-Nihilism: All I ask is our common due... Give us this day our daily cue. X-GPG-Key: 1024D/77625870 X-GPG-Fingerprint: B141 CD1A 4603 1CD7 6D64 EFBF D256 C568 7762 5870 User-Agent: Mutt/1.5.6+20040523i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at fuchsia.puzzling.org X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 11 Oct 2004 08:20:57 -0000 Status: O Content-Length: 715 Lines: 20 On Mon, Oct 11, 2004, Jeff Waugh wrote: > <quote who="Mary Gardiner"> > > > Speaking of logging in in a way though would work with a cron job tool, > > it would be good to be able to log into feeds protected by HTTP Basic > > Auth. (I have some planets hidden behind HTTP Basic Auth myself, so I'm > > not intending to use this feature to republish people's private feeds in > > a Googlable way!) > > Oooh, that doesn't just work? Crapola.` I'll test it again for you. > If you're attempting to merge against Scott's 1.0 version, that probably > won't work, because it's 95% different again. ;-) I promise that if you > refactor your changes, I'll merge them in superfast. :-) Against Scott's or yours? -Mary From mary@home.puzzling.org Mon Oct 11 09:49:09 2004 Return-Path: <mary@home.puzzling.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id D225257BA for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 09:49:08 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07760-01-93 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 09:49:08 +0100 (BST) Received: from fuchsia.puzzling.org (fuchsia.puzzling.org [66.160.135.126]) by amnesiac.heapspace.net (Postfix) with ESMTP id 49B2E5800 for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 09:49:08 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by fuchsia.puzzling.org (Postfix) with ESMTP id 5BE29BC254 for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 08:49:06 +0000 (UTC) Received: from fuchsia.puzzling.org ([127.0.0.1]) by localhost (fuchsia.puzzling.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05728-07 for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 08:49:06 +0000 (UTC) Received: from sourdust.home.puzzling.org (244.Red-83-38-116.pooles.rima-tde.net [83.38.116.244]) by fuchsia.puzzling.org (Postfix) with ESMTP id 9A54EBC251 for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 08:49:05 +0000 (UTC) Received: by sourdust.home.puzzling.org (Postfix, from userid 1000) id 43E7335A834; Mon, 11 Oct 2004 10:49:02 +0200 (CEST) Date: Mon, 11 Oct 2004 10:49:02 +0200 From: Mary Gardiner <mary@puzzling.org> To: devel@lists.planetplanet.org Subject: Re: [Devel] New features? Message-ID: <20041011084902.GC5276@fuchsia.puzzling.org> Mail-Followup-To: devel@lists.planetplanet.org References: <B4DD6A99-1B48-11D9-B40A-000D93C1B0CE@williams.edu> <20041011055941.GB24614@localhost.localdomain> <20041011075023.GA5276@fuchsia.puzzling.org> <20041011075439.GA6646@localhost.localdomain> <20041011082049.GB5276@fuchsia.puzzling.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041011082049.GB5276@fuchsia.puzzling.org> X-Nihilism: All I ask is our common due... Give us this day our daily cue. X-GPG-Key: 1024D/77625870 X-GPG-Fingerprint: B141 CD1A 4603 1CD7 6D64 EFBF D256 C568 7762 5870 User-Agent: Mutt/1.5.6+20040523i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at fuchsia.puzzling.org X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 11 Oct 2004 08:49:09 -0000 Status: O Content-Length: 486 Lines: 17 On Mon, Oct 11, 2004, Mary Gardiner wrote: > On Mon, Oct 11, 2004, Jeff Waugh wrote: > > Oooh, that doesn't just work? Crapola.` > > I'll test it again for you. Seems not to. There are no ERROR level results from using the http://username:password@site/ style URLs, but there also aren't relevant feed items showing up in the result. At INFO level I get this: INFO:root:Empty feed, cowardly not updating http://username:password@site/ My last merge was a while back though. -Mary From jdub@waugh.id.au Mon Oct 11 09:51:21 2004 Return-Path: <jdub@waugh.id.au> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id DC0215800 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 09:51:20 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09184-01 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 09:51:20 +0100 (BST) Received: from smtp-2.syd.swiftdsl.com.au (adsl-224-138.swiftdsl.com.au [218.214.224.138]) by amnesiac.heapspace.net (Postfix) with SMTP id E35D957D1 for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 09:51:16 +0100 (BST) Received: (qmail 31924 invoked from network); 11 Oct 2004 08:51:26 -0000 Received: from unknown (HELO home.waugh.id.au) (218.214.67.227) by smtp-2.syd.swiftdsl.com.au with SMTP; 11 Oct 2004 08:51:26 -0000 Received: from home.waugh.id.au (ubuntu.home [192.168.10.100]) by home.waugh.id.au (Postfix) with ESMTP id C1F6315B527 for <devel@lists.planetplanet.org>; Thu, 18 Nov 2004 21:58:16 +1100 (EST) Received: by home.waugh.id.au (Postfix, from userid 1000) id F26E313F6E; Mon, 11 Oct 2004 18:51:09 +1000 (EST) Date: Mon, 11 Oct 2004 18:51:09 +1000 From: Jeff Waugh <jdub@perkypants.org> To: devel@lists.planetplanet.org Subject: Re: [Devel] New features? Message-ID: <20041011085109.GB6646@localhost.localdomain> Mail-Followup-To: devel@lists.planetplanet.org References: <B4DD6A99-1B48-11D9-B40A-000D93C1B0CE@williams.edu> <20041011055941.GB24614@localhost.localdomain> <20041011075023.GA5276@fuchsia.puzzling.org> <20041011075439.GA6646@localhost.localdomain> <20041011082049.GB5276@fuchsia.puzzling.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041011082049.GB5276@fuchsia.puzzling.org> X-Message-Flag: Cranky? Try Free Software instead! X-Operating-System: Linux 2.6.8.1-3-686 i686 Reply-By: Thu Oct 14 18:50:36 EST 2004 X-Uptime: 18:50:36 up 1:08, 4 users, load average: 0.14, 0.19, 0.18 User-Agent: Mutt/1.5.6+20040523i X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 11 Oct 2004 08:51:21 -0000 Status: O Content-Length: 745 Lines: 20 <quote who="Mary Gardiner"> > > If you're attempting to merge against Scott's 1.0 version, that probably > > won't work, because it's 95% different again. ;-) I promise that if you > > refactor your changes, I'll merge them in superfast. :-) > > Against Scott's or yours? Scott's - it'll give me inspiration to shift to his version and integrate my changes too. :-) - Jeff -- linux.conf.au 2005: Canberra, Australia http://lca2005.linux.org.au/ "I think it will be admitted by all that to have exploited so great a scientific invention for the purpose and pursuit of entertainment alone would have been a prostitution of its powers and an insult to the character and intelligence of the people." - John Reith From dsegan@gmx.net Mon Oct 11 10:02:46 2004 Return-Path: <dsegan@gmx.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 2BC3C57D1 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 10:02:46 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07761-01-82 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 10:02:45 +0100 (BST) Received: from avet.kvota.net (unknown [147.91.15.50]) by amnesiac.heapspace.net (Postfix) with SMTP id E8A4657BA for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 10:02:44 +0100 (BST) Received: (qmail 4467 invoked by uid 1001); 11 Oct 2004 08:58:45 -0000 To: Ben Scent <Benjamin.C.Scent@williams.edu> Subject: Re: [Devel] New features? References: <B4DD6A99-1B48-11D9-B40A-000D93C1B0CE@williams.edu> From: Danilo Segan <dsegan@gmx.net> Date: Mon, 11 Oct 2004 10:58:45 +0200 In-Reply-To: <B4DD6A99-1B48-11D9-B40A-000D93C1B0CE@williams.edu> (Ben Scent's message of "Mon, 11 Oct 2004 01:45:07 -0400") Message-ID: <86fz4locl6.fsf@avet.kvota.net> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 11 Oct 2004 09:02:46 -0000 Status: O Content-Length: 766 Lines: 20 Today at 7:45, Ben Scent wrote: > * Groups > Is there any way to group feeds together, and have different Planet > pages generated for the different groups--or would I need to use two > different installations for that? I would like to create an aggregator > for blogs related to my college. I want one page to show entries by > current undergraduates, one to show just alums' blogs, and one to show > all the talk from both communities. Create several configuration files. One, which contains only undergraduate blogs, other with alums', and third which lists two PlanetPlanet outputs produced by above (eg. [http://here/ug/rss20.xml] and [http://here/alum/rss20.xml] as only entries). So, you won't have to maintain several lists of bloggers. Cheers, Danilo From mary@home.puzzling.org Mon Oct 11 10:15:16 2004 Return-Path: <mary@home.puzzling.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 88FE057F9 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 10:15:16 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09184-01-47 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 10:15:16 +0100 (BST) Received: from fuchsia.puzzling.org (fuchsia.puzzling.org [66.160.135.126]) by amnesiac.heapspace.net (Postfix) with ESMTP id E72F857BA for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 10:15:15 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by fuchsia.puzzling.org (Postfix) with ESMTP id C53EBBC254 for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 09:15:13 +0000 (UTC) Received: from fuchsia.puzzling.org ([127.0.0.1]) by localhost (fuchsia.puzzling.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06001-02 for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 09:15:12 +0000 (UTC) Received: from sourdust.home.puzzling.org (244.Red-83-38-116.pooles.rima-tde.net [83.38.116.244]) by fuchsia.puzzling.org (Postfix) with ESMTP id 7523ABC251 for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 09:15:12 +0000 (UTC) Received: by sourdust.home.puzzling.org (Postfix, from userid 1000) id 0BB4435A834; Mon, 11 Oct 2004 11:15:09 +0200 (CEST) Date: Mon, 11 Oct 2004 11:15:08 +0200 From: Mary Gardiner <mary@puzzling.org> To: devel@lists.planetplanet.org Subject: Re: [Devel] New features? Message-ID: <20041011091508.GD5276@fuchsia.puzzling.org> Mail-Followup-To: devel@lists.planetplanet.org References: <B4DD6A99-1B48-11D9-B40A-000D93C1B0CE@williams.edu> <20041011055941.GB24614@localhost.localdomain> <20041011075023.GA5276@fuchsia.puzzling.org> <20041011075439.GA6646@localhost.localdomain> <20041011082049.GB5276@fuchsia.puzzling.org> <20041011085109.GB6646@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041011085109.GB6646@localhost.localdomain> X-Nihilism: All I ask is our common due... Give us this day our daily cue. X-GPG-Key: 1024D/77625870 X-GPG-Fingerprint: B141 CD1A 4603 1CD7 6D64 EFBF D256 C568 7762 5870 User-Agent: Mutt/1.5.6+20040523i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at fuchsia.puzzling.org X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 11 Oct 2004 09:15:16 -0000 Status: O Content-Length: 231 Lines: 8 On Mon, Oct 11, 2004, Jeff Waugh wrote: > Scott's - it'll give me inspiration to shift to his version and integrate my > changes too. :-) OK, so basically I just move outside Arch for this until the changes are refactored? -Mary From jdub@waugh.id.au Mon Oct 11 10:27:11 2004 Return-Path: <jdub@waugh.id.au> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 721CF57BA for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 10:27:11 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09184-01-73 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 10:27:11 +0100 (BST) Received: from smtp-2.syd.swiftdsl.com.au (adsl-224-138.swiftdsl.com.au [218.214.224.138]) by amnesiac.heapspace.net (Postfix) with SMTP id DF67857D1 for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 10:27:09 +0100 (BST) Received: (qmail 8078 invoked from network); 11 Oct 2004 09:27:20 -0000 Received: from unknown (HELO home.waugh.id.au) (218.214.67.227) by smtp-2.syd.swiftdsl.com.au with SMTP; 11 Oct 2004 09:27:20 -0000 Received: from home.waugh.id.au (ubuntu.home [192.168.10.100]) by home.waugh.id.au (Postfix) with ESMTP id 9CB4815B527 for <devel@lists.planetplanet.org>; Thu, 18 Nov 2004 22:34:10 +1100 (EST) Received: by home.waugh.id.au (Postfix, from userid 1000) id 3CC7B13F6E; Mon, 11 Oct 2004 19:27:02 +1000 (EST) Date: Mon, 11 Oct 2004 19:27:02 +1000 From: Jeff Waugh <jdub@perkypants.org> To: devel@lists.planetplanet.org Subject: Re: [Devel] New features? Message-ID: <20041011092702.GC6646@localhost.localdomain> Mail-Followup-To: devel@lists.planetplanet.org References: <B4DD6A99-1B48-11D9-B40A-000D93C1B0CE@williams.edu> <20041011055941.GB24614@localhost.localdomain> <20041011075023.GA5276@fuchsia.puzzling.org> <20041011075439.GA6646@localhost.localdomain> <20041011082049.GB5276@fuchsia.puzzling.org> <20041011085109.GB6646@localhost.localdomain> <20041011091508.GD5276@fuchsia.puzzling.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041011091508.GD5276@fuchsia.puzzling.org> X-Message-Flag: Cranky? Try Free Software instead! X-Operating-System: Linux 2.6.8.1-3-686 i686 Reply-By: Thu Oct 14 19:26:43 EST 2004 X-Uptime: 19:26:44 up 1:44, 4 users, load average: 0.12, 0.29, 0.29 User-Agent: Mutt/1.5.6+20040523i X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 11 Oct 2004 09:27:11 -0000 Status: O Content-Length: 560 Lines: 19 <quote who="Mary Gardiner"> > On Mon, Oct 11, 2004, Jeff Waugh wrote: > > Scott's - it'll give me inspiration to shift to his version and > > integrate my changes too. :-) > > OK, so basically I just move outside Arch for this until the changes are > refactored? Nah, just pull Scott's branch, and integrate into it. - Jeff -- linux.conf.au 2005: Canberra, Australia http://lca2005.linux.org.au/ <boc> man i rule <bram> boc: how do you rule? <boc> with authority From mparaz@gmail.com Mon Oct 11 18:02:09 2004 Return-Path: <mparaz@gmail.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 33CD557D1 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 18:02:09 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 77031-01-22 for <devel@amnesiac.heapspace.net>; Mon, 11 Oct 2004 18:02:08 +0100 (BST) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.200]) by amnesiac.heapspace.net (Postfix) with ESMTP id A355157BA for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 18:02:08 +0100 (BST) Received: by mproxy.gmail.com with SMTP id 73so177726rnk for <devel@lists.planetplanet.org>; Mon, 11 Oct 2004 10:01:38 -0700 (PDT) Received: by 10.38.24.78 with SMTP id 78mr1388996rnx; Mon, 11 Oct 2004 10:01:38 -0700 (PDT) Received: by 10.38.59.61 with HTTP; Mon, 11 Oct 2004 10:01:38 -0700 (PDT) Message-ID: <beffc5fe04101110017c2eefd5@mail.gmail.com> Date: Tue, 12 Oct 2004 01:01:38 +0800 From: Miguel A Paraz <mparaz@gmail.com> To: devel@lists.planetplanet.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Trimming feed content X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: Miguel A Paraz <mparaz@gmail.com> List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 11 Oct 2004 17:02:09 -0000 Status: O Content-Length: 136 Lines: 3 Hi, Some blogs put the entire post in <description /> complete with HTML. What's a good way to trim this down and show a short excerpt? From simos74@gmx.net Wed Oct 13 19:34:31 2004 Return-Path: <simos74@gmx.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id BFBBA57FB for <devel@amnesiac.heapspace.net>; Wed, 13 Oct 2004 19:34:30 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13920-01-2 for <devel@amnesiac.heapspace.net>; Wed, 13 Oct 2004 19:34:30 +0100 (BST) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id 391F757EE for <devel@lists.planetplanet.org>; Wed, 13 Oct 2004 19:34:29 +0100 (BST) Received: (qmail 27156 invoked by uid 65534); 13 Oct 2004 18:34:29 -0000 Received: from unknown (EHLO [134.219.20.135]) (134.219.20.135) by mail.gmx.net (mp021) with SMTP; 13 Oct 2004 20:34:29 +0200 X-Authenticated: #10070094 Subject: Re: [Devel] Trimming feed content From: Simos Xenitellis <simos74@gmx.net> To: Miguel A Paraz <mparaz@gmail.com> In-Reply-To: <beffc5fe04101110017c2eefd5@mail.gmail.com> References: <beffc5fe04101110017c2eefd5@mail.gmail.com> Content-Type: text/plain Message-Id: <1097692536.3492.29.camel@kl> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Wed, 13 Oct 2004 19:35:37 +0100 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Planet Planet Dev List <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 13 Oct 2004 18:34:31 -0000 Status: O Content-Length: 435 Lines: 12 On Mon, 2004-10-11 at 18:01, Miguel A Paraz wrote: > Hi, > Some blogs put the entire post in <description /> complete with HTML. > What's a good way to trim this down and show a short excerpt? Regarding Unicode and UTF-8, special care should be given not to cut in half a Unicode character. For example, "show first 200 bytes" is not good. That would create a feed that is not proper Unicode and a mess in the resulting page. Simos From dsegan@gmx.net Thu Oct 14 00:33:38 2004 Return-Path: <dsegan@gmx.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id CFC5D57D0 for <devel@amnesiac.heapspace.net>; Thu, 14 Oct 2004 00:33:37 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18284-04 for <devel@amnesiac.heapspace.net>; Thu, 14 Oct 2004 00:33:37 +0100 (BST) Received: from avet.kvota.net (unknown [147.91.15.50]) by amnesiac.heapspace.net (Postfix) with SMTP id 5825457BA for <devel@lists.planetplanet.org>; Thu, 14 Oct 2004 00:33:36 +0100 (BST) Received: (qmail 28426 invoked by uid 1001); 13 Oct 2004 23:33:46 -0000 To: Simos Xenitellis <simos74@gmx.net> Subject: Re: [Devel] Trimming feed content References: <beffc5fe04101110017c2eefd5@mail.gmail.com> <1097692536.3492.29.camel@kl> From: Danilo Segan <dsegan@gmx.net> Date: Thu, 14 Oct 2004 01:33:46 +0200 In-Reply-To: <1097692536.3492.29.camel@kl> (Simos Xenitellis's message of "Wed, 13 Oct 2004 19:35:37 +0100") Message-ID: <86pt3mjiqt.fsf@avet.kvota.net> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Miguel A Paraz <mparaz@gmail.com>, Planet Planet Dev List <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 13 Oct 2004 23:33:38 -0000 Status: O Content-Length: 801 Lines: 19 Yesterday at 20:35, Simos Xenitellis wrote: > Regarding Unicode and UTF-8, special care should be given not to cut in > half a Unicode character. For example, "show first 200 bytes" is not > good. That would create a feed that is not proper Unicode and a mess in > the resulting page. With Python, that should be a non-issue (it's more difficult to get raw byte string into Python, than correctly encoded UTF-8 as Unicode string :). Ok, Python holds it as UTF-16 (or was it UCS-2?), but it still is not an issue (proper .encode(...) and .decode(...) must already be there). On the topic, Miguel, you might want to look at feedparser.py (so you would cache trimmed version as well), or inside planet/__init__.py (where all non-special fields are set, in NewsItem.update() I think). Cheers, Danilo From rob.annable@gmail.com Mon Oct 25 08:09:29 2004 Return-Path: <rob.annable@gmail.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 829225878 for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 08:09:29 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 33867-03-6 for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 08:09:29 +0100 (BST) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.207]) by amnesiac.heapspace.net (Postfix) with ESMTP id ED11C57EE for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 08:09:28 +0100 (BST) Received: by rproxy.gmail.com with SMTP id 80so176969rnl for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 00:09:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=Xn5opOBCV1Nrvyl+gzKQraZMqZYMh6wy6ma+P6tTzEwQ2KiJYIlGTOCEUtBtYAAnqRT1yGzZrbvH2JmLm46uz53tsePCzF80uDhOv7vVM+CiWMXCQjV3LLEJMLUkO72MtvKy8FxRh8ET8ObcSgkGdvICT2OxNVkLB4D5Ge2buk0= Received: by 10.38.98.30 with SMTP id v30mr1554315rnb; Mon, 25 Oct 2004 00:09:28 -0700 (PDT) Received: by 10.38.8.10 with HTTP; Mon, 25 Oct 2004 00:09:28 -0700 (PDT) Message-ID: <cba04b0304102500092299a657@mail.gmail.com> Date: Mon, 25 Oct 2004 08:09:28 +0100 From: Rob Annable <rob.annable@gmail.com> To: devel@lists.planetplanet.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] help needed X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: Rob Annable <rob.annable@gmail.com> List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 25 Oct 2004 07:09:29 -0000 Status: O Content-Length: 322 Lines: 12 Hi, Apologies for posting this to the development mailing list but I was wondering if someone could point me to a good forum or list for help with planetplanet. I'm getting an error message to do with the timestamp that I can't understand and could do with some advice. Thanks, Rob Annable -- http://rob.annable.co.uk From jdub@waugh.id.au Mon Oct 25 08:13:06 2004 Return-Path: <jdub@waugh.id.au> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 2C3A7585D for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 08:13:06 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 33867-03-16 for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 08:13:05 +0100 (BST) Received: from smtp.syd.swiftdsl.com.au (smtp.syd.swiftdsl.com.au [218.214.224.138]) by amnesiac.heapspace.net (Postfix) with SMTP id 9566457EE for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 08:13:03 +0100 (BST) Received: (qmail 15681 invoked from network); 25 Oct 2004 07:13:11 -0000 Received: from unknown (HELO home.waugh.id.au) (218.214.67.227) by smtp-2.syd.swiftdsl.com.au with SMTP; 25 Oct 2004 07:13:11 -0000 Received: from home.waugh.id.au (ubuntu.home [192.168.10.100]) by home.waugh.id.au (Postfix) with ESMTP id 8747715B57E; Thu, 2 Dec 2004 20:20:03 +1100 (EST) Received: by home.waugh.id.au (Postfix, from userid 1000) id E05F41440E; Mon, 25 Oct 2004 17:12:50 +1000 (EST) Date: Mon, 25 Oct 2004 17:12:50 +1000 From: Jeff Waugh <jdub@perkypants.org> To: Rob Annable <rob.annable@gmail.com> Subject: Re: [Devel] help needed Message-ID: <20041025071250.GN5217@localhost.localdomain> Mail-Followup-To: Rob Annable <rob.annable@gmail.com>, devel@lists.planetplanet.org References: <cba04b0304102500092299a657@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <cba04b0304102500092299a657@mail.gmail.com> Reply-By: Thu Oct 28 17:12:25 EST 2004 X-Operating-System: Linux 2.6.8.1-3-686 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 17:12:25 up 4 days, 7:45, 4 users, load average: 0.90, 0.58, 0.43 User-Agent: Mutt/1.5.6+20040523i X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 25 Oct 2004 07:13:06 -0000 Status: O Content-Length: 609 Lines: 17 <quote who="Rob Annable"> > Apologies for posting this to the development mailing list but I was > wondering if someone could point me to a good forum or list for help with > planetplanet. I'm getting an error message to do with the timestamp that I > can't understand and could do with some advice. Although the list is called 'devel', it's also a user help list, so here is good. :-) - Jeff -- linux.conf.au 2005: Canberra, Australia http://lca2005.linux.org.au/ "The ability to procrastinate is what separates us from the machines." - Chris Gregory, Desktop Magazine From rob.annable@gmail.com Mon Oct 25 08:39:11 2004 Return-Path: <rob.annable@gmail.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id D74DC57FB for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 08:39:10 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 35093-02-8 for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 08:39:10 +0100 (BST) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.200]) by amnesiac.heapspace.net (Postfix) with ESMTP id C3A0357D1 for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 08:39:09 +0100 (BST) Received: by rproxy.gmail.com with SMTP id v30so86566rnb for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 00:39:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=EZjSBbkULbiLBXRAV806mCkHJZbsFd5Iasq6ItM5ftcElXpMYj2I0rDSsW2QjTaCiPIdnHnBdKbgNEODQLlnlCPrbAdTBhEEr97uSQ8FzyGv/61NxYkAkU6VbQz5OXfcyKbDJo8loNkEUOOZHWavii9Xme0tWpE2GR7HGeSBEx4= Received: by 10.38.179.77 with SMTP id b77mr1542560rnf; Mon, 25 Oct 2004 00:39:08 -0700 (PDT) Received: by 10.38.8.10 with HTTP; Mon, 25 Oct 2004 00:39:08 -0700 (PDT) Message-ID: <cba04b0304102500394d0419cf@mail.gmail.com> Date: Mon, 25 Oct 2004 08:39:08 +0100 From: Rob Annable <rob.annable@gmail.com> To: Rob Annable <rob.annable@gmail.com>, devel@lists.planetplanet.org Subject: Re: [Devel] help needed In-Reply-To: <20041025071250.GN5217@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <cba04b0304102500092299a657@mail.gmail.com> <20041025071250.GN5217@localhost.localdomain> X-Virus-Scanned: by amavisd-new at heapspace.net Cc: X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: Rob Annable <rob.annable@gmail.com> List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 25 Oct 2004 07:39:11 -0000 Status: O Content-Length: 9465 Lines: 213 On Mon, 25 Oct 2004 17:12:50 +1000, Jeff Waugh <jdub@perkypants.org> wrote: > <quote who="Rob Annable"> > > > Apologies for posting this to the development mailing list but I was > > wondering if someone could point me to a good forum or list for help with > > planetplanet. I'm getting an error message to do with the timestamp that I > > can't understand and could do with some advice. > > Although the list is called 'devel', it's also a user help list, so here is > good. :-) > > - Jeff Great, then here's my problem. My cron daemon spits this back at me every time it runs, the output gets rendered but the html page doesn't list the entries in the correct order. It seems to be trying to write some timestamp info somewhere but failing. Here's the error message, I currently have two rss feeds plugged into it. INFO:root:Subscribing <http://rob.annable.co.uk/journal.cgi/index.rss10> INFO:root:Updating feed <http://rob.annable.co.uk/journal.cgi/index.rss10> DEBUG:root:Encoding: ISO-8859-1 DEBUG:root:URI: <http://rob.annable.co.uk/journal.cgi/index.rss10> WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Time cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 439, in _cached_time c = open(time_cache_uri, "a") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10,times' WARNING:root:Cache write failed <cache/rob.annable.co.uk.journal.cgi.index.rss10> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 254, in cache_write c = open(cache_uri, "w") IOError: [Errno 2] No such file or directory: 'cache/rob.annable.co.uk.journal.cgi.index.rss10' INFO:root:Subscribing <http://moblog.co.uk/rss.php?id=75> INFO:root:Updating feed <http://moblog.co.uk/rss.php?id=75> DEBUG:root:Encoding: UTF-8 DEBUG:root:URI: <http://moblog.co.uk/rss.php?id=75> WARNING:root:Cache write failed <cache/moblog.co.uk.rss.php.id.75> Traceback (most recent call last): File "/home/rytdsjzi/public_html/rob/planet/planetlib.py", line 254, in cache_write c = open(cache_uri, "w") IOError: [Errno 2] No such file or directory: 'cache/moblog.co.uk.rss.php.id.75' INFO:root:Processing index.html.tmpl INFO:root:Writing /home/rytdsjzi/public_html/rob/planet/output/index.html INFO:root:Processing rss20.xml.tmpl INFO:root:Writing /home/rytdsjzi/public_html/rob/planet/output/rss20.xml INFO:root:Processing rss10.xml.tmpl INFO:root:Writing /home/rytdsjzi/public_html/rob/planet/output/rss10.xml INFO:root:Processing opml.xml.tmpl INFO:root:Writing /home/rytdsjzi/public_html/rob/planet/output/opml.xml INFO:root:Processing foafroll.xml.tmpl INFO:root:Writing /home/rytdsjzi/public_html/rob/planet/output/foafroll.xml From mary@home.puzzling.org Mon Oct 25 09:24:06 2004 Return-Path: <mary@home.puzzling.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 031D35858 for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 09:24:06 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 35691-02-18 for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 09:24:05 +0100 (BST) Received: from test.puzzling.org (test.puzzling.org [70.85.16.132]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6C8445869 for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 09:24:05 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by test.puzzling.org (Postfix) with ESMTP id AA0698ED0F for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 04:24:03 -0400 (EDT) Received: from test.puzzling.org ([127.0.0.1]) by localhost (test.puzzling.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17394-10 for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 04:24:02 -0400 (EDT) Received: from sourdust.home.puzzling.org (131.72.212.194.contactel.net [194.212.72.131]) by test.puzzling.org (Postfix) with ESMTP id 39A978ED0E for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 04:24:02 -0400 (EDT) Received: by sourdust.home.puzzling.org (Postfix, from userid 1000) id B707335A690; Mon, 25 Oct 2004 10:23:59 +0200 (CEST) Date: Mon, 25 Oct 2004 10:23:59 +0200 From: Mary Gardiner <mary-planet@puzzling.org> To: devel@lists.planetplanet.org Subject: Re: [Devel] help needed Message-ID: <20041025082359.GB4650@fuchsia.puzzling.org> Mail-Followup-To: devel@lists.planetplanet.org References: <cba04b0304102500092299a657@mail.gmail.com> <20041025071250.GN5217@localhost.localdomain> <cba04b0304102500394d0419cf@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <cba04b0304102500394d0419cf@mail.gmail.com> X-Nihilism: All I ask is our common due... Give us this day our daily cue. X-GPG-Key: 1024D/77625870 X-GPG-Fingerprint: B141 CD1A 4603 1CD7 6D64 EFBF D256 C568 7762 5870 User-Agent: Mutt/1.5.6+20040523i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at fuchsia.puzzling.org X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 25 Oct 2004 08:24:06 -0000 Status: O Content-Length: 538 Lines: 12 On Mon, Oct 25, 2004, Rob Annable wrote: > Great, then here's my problem. My cron daemon spits this back at me > every time it runs, the output gets rendered but the html page doesn't > list the entries in the correct order. It seems to be trying to write > some timestamp info somewhere but failing. Here's the error message, I > currently have two rss feeds plugged into it. My guess is that you need the _directory_ it's trying to write to ("cache") to: already exist; and be writable by whatever user is running the cron job. -Mary From rob.annable@gmail.com Mon Oct 25 09:28:28 2004 Return-Path: <rob.annable@gmail.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 2A69957EE for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 09:28:28 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 35691-02-28 for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 09:28:27 +0100 (BST) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.205]) by amnesiac.heapspace.net (Postfix) with ESMTP id 8341557E3 for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 09:28:27 +0100 (BST) Received: by rproxy.gmail.com with SMTP id 80so178549rnl for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 01:28:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=a1LH/nbZPhV8D0+9vxg68XXZjf6yaj02H7jmTcf2w1e3XsPOfSP/nql3hZ8uMLm269KQ8f0M7YmnYm4XBAgtZ8lnVCO4WjIjQnNTJr+JohcOc72hSdbJECtuebRTKxS1SsdnIHqvLDr3nSPVyKwXNXr20iyyyiD8Wdq7vjJ0T6c= Received: by 10.38.179.77 with SMTP id b77mr1553584rnf; Mon, 25 Oct 2004 01:28:26 -0700 (PDT) Received: by 10.38.8.10 with HTTP; Mon, 25 Oct 2004 01:28:26 -0700 (PDT) Message-ID: <cba04b03041025012861621f2c@mail.gmail.com> Date: Mon, 25 Oct 2004 09:28:26 +0100 From: Rob Annable <rob.annable@gmail.com> To: devel@lists.planetplanet.org Subject: Re: [Devel] help needed In-Reply-To: <20041025082359.GB4650@fuchsia.puzzling.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <cba04b0304102500092299a657@mail.gmail.com> <20041025071250.GN5217@localhost.localdomain> <cba04b0304102500394d0419cf@mail.gmail.com> <20041025082359.GB4650@fuchsia.puzzling.org> X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: Rob Annable <rob.annable@gmail.com> List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 25 Oct 2004 08:28:28 -0000 Status: O Content-Length: 909 Lines: 27 On Mon, 25 Oct 2004 10:23:59 +0200, Mary Gardiner <mary-planet@puzzling.org> wrote: > On Mon, Oct 25, 2004, Rob Annable wrote: > > Great, then here's my problem. My cron daemon spits this back at me > > every time it runs, the output gets rendered but the html page doesn't > > list the entries in the correct order. It seems to be trying to write > > some timestamp info somewhere but failing. Here's the error message, I > > currently have two rss feeds plugged into it. > > My guess is that you need the _directory_ it's trying to write to > ("cache") to: already exist; and be writable by whatever user is running > the cron job. > > -Mary > _______________________________________________ I thought that might be the case, but I couldn't figure out where it wanted the directory to be. This line threw me: <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> ? Rob -- http://rob.annable.co.uk From mary@home.puzzling.org Mon Oct 25 09:52:54 2004 Return-Path: <mary@home.puzzling.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id E5F68585E for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 09:52:53 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 37293-02-13 for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 09:52:53 +0100 (BST) Received: from test.puzzling.org (test.puzzling.org [70.85.16.132]) by amnesiac.heapspace.net (Postfix) with ESMTP id 5D5C6585C for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 09:52:53 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by test.puzzling.org (Postfix) with ESMTP id 935D38ED31 for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 04:52:52 -0400 (EDT) Received: from test.puzzling.org ([127.0.0.1]) by localhost (test.puzzling.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17747-07 for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 04:52:51 -0400 (EDT) Received: from sourdust.home.puzzling.org (131.72.212.194.contactel.net [194.212.72.131]) by test.puzzling.org (Postfix) with ESMTP id 9B5848ED0E for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 04:52:51 -0400 (EDT) Received: by sourdust.home.puzzling.org (Postfix, from userid 1000) id 552E035A690; Mon, 25 Oct 2004 10:52:49 +0200 (CEST) Date: Mon, 25 Oct 2004 10:52:49 +0200 From: Mary Gardiner <mary-planet@puzzling.org> To: devel@lists.planetplanet.org Subject: Re: [Devel] help needed Message-ID: <20041025085249.GE4650@fuchsia.puzzling.org> Mail-Followup-To: devel@lists.planetplanet.org References: <cba04b0304102500092299a657@mail.gmail.com> <20041025071250.GN5217@localhost.localdomain> <cba04b0304102500394d0419cf@mail.gmail.com> <20041025082359.GB4650@fuchsia.puzzling.org> <cba04b03041025012861621f2c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <cba04b03041025012861621f2c@mail.gmail.com> X-Nihilism: All I ask is our common due... Give us this day our daily cue. X-GPG-Key: 1024D/77625870 X-GPG-Fingerprint: B141 CD1A 4603 1CD7 6D64 EFBF D256 C568 7762 5870 User-Agent: Mutt/1.5.6+20040523i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at fuchsia.puzzling.org X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 25 Oct 2004 08:52:54 -0000 Status: O Content-Length: 590 Lines: 20 On Mon, Oct 25, 2004, Rob Annable wrote: > I thought that might be the case, but I couldn't figure out where it > wanted the directory to be. This line threw me: > > <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> > > ? That's the path of the file it's trying to open (wrapped in < and >). Python's "open" command will fail if the directory doesn't exist. It wants the "cache" directory to be under the directory with the config.ini file, so something like this: Your "something" directory contains: - config.ini - (probably) some template files - a cache directory -Mary From acrosby@nps.k12.va.us Mon Oct 25 13:32:39 2004 Return-Path: <acrosby@nps.k12.va.us> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id BB7715888 for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 13:32:39 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 43542-03-27 for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 13:32:39 +0100 (BST) Received: from 000gwguard.nps.k12.va.us (mailmx.nps.k12.va.us [216.54.48.13]) by amnesiac.heapspace.net (Postfix) with ESMTP id 1FB09587A for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 13:32:38 +0100 (BST) Received: from 000main-gwweb.nps.k12.va.us (unverified [216.54.48.8]) by 000gwguard.nps.k12.va.us (Vircom SMTPRS 3.2.326.0) with ESMTP id <B0002433862@000gwguard.nps.k12.va.us> for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 08:31:02 -0400 Received: from Gateway-MTA by 000main-gwweb.nps.k12.va.us with Novell_GroupWise; Mon, 25 Oct 2004 08:32:14 -0400 Message-Id: <s17cba0e.068@000main-gwweb.nps.k12.va.us> X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 25 Oct 2004 08:32:03 -0400 From: "Adam Crosby" <acrosby@nps.k12.va.us> To: <devel@lists.planetplanet.org> Subject: Re: [Devel] help needed Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 25 Oct 2004 12:32:40 -0000 Status: O Content-Length: 1135 Lines: 32 I had the same problem the first time I ran planet.py - you have to create an empty directory called 'cache' in the directory with your config.ini for the default setting to work. If you'd rather it sit somewhere else, just change the variable 'cache_dir' in config.ini to point to the path you want the files to be saved. >>> Mary Gardiner <mary-planet@puzzling.org> 10/25/2004 4:52:49 AM >>> On Mon, Oct 25, 2004, Rob Annable wrote: > I thought that might be the case, but I couldn't figure out where it > wanted the directory to be. This line threw me: > > <cache/rob.annable.co.uk.journal.cgi.index.rss10,times> > > ? That's the path of the file it's trying to open (wrapped in < and >). Python's "open" command will fail if the directory doesn't exist. It wants the "cache" directory to be under the directory with the config.ini file, so something like this: Your "something" directory contains: - config.ini - (probably) some template files - a cache directory -Mary _______________________________________________ Devel mailing list Devel@lists.planetplanet.org http://lists.planetplanet.org/mailman/listinfo/devel From acrosby@nps.k12.va.us Mon Oct 25 13:48:09 2004 Return-Path: <acrosby@nps.k12.va.us> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 31BFC587A for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 13:48:09 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 44971-02 for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 13:48:08 +0100 (BST) Received: from 000gwguard.nps.k12.va.us (mailmx.nps.k12.va.us [216.54.48.13]) by amnesiac.heapspace.net (Postfix) with ESMTP id 77AF75863 for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 13:48:08 +0100 (BST) Received: from 000main-gwweb.nps.k12.va.us (unverified [216.54.48.8]) by 000gwguard.nps.k12.va.us (Vircom SMTPRS 3.2.326.0) with ESMTP id <B0002434156@000gwguard.nps.k12.va.us> for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 08:46:35 -0400 Received: from Gateway-MTA by 000main-gwweb.nps.k12.va.us with Novell_GroupWise; Mon, 25 Oct 2004 08:47:45 -0400 Message-Id: <s17cbdb1.067@000main-gwweb.nps.k12.va.us> X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Mon, 25 Oct 2004 08:47:32 -0400 From: "Adam Crosby" <acrosby@nps.k12.va.us> To: <devel@lists.planetplanet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Problem with fcntl.fcntl file locking on FreeBSD 4.x X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 25 Oct 2004 12:48:09 -0000 Status: O Content-Length: 2318 Lines: 61 Not sure if this is a bug or a problem with my python install, but here's = what happened and how I fixed it: (First some version info) Python: Python 2.3.2 (#1, Dec 10 2003, 13:29:44) [GCC 2.95.4 20020320 [FreeBSD]] on freebsd4 FreeBSD: FreeBSD users.757.org 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #2: Wed Sep = 1 00:26:09 EDT 2004 After getting everything all configured and working the way I wanted on my = linux workstation, I moved my install to my FreeBSD webhost. I started getting this error everytime the script ran: Traceback (most recent call last): File "planet.py", line 240, in ? template =3D TemplateManager().prepare(template_file) File "/home/count/planet/htmltmpl.py", line 204, in prepare precompiled =3D self.load_precompiled(file) File "/home/count/planet/htmltmpl.py", line 342, in load_precompiled self.lock_file(file, LOCK_UN) File "/home/count/planet/htmltmpl.py", line 275, in lock_file fcntl.fcntl(fd, fcntl.LOCK_UN) IOError: [Errno 14] Bad address After a bit of googling and testing, I changed the function 'lock_file' = (line 263 in htmltmpl.py) to use 'fcntl.flock' instead of 'fcntl.fcntl': 263 def lock_file(self, file, lock): 264 """ do something """ 265 """ Provide platform independent file locking. 266 @hidden 267 """ 268 fd =3D file.fileno() 269 if LOCKTYPE =3D=3D LOCKTYPE_FCNTL: 270 if lock =3D=3D LOCK_SH: 271 fcntl.flock(fd, fcntl.LOCK_SH) 272 elif lock =3D=3D LOCK_EX: 273 fcntl.flock(fd, fcntl.LOCK_EX) 274 elif lock =3D=3D LOCK_UN: 275 fcntl.flock(fd, fcntl.LOCK_UN) 276 else: 277 raise TemplateError, "BUG: bad lock in lock_file" (sorry, I've not used 'diff' before - if you need/want me to, let me know = what commandline args to pass and I'll send that output along). The script now runs perfectly. So, I have 2 questions - 1) Is using fcntl.flock instead of fcntl.fcntl = going to hurt operation on any other platform? and 2) Is there a reason = for using such explicity locking, and not just using os.open(), which = works on many platforms in the 'same' way? Thanks for any help or feedback! * Adam From damog@damog.net Mon Oct 25 14:53:15 2004 Return-Path: <damog@damog.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 5940D58A2 for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 14:53:15 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 45907-01-8 for <devel@amnesiac.heapspace.net>; Mon, 25 Oct 2004 14:53:14 +0100 (BST) Received: from server146.jiffynet-hosting.net (ns3.jiffynet-hosting.net [69.57.162.87]) by amnesiac.heapspace.net (Postfix) with ESMTP id B193657BA for <devel@lists.planetplanet.org>; Mon, 25 Oct 2004 14:53:14 +0100 (BST) Received: from [200.13.105.100] (helo=172.17.4.117) by server146.jiffynet-hosting.net with esmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1CM5Hc-0003k1-Ff; Mon, 25 Oct 2004 09:53:12 -0400 Subject: Re: [Devel] help needed From: David Moreno Garza <damog@damog.net> To: Rob Annable <rob.annable@gmail.com> In-Reply-To: <cba04b03041025012861621f2c@mail.gmail.com> References: <cba04b0304102500092299a657@mail.gmail.com> <20041025071250.GN5217@localhost.localdomain> <cba04b0304102500394d0419cf@mail.gmail.com> <20041025082359.GB4650@fuchsia.puzzling.org> <cba04b03041025012861621f2c@mail.gmail.com> Content-Type: text/plain Organization: Damog.net Date: Mon, 25 Oct 2004 08:47:52 -0500 Message-Id: <1098712072.2112.11.camel@Cilantro> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server146.jiffynet-hosting.net X-AntiAbuse: Original Domain - lists.planetplanet.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - damog.net X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Mon, 25 Oct 2004 13:53:15 -0000 Status: O Content-Length: 1044 Lines: 27 On Mon, 2004-10-25 at 09:28 +0100, Rob Annable wrote: > On Mon, 25 Oct 2004 10:23:59 +0200, Mary Gardiner > <mary-planet@puzzling.org> wrote: > > On Mon, Oct 25, 2004, Rob Annable wrote: > > > Great, then here's my problem. My cron daemon spits this back at me > > > every time it runs, the output gets rendered but the html page doesn't > > > list the entries in the correct order. It seems to be trying to write > > > some timestamp info somewhere but failing. Here's the error message, I > > > currently have two rss feeds plugged into it. > > > > My guess is that you need the _directory_ it's trying to write to > > ("cache") to: already exist; and be writable by whatever user is running > > the cron job. What I am doing with my cron now is changing the directory of the cron job on the bash script, something like: #!/bin/bash cd /var/www/planet python planet.py config.ini I hope this could help, -- David Moreno Garza <damog@damog.net> | http://www.damog.net/ GPG 356E16CD - 84F0 E180 8AF6 E8D0 842F B520 63F3 08DB 356E 16CD From theigel@mail.ru Wed Oct 27 09:05:04 2004 Return-Path: <theigel@mail.ru> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 2B5635897 for <devel@amnesiac.heapspace.net>; Wed, 27 Oct 2004 09:05:04 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 86090-01-28 for <devel@amnesiac.heapspace.net>; Wed, 27 Oct 2004 09:05:03 +0100 (BST) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121]) by amnesiac.heapspace.net (Postfix) with ESMTP id B7D0D5895 for <devel@lists.planetplanet.org>; Wed, 27 Oct 2004 09:05:03 +0100 (BST) Received: from [195.190.121.82] (port=1270 helo=[10.254.101.10]) by mx1.mail.ru with esmtp id 1CMinm-000179-00 for devel@lists.planetplanet.org; Wed, 27 Oct 2004 12:05:02 +0400 From: Serega <theigel@mail.ru> To: devel@lists.planetplanet.org Date: Wed, 27 Oct 2004 12:05:27 +0400 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200410271205.27873.theigel@mail.ru> X-Spam: Not detected X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] what are the bug fix policies? X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: theigel@mail.ru List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 27 Oct 2004 08:05:04 -0000 Status: O Content-Length: 249 Lines: 10 Hi all! PlanetPlanet is great. And it runs smoothly at python2.1, though it's said to use more modern versions! I have encountered one minor problem (with logging), though, so I want to propose a fix. What is the accepted way to do it? Sergey From fred@crozat.net Wed Oct 27 09:13:11 2004 Return-Path: <fred@crozat.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0262758DA for <devel@amnesiac.heapspace.net>; Wed, 27 Oct 2004 09:13:11 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 85984-02-12 for <devel@amnesiac.heapspace.net>; Wed, 27 Oct 2004 09:13:10 +0100 (BST) Received: from office.mandrakesoft.com (ezoffice.mandrakesoft.com [212.11.15.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 8CCC358D9 for <devel@lists.planetplanet.org>; Wed, 27 Oct 2004 09:13:10 +0100 (BST) Received: from trinidad.mandrakesoft.com (trinidad.mandrakesoft.com [192.168.100.216]) by office.mandrakesoft.com (Postfix) with ESMTP id AC5412D63B for <devel@lists.planetplanet.org>; Wed, 27 Oct 2004 10:13:09 +0200 (CEST) Subject: Re: [Devel] what are the bug fix policies? From: Frederic Crozat <fred@crozat.net> To: devel@lists.planetplanet.org In-Reply-To: <200410271205.27873.theigel@mail.ru> References: <200410271205.27873.theigel@mail.ru> Content-Type: text/plain; charset=ISO-8859-15 Date: Wed, 27 Oct 2004 10:13:09 +0200 Message-Id: <1098864789.14934.21.camel@trinidad.mandrakesoft.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1-1mdk Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 27 Oct 2004 08:13:11 -0000 Status: O Content-Length: 392 Lines: 14 Le mercredi 27 octobre 2004 à 12:05 +0400, Serega a écrit : > Hi all! > > PlanetPlanet is great. And it runs smoothly at python2.1, though it's said to > use more modern versions! > > I have encountered one minor problem (with logging), though, so I want to > propose a fix. What is the accepted way to do it? Send the patch on the mailing list.. -- Frederic Crozat <fred@crozat.net> From theigel@mail.ru Wed Oct 27 10:17:18 2004 Return-Path: <theigel@mail.ru> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6A713588E for <devel@amnesiac.heapspace.net>; Wed, 27 Oct 2004 10:17:18 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 87557-01-4 for <devel@amnesiac.heapspace.net>; Wed, 27 Oct 2004 10:17:18 +0100 (BST) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0C70A57D1 for <devel@lists.planetplanet.org>; Wed, 27 Oct 2004 10:17:18 +0100 (BST) Received: from [195.190.121.82] (port=1423 helo=[10.254.101.10]) by mx1.mail.ru with esmtp id 1CMjvh-000EAC-00 for devel@lists.planetplanet.org; Wed, 27 Oct 2004 13:17:17 +0400 From: Serega <theigel@mail.ru> To: devel@lists.planetplanet.org Subject: Re: [Devel] what are the bug fix policies? Date: Wed, 27 Oct 2004 13:17:43 +0400 User-Agent: KMail/1.6.1 References: <200410271205.27873.theigel@mail.ru> <1098864789.14934.21.camel@trinidad.mandrakesoft.com> In-Reply-To: <1098864789.14934.21.camel@trinidad.mandrakesoft.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200410271317.43574.theigel@mail.ru> X-Spam: Not detected X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: theigel@mail.ru List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 27 Oct 2004 09:17:18 -0000 Status: O Content-Length: 489 Lines: 17 On Wednesday 27 October 2004 12:13, Frederic Crozat wrote: > > I have encountered one minor problem (with logging), though, so I want to > > propose a fix. What is the accepted way to do it? > > Send the patch on the mailing list. OK. Not much, but logging.py is known for changing constants and method names in various version, so in my case it required "aliasing" for warning() method. The fix may be (for __init__.py): 54a55,56 > try: log.warning > except: log.warning = log.warn From squorch@gmail.com Thu Oct 28 00:57:34 2004 Return-Path: <squorch@gmail.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 004895860 for <devel@amnesiac.heapspace.net>; Thu, 28 Oct 2004 00:57:33 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22113-03 for <devel@amnesiac.heapspace.net>; Thu, 28 Oct 2004 00:57:33 +0100 (BST) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by amnesiac.heapspace.net (Postfix) with ESMTP id 54D9257E3 for <devel@lists.planetplanet.org>; Thu, 28 Oct 2004 00:57:33 +0100 (BST) Received: by wproxy.gmail.com with SMTP id 65so438996wri for <devel@lists.planetplanet.org>; Wed, 27 Oct 2004 16:57:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=cmcKPBYSSq+dN1ZLFwsAmf84gVdAWnEr/QPVMbr37SBt6ZkhRlYrkM5Vy1V0VUcSEW/zQKEIgp4PHwbMC8PRKGY5P0WosL100fJRGEZxu2pez3UvTut9rVIE5DPra5ZLt45tkOEsdAPo3Z0dmfP0hnrJHCdG3bhzJkCIVXsWfc8= Received: by 10.38.149.71 with SMTP id w71mr1074468rnd; Wed, 27 Oct 2004 16:57:29 -0700 (PDT) Received: by 10.38.181.73 with HTTP; Wed, 27 Oct 2004 16:57:29 -0700 (PDT) Message-ID: <344ecb10041027165713b1ec82@mail.gmail.com> Date: Wed, 27 Oct 2004 18:57:29 -0500 From: Victor Allen <squorch@gmail.com> To: devel@lists.planetplanet.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Obscure error message X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: Victor Allen <squorch@gmail.com> List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 27 Oct 2004 23:57:34 -0000 Status: O Content-Length: 818 Lines: 24 Hello, I'm having trouble getting Planet to finish running... most everything works just fine until planet.py starts processing the template files... INFO:root:Processing index.html.tmpl Traceback (most recent call last): File "/usr/home/squorch/public_html/planet/planet.py", line 240, in ? template = TemplateManager().prepare(template_file) File "/usr/home/squorch/public_html/planet/htmltmpl.py", line 223, in prepare self.save_precompiled(compiled) File "/usr/home/squorch/public_html/planet/htmltmpl.py", line 396, in save_precompiled self.lock_file(file, LOCK_UN) File "/usr/home/squorch/public_html/planet/htmltmpl.py", line 274, in lock_file fcntl.fcntl(fd, fcntl.LOCK_UN) IOError: [Errno 14] Bad address And then it dies. Any ideas? Thanks in advance. - Victor -- Victor Allen From acrosby@nps.k12.va.us Thu Oct 28 13:25:24 2004 Return-Path: <acrosby@nps.k12.va.us> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id D333A591F for <devel@amnesiac.heapspace.net>; Thu, 28 Oct 2004 13:25:23 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 37216-01-21 for <devel@amnesiac.heapspace.net>; Thu, 28 Oct 2004 13:25:23 +0100 (BST) Received: from 000gwguard.nps.k12.va.us (mailmx.nps.k12.va.us [216.54.48.13]) by amnesiac.heapspace.net (Postfix) with ESMTP id 269515927 for <devel@lists.planetplanet.org>; Thu, 28 Oct 2004 13:25:23 +0100 (BST) Received: from 000main-gwweb.nps.k12.va.us (unverified [216.54.48.8]) by 000gwguard.nps.k12.va.us (Vircom SMTPRS 3.2.326.0) with ESMTP id <B0002490982@000gwguard.nps.k12.va.us> for <devel@lists.planetplanet.org>; Thu, 28 Oct 2004 08:23:46 -0400 Received: from Gateway-MTA by 000main-gwweb.nps.k12.va.us with Novell_GroupWise; Thu, 28 Oct 2004 08:24:52 -0400 Message-Id: <s180acd4.029@000main-gwweb.nps.k12.va.us> X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Thu, 28 Oct 2004 08:24:39 -0400 From: "Adam Crosby" <acrosby@nps.k12.va.us> To: <squorch@gmail.com>, <devel@lists.planetplanet.org> Subject: Re: [Devel] Obscure error message Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at heapspace.net Cc: X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 28 Oct 2004 12:25:24 -0000 Status: O Content-Length: 1390 Lines: 43 Was this by any chance on FreeBSD? See my last post on the archives about how I fixed this issue with FreeBSD = (changing fcntl.fcntl() to fcntl.flock()). Archive here: http://lists.planetplanet.org/pipermail/devel/2004-October/00= 0259.html=20 (PS: sorry for top posting, my email client at work doesn't quote messages = properly :( ). * Adam=20 >>> Victor Allen <squorch@gmail.com> 10/27/2004 7:57:29 PM >>> Hello, I'm having trouble getting Planet to finish running... most everything works just fine until planet.py starts processing the template files... INFO:root:Processing index.html.tmpl Traceback (most recent call last): File "/usr/home/squorch/public_html/planet/planet.py", line 240, in ? template =3D TemplateManager().prepare(template_file) File "/usr/home/squorch/public_html/planet/htmltmpl.py", line 223, in = prepare self.save_precompiled(compiled) File "/usr/home/squorch/public_html/planet/htmltmpl.py", line 396, in save_precompiled self.lock_file(file, LOCK_UN) File "/usr/home/squorch/public_html/planet/htmltmpl.py", line 274, in lock_file fcntl.fcntl(fd, fcntl.LOCK_UN) IOError: [Errno 14] Bad address And then it dies. Any ideas? Thanks in advance. - Victor --=20 Victor Allen _______________________________________________ Devel mailing list Devel@lists.planetplanet.org=20 http://lists.planetplanet.org/mailman/listinfo/devel From skvidal@phy.duke.edu Sat Oct 30 19:09:48 2004 Return-Path: <skvidal@phy.duke.edu> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 464B6588F for <devel@amnesiac.heapspace.net>; Sat, 30 Oct 2004 19:09:48 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04173-04-7 for <devel@amnesiac.heapspace.net>; Sat, 30 Oct 2004 19:09:48 +0100 (BST) Received: from mail.phy.duke.edu (mail.phy.duke.edu [152.3.182.2]) by amnesiac.heapspace.net (Postfix) with ESMTP id D4AA1588B for <devel@lists.planetplanet.org>; Sat, 30 Oct 2004 19:09:47 +0100 (BST) Received: from [192.168.0.3] (rdu57-250-054.nc.rr.com [66.57.250.54]) by mail.phy.duke.edu (Postfix) with ESMTP id 5556B93232 for <devel@lists.planetplanet.org>; Sat, 30 Oct 2004 14:09:38 -0400 (EDT) From: seth vidal <skvidal@phy.duke.edu> To: devel@lists.planetplanet.org X-UID: 12043 X-Keywords: Content-Type: text/plain Date: Sat, 30 Oct 2004 14:07:09 -0400 Message-Id: <1099159629.2442.17.camel@binkley> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9.1 (1.5.9.1-2) Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] category support X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sat, 30 Oct 2004 18:09:48 -0000 Status: O Content-Length: 236 Lines: 14 Hi folks, anyone working on category support in planet planet? so I could retrieve blogs based on the <category> rss tag or the equivalent in atom, etc? it'd be nice to have: [somefeed] name=some guy category="some guy diary" -sv From scott@netsplit.com Sat Oct 30 20:04:23 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id EC0735878 for <devel@amnesiac.heapspace.net>; Sat, 30 Oct 2004 20:04:22 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05821-01-9 for <devel@amnesiac.heapspace.net>; Sat, 30 Oct 2004 20:04:22 +0100 (BST) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 357F15875 for <devel@lists.planetplanet.org>; Sat, 30 Oct 2004 20:04:22 +0100 (BST) Received: (qmail 14095 invoked from network); 30 Oct 2004 19:04:21 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 30 Oct 2004 19:04:21 -0000 Subject: Re: [Devel] category support From: Scott James Remnant <scott@netsplit.com> To: seth vidal <skvidal@phy.duke.edu> In-Reply-To: <1099159629.2442.17.camel@binkley> References: <1099159629.2442.17.camel@binkley> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-f684AF9nmpK8zBCr+FfB" Date: Sat, 30 Oct 2004 20:04:23 +0100 Message-Id: <1099163063.16742.2.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sat, 30 Oct 2004 19:04:23 -0000 Status: O Content-Length: 932 Lines: 45 --=-f684AF9nmpK8zBCr+FfB Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2004-10-30 at 14:07 -0400, seth vidal wrote: > anyone working on category support in planet planet? > so I could retrieve blogs based on the <category> rss tag or the > equivalent in atom, etc? >=20 [somefeed] name=3Dsome guy is_diary=3D1 And in your feed: <TMPL_LOOP Items> <TMPL_IF is_diary> ... stuff to output them ... </TMPL_IF> </TMPL_LOOP> Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-f684AF9nmpK8zBCr+FfB Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBg+W2IexP3IStZ2wRAqBVAJ9NfQYQXKym42YPSAUw6gDQedD2/ACeNFP9 zMlEbWjxwlpyq7xASsMBMl4= =aCW2 -----END PGP SIGNATURE----- --=-f684AF9nmpK8zBCr+FfB-- From skvidal@phy.duke.edu Sat Oct 30 21:40:12 2004 Return-Path: <skvidal@phy.duke.edu> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id EB7525A2D for <devel@amnesiac.heapspace.net>; Sat, 30 Oct 2004 21:40:11 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07963-01-4 for <devel@amnesiac.heapspace.net>; Sat, 30 Oct 2004 21:40:11 +0100 (BST) Received: from mail.phy.duke.edu (mail.phy.duke.edu [152.3.182.2]) by amnesiac.heapspace.net (Postfix) with ESMTP id 7977557BA for <devel@lists.planetplanet.org>; Sat, 30 Oct 2004 21:40:11 +0100 (BST) Received: from [192.168.0.3] (rdu57-250-054.nc.rr.com [66.57.250.54]) by mail.phy.duke.edu (Postfix) with ESMTP id 6B90793231; Sat, 30 Oct 2004 16:40:01 -0400 (EDT) Subject: Re: [Devel] category support From: seth vidal <skvidal@phy.duke.edu> To: Scott James Remnant <scott@netsplit.com> In-Reply-To: <1099163063.16742.2.camel@descent.netsplit.com> References: <1099159629.2442.17.camel@binkley> <1099163063.16742.2.camel@descent.netsplit.com> Content-Type: text/plain Date: Sat, 30 Oct 2004 16:37:33 -0400 Message-Id: <1099168653.2442.19.camel@binkley> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9.1 (1.5.9.1-2) Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sat, 30 Oct 2004 20:40:12 -0000 Status: O Content-Length: 772 Lines: 35 On Sat, 2004-10-30 at 20:04 +0100, Scott James Remnant wrote: > On Sat, 2004-10-30 at 14:07 -0400, seth vidal wrote: > > > anyone working on category support in planet planet? > > so I could retrieve blogs based on the <category> rss tag or the > > equivalent in atom, etc? > > > > [somefeed] > name=some guy > is_diary=1 > > And in your feed: > > <TMPL_LOOP Items> > <TMPL_IF is_diary> > > ... stuff to output them ... > > </TMPL_IF> > </TMPL_LOOP> I think you're thinking of it backward: there is an rss feed somewhere else. it has category tags defined in per item. I only want to have items in a certain category put on the planet site. your example above won't give me a good way to determine if any given item in the feed is a diary entry or not. -sv From sitapati@worldsankirtan.net Sat Oct 30 21:57:09 2004 Return-Path: <sitapati@worldsankirtan.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 781A65878 for <devel@amnesiac.heapspace.net>; Sat, 30 Oct 2004 21:57:09 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08068-02-2 for <devel@amnesiac.heapspace.net>; Sat, 30 Oct 2004 21:57:09 +0100 (BST) Received: from sitapati.dyndns.org (CPE-147-10-93-215.qld.bigpond.net.au [147.10.93.215]) by amnesiac.heapspace.net (Postfix) with ESMTP id 3D8C2586E for <devel@lists.planetplanet.org>; Sat, 30 Oct 2004 21:57:07 +0100 (BST) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by sitapati.dyndns.org (8.13.1/8.13.1) with ESMTP id i9UKv16G016366; Sun, 31 Oct 2004 06:57:02 +1000 Message-ID: <4184001D.6040506@worldsankirtan.net> Date: Sun, 31 Oct 2004 06:57:01 +1000 From: Sita-pati das <sitapati@worldsankirtan.net> User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: seth vidal <skvidal@phy.duke.edu> Subject: Re: [Devel] category support References: <1099159629.2442.17.camel@binkley> In-Reply-To: <1099159629.2442.17.camel@binkley> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sat, 30 Oct 2004 20:57:09 -0000 Status: O Content-Length: 1105 Lines: 40 seth vidal wrote: >Hi folks, > anyone working on category support in planet planet? >so I could retrieve blogs based on the <category> rss tag or the >equivalent in atom, etc? > >it'd be nice to have: > >[somefeed] >name=some guy >category="some guy diary" > >-sv > > >_______________________________________________ >Devel mailing list >Devel@lists.planetplanet.org >http://lists.planetplanet.org/mailman/listinfo/devel > > I've done this. Importation of selected categories from feeds. I took it a little further and added a sections property to the planet by creating a new subclass "ezine". There is category to section mapping in the configuration file. You can see my planet here: http://www.worldsankirtan.net and the output of my ezine code here: http://www.worldsankirtan.net/ezine/archives/2.html. I have been keeping track of what I am doing here: http://www.worldsankirtan.info/ezine I was going to make it super compatible with Planet Planet, but I'm not sure how far I've gone off track here. The code is a bit rough and I'm still working it, but you are welcome to it. joshua From sitapati@worldsankirtan.net Sat Oct 30 22:01:10 2004 Return-Path: <sitapati@worldsankirtan.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 178975878 for <devel@amnesiac.heapspace.net>; Sat, 30 Oct 2004 22:01:10 +0100 (BST) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08068-03 for <devel@amnesiac.heapspace.net>; Sat, 30 Oct 2004 22:01:09 +0100 (BST) Received: from sitapati.dyndns.org (CPE-147-10-93-215.qld.bigpond.net.au [147.10.93.215]) by amnesiac.heapspace.net (Postfix) with ESMTP id 3EE29586E for <devel@lists.planetplanet.org>; Sat, 30 Oct 2004 22:01:07 +0100 (BST) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by sitapati.dyndns.org (8.13.1/8.13.1) with ESMTP id i9UL15hZ021025; Sun, 31 Oct 2004 07:01:05 +1000 Message-ID: <41840110.9030009@worldsankirtan.net> Date: Sun, 31 Oct 2004 07:01:04 +1000 From: Sita-pati das <sitapati@worldsankirtan.net> User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sita-pati das <sitapati@worldsankirtan.net> Subject: Re: [Devel] category support References: <1099159629.2442.17.camel@binkley> <4184001D.6040506@worldsankirtan.net> In-Reply-To: <4184001D.6040506@worldsankirtan.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sat, 30 Oct 2004 21:01:10 -0000 Status: O Content-Length: 7619 Lines: 297 Here's a config file # Planet configuration file # # This is the new configuration format for the ezine Planet # Every ezine needs an [Ezine] section [Ezine] # name: Your ezine's name # link: Link to the main page # owner_name: Your name # owner_email: Your e-mail address name = WSN Ezine beta link = http://www.worldsankirtan.net/ owner_name = Sitapati Das owner_email = sitapati@worldsankirtan.net # Sections: comma separated list of sections in the ezine sections = Local News,Media Watch,Commentary,Diary,Inspirational,Advice,Feedback,Development News # cache_directory: Where cached feeds are stored # new_feed_items: Number of items to take from new feeds # log_level: One of DEBUG, INFO, WARNING, ERROR or CRITICAL cache_directory = cache new_feed_items = 3 log_level = DEBUG # template_files: Space-separated list of output template files template_files = templates/index.html.tmpl templates/rss20.xml.tmpl templates/rss10.xml.tmpl templates/opml.xml.tmpl templates/foafroll.xml.tmpl # The following provide defaults for each template: # output_dir: Directory to place output files # days: how many days the ezine covers. # date_format: strftime format for the default 'date' template variable # new_date_format: strftime format for the 'new_date' template variable # encoding: output encoding for the file, Python 2.3+ users can use the # special "xml" value to output ASCII with XML character references # locale: locale to use for (e.g.) strings in dates, default is taken from your # system output_dir = ./output days = 7 date_format = %B %d, %Y %I:%M %p new_date_format = %B %d, %Y encoding = utf-8 # locale = C # To define a different value for a particular template you may create # a section with the same name as the template file's filename (as given # in template_files). # Provide no more than 7 days articles on the front page [templates/index.html.tmpl] days_per_page = 14 [Local News] title = Local News byline = for Brisbane, Australia graphic = maxarticles = [Media Watch] title = Media Watch byline = Links to interesting articles in the media graphic = maxarticles = [Commentary] title = Commentary byline = Insights into different events and issues graphic = maxarticles = [Diary] title = Diary byline = Our correspondents' diaries graphic = maxarticles = [Inspirational] title = Inspirational byline = Inspirational Quotes and Stories graphic = maxarticles = [Advice] title = Advice byline = Readers ask questions and our experts give advice graphic = maxarticles = [Feedback] title = Feedback byline = Readers speak out graphic = maxarticles = [Development News] title = Development News byline = News about the Ezine Development graphic = maxarticles = 2 # Options placed in the [DEFAULT] section provide defaults for the feed # sections. Placing a default here means you only need to override the # special cases later. [DEFAULT] # Hackergotchi default size. # If we want to put a face alongside a feed, and it's this size, we # can omit these variables. facewidth = 65 faceheight = 85 # Any other section defines a feed to subscribe to. The section title # (in the []s) is the URI of the feed itself. A section can also be # have any of the following options: # # name: Name of the feed (defaults to the title found in the feed) # # Additionally any other option placed here will be available in # the template (prefixed with channel_ for the Items loop). We use # this trick to make the faces work -- this isn't something Planet # "natively" knows about. Look at fancy-examples/index.html.tmpl # for the flip-side of this. [http://www.theloftbrisbane.info/wp-rss2.php] name = The Loft Brisbane # RequireCategory: Only articles assigned to this category will appear in the feed # Usually this will be used with a "Syndicate" or similar category to allow authors to # elect which articles to submit. If this is blank or not present, then all articles # in the feed will be included. requirecategory = # DefaultCategory: In the case where an article has no mapped categories (see below for category # to section mapping, the DefaultCategory will be used to put the article into a given section # of the ezine. defaultcategory = Local News # ForceCategory: This will override any category settings from the feed and force the articles to # the corresponding category. DefaultCategory will allow the feed to specify and then push it to # a section if the feed does not specify a valid section. ForceCategory will force it into a # specific category #forcecategory = # CategoryMap: This determines which category from the feed goes into which section of the ezine # It is a comma separated list of category and section pairs. The category and section pair are # separated by a full colon. # categorymap = Feed Category A:Ezine Section X, Feed Category B:Ezine Section Y # Articles which meet the RequireCategory check above but do not have a category mapping are not # included, unless DefaultCategory is set above to a mapped category. categorymap = Local News:Local News # MaxArticles: This is the maximum number of articles of the feed to include in the ezine # You can limit prolific writers input so that they don't dominate the issue. Set it to 0 to ignore maxarticles = 0 #[http://www.gopinatha.net/journalKC/backend/ekendra.rdf] #name = Ekendra's Mrdanga #face = # pick up the default facewidth and faceheight #requirecategory = #defaultcategory = Inspirational #forcecategory = #categorymap = Inspirational:Inspirational #maxarticles = 5 [http://blog.worldsankirtan.net/BBd/wp-rss2.php] name = Braja Bihari Das face = facewidth = 70 faceheight = 74 requirecategory = defaultcategory = Commentary #forcecategory = categorymap = Commentary:Commentary maxarticles = 5 [http://blog.worldsankirtan.net/IDS/wp-rss2.php] name = Indradyumna Swami face = facewidth = 62 faceheight = 80 requirecategory = defaultcategory = Diary #forcecategory = categorymap = Diary:Diary maxarticles = 5 [http://blog.worldsankirtan.net/jayagovinda/wp-rss2.php] name = Jayagovinda Das face = # pick up the default faceheight only facewidth = 59 requirecategory = defaultcategory = Diary #forcecategory = categorymap = Diary:Diary maxarticles = 5 [http://blog.worldsankirtan.net/SpiritualScientist/wp-rss2.php] name = Spiritual Scientist face = facewidth = 48 faceheight = 48 requirecategory = Syndicate defaultcategory = #forcecategory = categorymap = Commentary:Commentary maxarticles = 5 [http://www.sitapati.info/wp-rss2.php] name = Sitapati Das face = facewidth = 48 faceheight = 48 requirecategory = syndicate defaultcategory = #forcecategory = categorymap = Commentary:Commentary,Media Watch:Media Watch,Inspirational:Inspirational,Diary:Diary,WSN News:Development News maxarticles = 5 [http://blog.worldsankirtan.net/tirtharaj/wp-rss2.php] name = Tirtharaj Das face = facewidth = 48 faceheight = 48 requirecategory = defaultcategory = Diary #forcecategory = categorymap = Diary:Diary maxarticles = 5 [http://blog.worldsankirtan.net/vijaya/wp-rss2.php] name = Vijaya on Book Distribution face = facewidth = 48 faceheight = 48 requirecategory = defaultcategory = Diary #forcecategory = categorymap = Diary:Diary maxarticles = 5 [http://www.devaswami.com/guruBlog/xmlsrv/rss2.php?blog=1] name = Devamrita Swami requirecategory = defaultcategory = Diary #forcecategory = categorymap = Diary:Diary maxarticles = 5 [http://www.worldsankirtan.info/ezine/wp-rss2.php] name = WSN Ezine Project requirecategory = defaultcategory = DevelNews #forcecategory = categorymap = DevelNews:Development News maxarticles = 5 From sitapati@worldsankirtan.net Sun Oct 31 07:32:13 2004 Return-Path: <sitapati@worldsankirtan.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id F0D9F58A2 for <devel@amnesiac.heapspace.net>; Sun, 31 Oct 2004 07:32:12 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20227-02-3 for <devel@amnesiac.heapspace.net>; Sun, 31 Oct 2004 07:32:12 +0000 (GMT) Received: from sitapati.dyndns.org (CPE-147-10-93-215.qld.bigpond.net.au [147.10.93.215]) by amnesiac.heapspace.net (Postfix) with ESMTP id A39F8587C for <devel@lists.planetplanet.org>; Sun, 31 Oct 2004 07:32:11 +0000 (GMT) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by sitapati.dyndns.org (8.13.1/8.13.1) with ESMTP id i9V7W5vJ006191; Sun, 31 Oct 2004 17:32:06 +1000 Message-ID: <418494F5.3020105@worldsankirtan.net> Date: Sun, 31 Oct 2004 17:32:05 +1000 From: Sita-pati das <sitapati@worldsankirtan.net> User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: seth vidal <skvidal@phy.duke.edu> Subject: Re: [Devel] category support References: <1099159629.2442.17.camel@binkley> In-Reply-To: <1099159629.2442.17.camel@binkley> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sun, 31 Oct 2004 07:32:13 -0000 Status: O Content-Length: 823 Lines: 31 The crux of what I did was take "categories" out of the IGNORE_KEYS for the NewsItem and Channel objects, then make a couple of methods "get_as_list" and "set_as_list" to enable the ancestral cacheinfo object to read and write lists to the cache. Then I just put some code in the planet.py to read the category requirements and mapping from the configuration file, and do the comparison. seth vidal wrote: >Hi folks, > anyone working on category support in planet planet? >so I could retrieve blogs based on the <category> rss tag or the >equivalent in atom, etc? > >it'd be nice to have: > >[somefeed] >name=some guy >category="some guy diary" > >-sv > > >_______________________________________________ >Devel mailing list >Devel@lists.planetplanet.org >http://lists.planetplanet.org/mailman/listinfo/devel > > From nelson@nelson.monkey.org Sun Oct 31 19:40:22 2004 Return-Path: <nelson@nelson.monkey.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id C77FE58B4 for <devel@amnesiac.heapspace.net>; Sun, 31 Oct 2004 19:40:21 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 33051-03-15 for <devel@amnesiac.heapspace.net>; Sun, 31 Oct 2004 19:40:21 +0000 (GMT) Received: from cabernet.nelson.monkey.org (adsl-63-194-75-26.dsl.snfc21.pacbell.net [63.194.75.26]) by amnesiac.heapspace.net (Postfix) with ESMTP id 3ADD857DF for <devel@lists.planetplanet.org>; Sun, 31 Oct 2004 19:40:21 +0000 (GMT) Received: by cabernet.nelson.monkey.org (Postfix, from userid 30193) id 779178C015; Sun, 31 Oct 2004 11:40:19 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16773.16291.441251.259304@cabernet.nelson.monkey.org> Date: Sun, 31 Oct 2004 11:40:19 -0800 From: Nelson Minar <nelson@monkey.org> To: devel@lists.planetplanet.org X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] dbhash: too many open files X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sun, 31 Oct 2004 19:40:22 -0000 Status: O Content-Length: 804 Lines: 18 Planet is cool, thank you! I'm trying to use the latest devel version to aggregate about 1400 blogs. Somewhere along the line I get this error: Traceback (most recent call last): File "planet--devel--1.0--patch-47/planet.py", line 141, in ? File "planet--devel--1.0--patch-47/planet/__init__.py", line 202, in __init__ File "/usr/lib/python2.2/dbhash.py", line 16, in open bsddb.error: (24, 'Too many open files') There are 1027 files in my cache directory when this occurs. ulimit reports a limit of 1024 open files, so that'd be my problem. I looked at the code and saw that it indeed opens a dbhash file per feed. But I didn't see any clear way in the dbhash API to close them again, and I was afraid that maybe the Planet architecture required all the DB files to be open at the same time. From nico@rdo.homelinux.org Wed Nov 3 16:30:06 2004 Return-Path: <nico@rdo.homelinux.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id E4E5B581A for <devel@amnesiac.heapspace.net>; Wed, 3 Nov 2004 16:30:05 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17632-02-4 for <devel@amnesiac.heapspace.net>; Wed, 3 Nov 2004 16:30:05 +0000 (GMT) Received: from mail.slb.com (nammta01.sugar-land.nam.slb.com [163.188.150.130]) by amnesiac.heapspace.net (Postfix) with ESMTP id 3B4CF582A for <devel@lists.planetplanet.org>; Wed, 3 Nov 2004 16:30:05 +0000 (GMT) Received: from conversion-daemon.nammta01.sugar-land.nam.slb.com by nammta01.sugar-land.nam.slb.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) id <0I6M00M011YBLE@nammta01.sugar-land.nam.slb.com> for devel@lists.planetplanet.org; Wed, 03 Nov 2004 16:29:54 +0000 (GMT) Received: from namems01.sugar-land.oilfield.slb.com (namems01.sugar-land.oilfield.slb.com [163.188.150.131]) by nammta01.sugar-land.nam.slb.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0I6M009UO34GM8@nammta01.sugar-land.nam.slb.com> for devel@lists.planetplanet.org; Wed, 03 Nov 2004 16:29:04 +0000 (GMT) Received: from conversion-daemon.namems01.sugar-land.oilfield.slb.com by namems01.sugar-land.oilfield.slb.com (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) id <0I6M00L012CZDQ@namems01.sugar-land.oilfield.slb.com> for devel@lists.planetplanet.org; Wed, 03 Nov 2004 16:28:59 +0000 (GMT) Received: from [163.188.85.211] (dhcp-85-211.houston.omnes.slb.com [163.188.85.211]) by namems01.sugar-land.oilfield.slb.com (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTPS id <0I6M00KW2349P6@namems01.sugar-land.oilfield.slb.com> for devel@lists.planetplanet.org; Wed, 03 Nov 2004 16:28:58 +0000 (GMT) Content-return: prohibited Date: Wed, 03 Nov 2004 12:28:17 -0600 From: Nicolas Will <nico@rdo.homelinux.org> To: devel@lists.planetplanet.org Message-id: <41892341.5080406@rdo.homelinux.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-AntiVirus: Sophos nammta01 X-AntiVirus: Sophos namems01 X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] getting Planet Planet with arch X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 03 Nov 2004 16:30:06 -0000 Status: O Content-Length: 353 Lines: 21 Hi, I am very un-educated in arch. Translated, it means I have zero clue about it. I tried the nightly build, but it looks like it is a 00 version. I'd like to try the 1.0 development. Could I have a quick how-to on how to get the lates code please ? I already have tls installed. Thanks a lot. Nico -- Nicolas Will http://rdo.homelinux.org/ From nelson@nelson.monkey.org Wed Nov 3 16:50:05 2004 Return-Path: <nelson@nelson.monkey.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 1AF325936 for <devel@amnesiac.heapspace.net>; Wed, 3 Nov 2004 16:50:05 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18104-03-7 for <devel@amnesiac.heapspace.net>; Wed, 3 Nov 2004 16:50:04 +0000 (GMT) Received: from cabernet.nelson.monkey.org (adsl-63-194-75-26.dsl.snfc21.pacbell.net [63.194.75.26]) by amnesiac.heapspace.net (Postfix) with ESMTP id 8617F58BF for <devel@lists.planetplanet.org>; Wed, 3 Nov 2004 16:50:04 +0000 (GMT) Received: by cabernet.nelson.monkey.org (Postfix, from userid 30193) id 029788C015; Wed, 3 Nov 2004 08:50:01 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16777.3129.889289.801438@cabernet.nelson.monkey.org> Date: Wed, 3 Nov 2004 08:50:01 -0800 From: Nelson Minar <nelson@monkey.org> To: Nicolas Will <nico@rdo.homelinux.org> Subject: Re: [Devel] getting Planet Planet with arch In-Reply-To: <41892341.5080406@rdo.homelinux.org> References: <41892341.5080406@rdo.homelinux.org> X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 03 Nov 2004 16:50:05 -0000 Status: O Content-Length: 431 Lines: 12 >I am very un-educated in arch. Translated, it means I have zero clue >about it. Me too, I had the hardest time figuring it out until I found this message: http://lists.planetplanet.org/pipermail/devel/2004-September/000232.html The secret recipe is tla register-archive http://arch.netsplit.com/scott@netsplit.com--2004 tla get scott at netsplit.com--2004/planet--devel--1.0 It'd be awesome if this went on the website. From mjr@towers.org.uk Wed Nov 3 18:34:32 2004 Return-Path: <mjr@towers.org.uk> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 987495904 for <devel@amnesiac.heapspace.net>; Wed, 3 Nov 2004 18:34:32 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19900-01-2 for <devel@amnesiac.heapspace.net>; Wed, 3 Nov 2004 18:34:32 +0000 (GMT) Received: from galaxy.systems.pipex.net (galaxy.systems.pipex.net [62.241.162.31]) by amnesiac.heapspace.net (Postfix) with ESMTP id 3482A582A for <devel@lists.planetplanet.org>; Wed, 3 Nov 2004 18:34:32 +0000 (GMT) Received: from me (81-86-163-141.dsl.pipex.com [81.86.163.141]) by galaxy.systems.pipex.net (Postfix) with SMTP id E3660E0000DA for <devel@lists.planetplanet.org>; Wed, 3 Nov 2004 18:34:31 +0000 (GMT) Received: (nullmailer pid 3544 invoked by uid 1000); Wed, 03 Nov 2004 18:39:10 -0000 Date: Wed, 03 Nov 2004 18:39:09 +0000 Subject: Re: [Devel] getting Planet Planet with arch Message-ID: <a554b98f64db27f2cc5c743a424097aa@bouncing.localnet> MIME-Version: 1.0 (Generated by Pantomime 1.1.2) From: MJ Ray <mjr@dsl.pipex.com> To: devel@lists.planetplanet.org Organization: Very poor In-Reply-To: <41892341.5080406@rdo.homelinux.org> X-Mailer: GNUMail.app (Version 1.1.2) Content-Type: text/plain; charset="us-ascii"; format="flowed" X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 03 Nov 2004 18:34:32 -0000 Status: O Content-Length: 1045 Lines: 26 On 2004-11-03 18:28:17 +0000 Nicolas Will <nico@rdo.homelinux.org> wrote: > Could I have a quick how-to on how to get the lates code please ? Cribbing from http://www.mjr.dsl.pipex.com/uzu-arkon.html and http://www.planetplanet.org/, I think it's: tla my-id 'Nicolas Will <nico@rdo.homelinux.org>' tla make-archive nico@rdo.homelinux.org--planet1 $HOME/arch-planet1 tla my-default-archive nico@rdo.homelinux.org--planet1 tla register-archive scott@netsplit.com--2004 \ http://people.ubuntu.com/~scott/arch/personal/ tla tag --setup scott@netsplit.com--2004/planet--devel--1.0 \ nico@rdo.homelinux.org--planet1/planet--devel--1.0 tla get planet--devel--1.0 planet-1.0 Then you should have a planet-1.0 directory in the current one which contains the latest sources. See those pages for more explanation. -- MJR/slef My Opinion Only and not of any group I know Creative copyleft computing - http://www.ttllp.co.uk/ Unsolicited attachments to the pipex address deleted Will HLF fund tree-killings? http://www.thewalks.co.uk/ From nick@zork.net Wed Nov 3 19:01:44 2004 Return-Path: <nick@zork.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 49D18591A for <devel@amnesiac.heapspace.net>; Wed, 3 Nov 2004 19:01:44 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20674-01-2 for <devel@amnesiac.heapspace.net>; Wed, 3 Nov 2004 19:01:43 +0000 (GMT) Received: from zork.zork.net (zork.zork.net [64.81.246.102]) by amnesiac.heapspace.net (Postfix) with ESMTP id A36D5582A for <devel@lists.planetplanet.org>; Wed, 3 Nov 2004 19:01:43 +0000 (GMT) Received: from nick by zork.zork.net with local (Exim 4.34) id 1CPQO4-000171-QF for devel@lists.planetplanet.org; Wed, 03 Nov 2004 11:01:40 -0800 Date: Wed, 3 Nov 2004 11:01:40 -0800 From: Nick Moffitt <nick@zork.net> To: devel@lists.planetplanet.org Subject: Re: [Devel] getting Planet Planet with arch Message-ID: <20041103190139.GG28768@zork.net> Mail-Followup-To: devel@lists.planetplanet.org References: <41892341.5080406@rdo.homelinux.org> <a554b98f64db27f2cc5c743a424097aa@bouncing.localnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <a554b98f64db27f2cc5c743a424097aa@bouncing.localnet> Reply-By: Wed, 4 Apr 2001 14:21:08 -0700 X-Message-Flag: OUTLOOK ERROR: Message text violates P.A.T.R.I.O.T. act User-Agent: Mutt/1.5.6+20040722i X-SA-Exim-Connect-IP: <locally generated> X-SA-Exim-Mail-From: nick@zork.net X-SA-Exim-Scanned: No (on zork.zork.net); SAEximRunCond expanded to false X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 03 Nov 2004 19:01:44 -0000 Status: O Content-Length: 738 Lines: 17 begin MJ Ray quotation: > tla my-id 'Nicolas Will <nico@rdo.homelinux.org>' > tla make-archive nico@rdo.homelinux.org--planet1 $HOME/arch-planet1 > tla my-default-archive nico@rdo.homelinux.org--planet1 > tla register-archive scott@netsplit.com--2004 \ > http://people.ubuntu.com/~scott/arch/personal/ > tla tag --setup scott@netsplit.com--2004/planet--devel--1.0 \ > nico@rdo.homelinux.org--planet1/planet--devel--1.0 > tla get planet--devel--1.0 planet-1.0 This is information on how to make a *branch* for your own development. Simply checking out the code doesn't require anywhere near this many commands. -- Support your droogs! Nick Moffitt nick@zork.net From mjr@towers.org.uk Wed Nov 3 19:56:18 2004 Return-Path: <mjr@towers.org.uk> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 98DC65938 for <devel@amnesiac.heapspace.net>; Wed, 3 Nov 2004 19:56:18 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22090-02-20 for <devel@amnesiac.heapspace.net>; Wed, 3 Nov 2004 19:56:18 +0000 (GMT) Received: from galaxy.systems.pipex.net (galaxy.systems.pipex.net [62.241.162.31]) by amnesiac.heapspace.net (Postfix) with ESMTP id 383035925 for <devel@lists.planetplanet.org>; Wed, 3 Nov 2004 19:56:18 +0000 (GMT) Received: from me (81-86-163-141.dsl.pipex.com [81.86.163.141]) by galaxy.systems.pipex.net (Postfix) with SMTP id 0D540E00009C for <devel@lists.planetplanet.org>; Wed, 3 Nov 2004 19:56:16 +0000 (GMT) Received: (nullmailer pid 4313 invoked by uid 1000); Wed, 03 Nov 2004 20:00:55 -0000 Date: Wed, 03 Nov 2004 20:00:54 +0000 Subject: Re: [Devel] getting Planet Planet with arch Message-ID: <d6ffb97d825c214aaf927d865a1f3ead@bouncing.localnet> MIME-Version: 1.0 (Generated by Pantomime 1.1.2) From: MJ Ray <mjr@dsl.pipex.com> To: devel@lists.planetplanet.org Organization: Very poor In-Reply-To: <20041103190139.GG28768@zork.net> X-Mailer: GNUMail.app (Version 1.1.2) Content-Type: text/plain; charset="us-ascii"; format="flowed" X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 03 Nov 2004 19:56:18 -0000 Status: O Content-Length: 745 Lines: 23 On 2004-11-03 19:01:40 +0000 Nick Moffitt <nick@zork.net> wrote: > This is information on how to make a *branch* for your own > development. Simply checking out the code doesn't require anywhere > near this many commands. True, but why else would one want development sources? To just download sources, try: tla register-archive scott@netsplit.com--2004 \ http://people.ubuntu.com/~scott/arch/personal/ tla get scott@netsplit.com--2004/planet--devel--1.0 \ planet-1.0 but I didn't check those commands. -- MJR/slef My Opinion Only and not of any group I know Creative copyleft computing - http://www.ttllp.co.uk/ Unsolicited attachments to the pipex address deleted Will HLF fund tree-killings? http://www.thewalks.co.uk/ From nelson@nelson.monkey.org Wed Nov 3 20:00:15 2004 Return-Path: <nelson@nelson.monkey.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id BF980591D for <devel@amnesiac.heapspace.net>; Wed, 3 Nov 2004 20:00:15 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22090-02-34 for <devel@amnesiac.heapspace.net>; Wed, 3 Nov 2004 20:00:15 +0000 (GMT) Received: from cabernet.nelson.monkey.org (adsl-63-194-75-26.dsl.snfc21.pacbell.net [63.194.75.26]) by amnesiac.heapspace.net (Postfix) with ESMTP id 3E66E5919 for <devel@lists.planetplanet.org>; Wed, 3 Nov 2004 20:00:12 +0000 (GMT) Received: by cabernet.nelson.monkey.org (Postfix, from userid 30193) id 97A0F8C05F; Wed, 3 Nov 2004 12:00:10 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16777.14538.568719.344065@cabernet.nelson.monkey.org> Date: Wed, 3 Nov 2004 12:00:10 -0800 From: Nelson Minar <nelson@monkey.org> To: MJ Ray <mjr@dsl.pipex.com> Subject: Re: [Devel] getting Planet Planet with arch In-Reply-To: <d6ffb97d825c214aaf927d865a1f3ead@bouncing.localnet> References: <20041103190139.GG28768@zork.net> <d6ffb97d825c214aaf927d865a1f3ead@bouncing.localnet> X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 03 Nov 2004 20:00:16 -0000 Status: O Content-Length: 152 Lines: 4 >True, but why else would one want development sources? because the 0.2 release is buggy. The feedparser version is old and doesn't handle Atom right. From nico@rdo.homelinux.org Wed Nov 3 20:05:04 2004 Return-Path: <nico@rdo.homelinux.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 1A5255989 for <devel@amnesiac.heapspace.net>; Wed, 3 Nov 2004 20:05:04 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22857-01 for <devel@amnesiac.heapspace.net>; Wed, 3 Nov 2004 20:05:03 +0000 (GMT) Received: from mail.slb.com (nammta01.sugar-land.nam.slb.com [163.188.150.130]) by amnesiac.heapspace.net (Postfix) with ESMTP id 626325968 for <devel@lists.planetplanet.org>; Wed, 3 Nov 2004 20:05:03 +0000 (GMT) Received: from conversion-daemon.nammta01.sugar-land.nam.slb.com by nammta01.sugar-land.nam.slb.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) id <0I6M00F01CQQXU@nammta01.sugar-land.nam.slb.com> for devel@lists.planetplanet.org; Wed, 03 Nov 2004 20:02:48 +0000 (GMT) Received: from namems01.sugar-land.oilfield.slb.com (namems01.sugar-land.oilfield.slb.com [163.188.150.131]) by nammta01.sugar-land.nam.slb.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0I6M004M9CZIFO@nammta01.sugar-land.nam.slb.com> for devel@lists.planetplanet.org; Wed, 03 Nov 2004 20:02:06 +0000 (GMT) Received: from conversion-daemon.namems01.sugar-land.oilfield.slb.com by namems01.sugar-land.oilfield.slb.com (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) id <0I6M00501CU107@namems01.sugar-land.oilfield.slb.com> for devel@lists.planetplanet.org; Wed, 03 Nov 2004 20:01:55 +0000 (GMT) Received: from [163.188.85.211] (dhcp-85-211.houston.omnes.slb.com [163.188.85.211]) by namems01.sugar-land.oilfield.slb.com (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTPS id <0I6M00GCJCZ3T9@namems01.sugar-land.oilfield.slb.com> for devel@lists.planetplanet.org; Wed, 03 Nov 2004 20:01:51 +0000 (GMT) Content-return: prohibited Date: Wed, 03 Nov 2004 16:00:55 -0600 From: Nicolas Will <nico@rdo.homelinux.org> Subject: Re: [Devel] getting Planet Planet with arch In-reply-to: <16777.3129.889289.801438@cabernet.nelson.monkey.org> To: devel@lists.planetplanet.org Message-id: <41895517.4000202@rdo.homelinux.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-AntiVirus: Sophos nammta01 X-AntiVirus: Sophos namems01 References: <41892341.5080406@rdo.homelinux.org> <16777.3129.889289.801438@cabernet.nelson.monkey.org> X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 03 Nov 2004 20:05:04 -0000 Status: O Content-Length: 712 Lines: 34 Nelson Minar wrote: >>I am very un-educated in arch. Translated, it means I have zero clue >>about it. >> >> > >Me too, I had the hardest time figuring it out until I found this >message: > http://lists.planetplanet.org/pipermail/devel/2004-September/000232.html > >The secret recipe is > tla register-archive http://arch.netsplit.com/scott@netsplit.com--2004 > tla get scott at netsplit.com--2004/planet--devel--1.0 > >It'd be awesome if this went on the website. > > > Cool, this works, many thanks! Now used here: http://rdo.homelinux.org/~will/planet/ There is a ' problem in some feeds, I have to check why, probably from the feed itself... Nico -- Nicolas Will http://rdo.homelinux.org/ From theigel@mail.ru Thu Nov 4 06:51:49 2004 Return-Path: <theigel@mail.ru> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id E2F7E593D for <devel@amnesiac.heapspace.net>; Thu, 4 Nov 2004 06:51:48 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 35999-02-6 for <devel@amnesiac.heapspace.net>; Thu, 4 Nov 2004 06:51:48 +0000 (GMT) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121]) by amnesiac.heapspace.net (Postfix) with ESMTP id 85E135832 for <devel@lists.planetplanet.org>; Thu, 4 Nov 2004 06:51:48 +0000 (GMT) Received: from [195.190.121.82] (port=1106 helo=[10.254.101.10]) by mx1.mail.ru with esmtp id 1CPbTF-0007iZ-00 for devel@lists.planetplanet.org; Thu, 04 Nov 2004 09:51:45 +0300 From: Serega <theigel@mail.ru> To: devel@lists.planetplanet.org Date: Thu, 4 Nov 2004 09:51:54 +0300 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200411040951.54242.theigel@mail.ru> X-Spam: Not detected X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] web interface? X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: theigel@mail.ru List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 04 Nov 2004 06:51:49 -0000 Status: O Content-Length: 166 Lines: 8 Hi folks. Have anybody already written a webinterface for configuring the Planet? First of all, I mean adding / removing feeds. If nobody, then I will ;-) Sergey From jdub@waugh.id.au Thu Nov 4 07:08:59 2004 Return-Path: <jdub@waugh.id.au> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 8BAEC594D for <devel@amnesiac.heapspace.net>; Thu, 4 Nov 2004 07:08:59 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 36463-03-4 for <devel@amnesiac.heapspace.net>; Thu, 4 Nov 2004 07:08:59 +0000 (GMT) Received: from smtp.syd.swiftdsl.com.au (smtp.syd.swiftdsl.com.au [218.214.224.138]) by amnesiac.heapspace.net (Postfix) with SMTP id 13A535904 for <devel@lists.planetplanet.org>; Thu, 4 Nov 2004 07:08:57 +0000 (GMT) Received: (qmail 18164 invoked from network); 4 Nov 2004 07:09:05 -0000 Received: from unknown (HELO home.waugh.id.au) (218.214.67.227) by smtp-2.syd.swiftdsl.com.au with SMTP; 4 Nov 2004 07:09:05 -0000 Received: from home.waugh.id.au (ubuntu.home [192.168.10.100]) by home.waugh.id.au (Postfix) with ESMTP id CA10615B57E for <devel@lists.planetplanet.org>; Thu, 4 Nov 2004 18:08:51 +1100 (EST) Received: by home.waugh.id.au (Postfix, from userid 1000) id 10E7713E8C; Thu, 4 Nov 2004 18:08:45 +1100 (EST) Date: Thu, 4 Nov 2004 18:08:45 +1100 From: Jeff Waugh <jdub@perkypants.org> To: devel@lists.planetplanet.org Subject: Re: [Devel] web interface? Message-ID: <20041104070845.GN6590@localhost.localdomain> Mail-Followup-To: devel@lists.planetplanet.org References: <200411040951.54242.theigel@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200411040951.54242.theigel@mail.ru> Reply-By: Sun Nov 7 17:54:14 EST 2004 X-Operating-System: Linux 2.6.8.1-3-686 i686 X-Message-Flag: Cranky? Try Free Software instead! X-Uptime: 17:54:14 up 23:45, 4 users, load average: 0.13, 0.26, 0.18 User-Agent: Mutt/1.5.6+20040523i X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 04 Nov 2004 07:08:59 -0000 Status: O Content-Length: 568 Lines: 19 <quote who="Serega"> > Have anybody already written a webinterface for configuring the Planet? > First of all, I mean adding / removing feeds. I've seen a cool setup where the feeds bit of config.ini was hosted in a wiki, and pulled down each time the Planet cronjob was run. Very clever. :) But that's not very 'GUI' style configuration... > If nobody, then I will ;-) Cool, I'd encourage you to write it in Python. ;-) - Jeff -- linux.conf.au 2005: Canberra, Australia http://lca2005.linux.org.au/ I am Jack's smoking gun. From scott@netsplit.com Thu Nov 4 10:26:08 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 64D4E586B for <devel@amnesiac.heapspace.net>; Thu, 4 Nov 2004 10:26:08 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 40784-01 for <devel@amnesiac.heapspace.net>; Thu, 4 Nov 2004 10:26:08 +0000 (GMT) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id A98F9582F for <devel@lists.planetplanet.org>; Thu, 4 Nov 2004 10:26:07 +0000 (GMT) Received: (qmail 21168 invoked from network); 4 Nov 2004 10:26:05 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 4 Nov 2004 10:26:05 -0000 Subject: Re: [Devel] getting Planet Planet with arch From: Scott James Remnant <scott@netsplit.com> To: Nelson Minar <nelson@monkey.org> In-Reply-To: <16777.3129.889289.801438@cabernet.nelson.monkey.org> References: <41892341.5080406@rdo.homelinux.org> <16777.3129.889289.801438@cabernet.nelson.monkey.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-gF2RAdLELNFBP7Tnz08s" Date: Thu, 04 Nov 2004 10:26:09 +0000 Message-Id: <1099563969.1667.0.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 04 Nov 2004 10:26:08 -0000 Status: O Content-Length: 1034 Lines: 41 --=-gF2RAdLELNFBP7Tnz08s Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2004-11-03 at 08:50 -0800, Nelson Minar wrote: > The secret recipe is > tla register-archive http://arch.netsplit.com/scott@netsplit.com--2004 > tla get scott at netsplit.com--2004/planet--devel--1.0 >=20 Please use this instead: tla register-archive http://people.ubuntu.com/~scott/arch/personal/ tla get scott@netsplit.com--2004/planet--devel--1.10 It's a mirror of the same archive, but with a lot more bandwidth than my ADSL line. Thanks, Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-gF2RAdLELNFBP7Tnz08s Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBigPAIexP3IStZ2wRAi/3AKCBts0pDZnUZkNaFmsMQq8eU9sgDACgle27 A1+/PfnU+qmlkGoc4htJVs4= =5AdA -----END PGP SIGNATURE----- --=-gF2RAdLELNFBP7Tnz08s-- From damog@damog.net Thu Nov 4 13:35:12 2004 Return-Path: <damog@damog.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 611FF594A for <devel@amnesiac.heapspace.net>; Thu, 4 Nov 2004 13:35:12 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 45041-02-3 for <devel@amnesiac.heapspace.net>; Thu, 4 Nov 2004 13:35:12 +0000 (GMT) Received: from server146.jiffynet-hosting.net (ns3.jiffynet-hosting.net [69.57.162.87]) by amnesiac.heapspace.net (Postfix) with ESMTP id EBCF15958 for <devel@lists.planetplanet.org>; Thu, 4 Nov 2004 13:35:11 +0000 (GMT) Received: from [200.13.105.100] (helo=172.17.4.117) by server146.jiffynet-hosting.net with asmtp (Exim 4.34) id 1CPhlN-0007NF-O2; Thu, 04 Nov 2004 08:34:54 -0500 Subject: Re: [Devel] web interface? From: David Moreno Garza <damog@damog.net> To: theigel@mail.ru In-Reply-To: <200411040951.54242.theigel@mail.ru> References: <200411040951.54242.theigel@mail.ru> Content-Type: text/plain Date: Thu, 04 Nov 2004 07:34:35 -0600 Message-Id: <1099575275.3187.19.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server146.jiffynet-hosting.net X-AntiAbuse: Original Domain - lists.planetplanet.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - damog.net X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 04 Nov 2004 13:35:12 -0000 Status: O Content-Length: 415 Lines: 15 On Thu, 2004-11-04 at 09:51 +0300, Serega wrote: > Hi folks. > > Have anybody already written a webinterface for configuring the Planet? First > of all, I mean adding / removing feeds. > > If nobody, then I will ;-) Are you planning on using Python too? -- David Moreno Garza <damog@damog.net> | http://www.damog.net/ GPG: 356E16CD - 84F0 E180 8AF6 E8D0 842F B520 63F3 08DB 356E 16CD Plant a tree sometime. From theigel@mail.ru Thu Nov 4 16:28:22 2004 Return-Path: <theigel@mail.ru> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 191635829 for <devel@amnesiac.heapspace.net>; Thu, 4 Nov 2004 16:28:22 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 49024-01-26 for <devel@amnesiac.heapspace.net>; Thu, 4 Nov 2004 16:28:21 +0000 (GMT) Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by amnesiac.heapspace.net (Postfix) with ESMTP id 973CB581A for <devel@lists.planetplanet.org>; Thu, 4 Nov 2004 16:28:21 +0000 (GMT) Received: from [195.190.121.82] (port=1772 helo=[10.254.101.10]) by mx2.mail.ru with esmtp id 1CPkTE-0006iJ-00; Thu, 04 Nov 2004 19:28:20 +0300 From: Serega <theigel@mail.ru> To: David Moreno Garza <damog@damog.net> Subject: Re: [Devel] web interface? Date: Thu, 4 Nov 2004 19:28:33 +0300 User-Agent: KMail/1.6.1 References: <200411040951.54242.theigel@mail.ru> <1099575275.3187.19.camel@localhost.localdomain> In-Reply-To: <1099575275.3187.19.camel@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Message-Id: <200411041928.33886.theigel@mail.ru> X-Spam: Not detected X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: theigel@mail.ru List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 04 Nov 2004 16:28:22 -0000 Status: O Content-Length: 257 Lines: 9 > > Have anybody already written a webinterface for configuring the Planet? > > First of all, I mean adding / removing feeds. > > > > If nobody, then I will ;-) > > Are you planning on using Python too? If I will, it will be definitely Python. I like it! From chris@silenceisdefeat.org Tue Nov 9 20:50:10 2004 Return-Path: <chris@silenceisdefeat.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 088F2587A for <devel@amnesiac.heapspace.net>; Tue, 9 Nov 2004 20:50:10 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06384-02-11 for <devel@amnesiac.heapspace.net>; Tue, 9 Nov 2004 20:50:09 +0000 (GMT) Received: from mail.snappydsl.net (mail.snappydsl.net [68.142.0.6]) by amnesiac.heapspace.net (Postfix) with ESMTP id 42C885879 for <devel@lists.planetplanet.org>; Tue, 9 Nov 2004 20:50:09 +0000 (GMT) Received: from 192.168.1.100 [68.142.30.35] by mail.snappydsl.net with ESMTP (SMTPD32-8.05) id ADA2EBA80072; Tue, 09 Nov 2004 15:50:42 -0500 From: Chris Brunner <chris@silenceisdefeat.org> To: devel@lists.planetplanet.org Content-Type: text/plain Date: Tue, 09 Nov 2004 14:53:29 -0600 Message-Id: <1100033609.2143.29.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Trouble with Atom feeds X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 09 Nov 2004 20:50:10 -0000 Status: O Content-Length: 808 Lines: 24 Hi all, First of all, I want to thank everyone who has contributed to Planet. It's a cool piece of software and I enjoy using it. If anyone here ever needs free hosting or a free shell, just let me know and I'd be glad to hook you up. Now for my question... I've setup a planet at the following URL: http://www.chrisbrunner.com/iraq/ My problem is that atom feeds sometimes end up with extra characters or missing content. If you visit the URL above and scroll down a little, you'll probably see what I'm talking about. There are no error messages nor any abnormal output when planet.py is executed. I'm running planet v.2. Does anyone know what's going wrong and how I could fix it? Thanks in advance! -- Chris Brunner chris@silenceisdefeat.org SD System Administrator http://silenceisdefeat.org From acrosby@nps.k12.va.us Tue Nov 9 21:31:57 2004 Return-Path: <acrosby@nps.k12.va.us> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id C84D259E4 for <devel@amnesiac.heapspace.net>; Tue, 9 Nov 2004 21:31:56 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07354-03-4 for <devel@amnesiac.heapspace.net>; Tue, 9 Nov 2004 21:31:56 +0000 (GMT) Received: from 000gwguard.nps.k12.va.us (mailmx.nps.k12.va.us [216.54.48.13]) by amnesiac.heapspace.net (Postfix) with ESMTP id 10F2359C1 for <devel@lists.planetplanet.org>; Tue, 9 Nov 2004 21:31:55 +0000 (GMT) Received: from 000main-gwweb.nps.k12.va.us (unverified [216.54.48.8]) by 000gwguard.nps.k12.va.us (Vircom SMTPRS 3.2.326.0) with ESMTP id <B0002694210@000gwguard.nps.k12.va.us> for <devel@lists.planetplanet.org>; Tue, 9 Nov 2004 16:30:17 -0500 Received: from Gateway-MTA by 000main-gwweb.nps.k12.va.us with Novell_GroupWise; Tue, 09 Nov 2004 16:31:23 -0500 Message-Id: <s190f0db.076@000main-gwweb.nps.k12.va.us> X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Tue, 09 Nov 2004 16:31:10 -0500 From: "Adam Crosby" <acrosby@nps.k12.va.us> To: <devel@lists.planetplanet.org>, <chris@silenceisdefeat.org> Subject: Re: [Devel] Trouble with Atom feeds Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at heapspace.net Cc: X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 09 Nov 2004 21:31:57 -0000 Status: O Content-Length: 1641 Lines: 46 It looks like there's a typo somehwere that's putting a '>' after ever = <br> - it looks like planet isn't handling <br/> that the ATOM files are = using. Someone else had this problem, in the thread starting here: http://lists.planetplanet.org/pipermail/devel/2004-May/000124.html To summarize - <br/> is valid, but it's recommended that you use <br /> = for backwards compat. with HTML. If you can, change your feeds to use <br = /> instead of <br/> and it'll clean up nicely. Or submit a patch that = incorporates XHTML compat into planetplanet (which I thought had been = done??). * Adam >>> Chris Brunner <chris@silenceisdefeat.org> 11/9/2004 3:53:29 PM >>> Hi all, First of all, I want to thank everyone who has contributed to Planet. It's a cool piece of software and I enjoy using it. If anyone here ever needs free hosting or a free shell, just let me know and I'd be glad to hook you up. Now for my question... I've setup a planet at the following URL: http://www.chrisbrunner.com/iraq/=20 My problem is that atom feeds sometimes end up with extra characters or missing content. If you visit the URL above and scroll down a little, you'll probably see what I'm talking about. There are no error messages nor any abnormal output when planet.py is executed. I'm running planet v.2. Does anyone know what's going wrong and how I could fix it? Thanks in advance! --=20 Chris Brunner chris@silenceisdefeat.org=20 SD System Administrator http://silenceisdefeat.org=20 _______________________________________________ Devel mailing list Devel@lists.planetplanet.org=20 http://lists.planetplanet.org/mailman/listinfo/devel From nelson@nelson.monkey.org Tue Nov 9 22:00:13 2004 Return-Path: <nelson@nelson.monkey.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0C98B5A9C for <devel@amnesiac.heapspace.net>; Tue, 9 Nov 2004 22:00:13 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08042-04 for <devel@amnesiac.heapspace.net>; Tue, 9 Nov 2004 22:00:12 +0000 (GMT) Received: from cabernet.nelson.monkey.org (adsl-63-194-75-26.dsl.snfc21.pacbell.net [63.194.75.26]) by amnesiac.heapspace.net (Postfix) with ESMTP id 79B4D5A9B for <devel@lists.planetplanet.org>; Tue, 9 Nov 2004 22:00:12 +0000 (GMT) Received: by cabernet.nelson.monkey.org (Postfix, from userid 30193) id E15E88C001; Tue, 9 Nov 2004 14:00:04 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16785.15844.878074.927419@cabernet.nelson.monkey.org> Date: Tue, 9 Nov 2004 14:00:04 -0800 From: Nelson Minar <nelson@monkey.org> To: Chris Brunner <chris@silenceisdefeat.org> Subject: Re: [Devel] Trouble with Atom feeds In-Reply-To: <1100033609.2143.29.camel@localhost> References: <1100033609.2143.29.camel@localhost> X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 09 Nov 2004 22:00:13 -0000 Status: O Content-Length: 314 Lines: 7 >My problem is that atom feeds sometimes end up with extra characters or >missing content. The version of feedparser in planet 0.2 is broken for Atom feeds. You can't easily upgrade it either because the feedparser API changed. I had the exact same problem; grabbing 1.0 from the Arch repository fixed it for me. From chris@silenceisdefeat.org Wed Nov 10 13:52:59 2004 Return-Path: <chris@silenceisdefeat.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id B20425978 for <devel@amnesiac.heapspace.net>; Wed, 10 Nov 2004 13:52:59 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29294-01-6 for <devel@amnesiac.heapspace.net>; Wed, 10 Nov 2004 13:52:59 +0000 (GMT) Received: from mail.snappydsl.net (mail.snappydsl.net [68.142.0.6]) by amnesiac.heapspace.net (Postfix) with ESMTP id F19DE58A7 for <devel@lists.planetplanet.org>; Wed, 10 Nov 2004 13:52:58 +0000 (GMT) Received: from 192.168.1.100 [68.142.30.35] by mail.snappydsl.net with ESMTP (SMTPD32-8.05) id AD5C80330054; Wed, 10 Nov 2004 08:53:32 -0500 Subject: Re: [Devel] Trouble with Atom feeds From: Chris Brunner <chris@silenceisdefeat.org> To: devel@lists.planetplanet.org In-Reply-To: <16785.15844.878074.927419@cabernet.nelson.monkey.org> References: <1100033609.2143.29.camel@localhost> <16785.15844.878074.927419@cabernet.nelson.monkey.org> Content-Type: text/plain Date: Wed, 10 Nov 2004 07:56:14 -0600 Message-Id: <1100094974.2452.66.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 10 Nov 2004 13:53:00 -0000 Status: O Content-Length: 472 Lines: 14 Does anyone have a working snapshot of the version 1.0 code? Thanks in advance, Chris On Tue, 2004-11-09 at 14:00 -0800, Nelson Minar wrote: > >My problem is that atom feeds sometimes end up with extra characters or > >missing content. > > The version of feedparser in planet 0.2 is broken for Atom feeds. You > can't easily upgrade it either because the feedparser API changed. I > had the exact same problem; grabbing 1.0 from the Arch repository > fixed it for me. From simos74@gmx.net Wed Nov 10 15:45:07 2004 Return-Path: <simos74@gmx.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 957A15974 for <devel@amnesiac.heapspace.net>; Wed, 10 Nov 2004 15:45:07 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31140-02-43 for <devel@amnesiac.heapspace.net>; Wed, 10 Nov 2004 15:45:07 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id 1FEF55967 for <devel@lists.planetplanet.org>; Wed, 10 Nov 2004 15:45:02 +0000 (GMT) Received: (qmail 8537 invoked by uid 65534); 10 Nov 2004 15:45:02 -0000 Received: from unknown (EHLO [134.219.20.135]) (134.219.20.135) by mail.gmx.net (mp024) with SMTP; 10 Nov 2004 16:45:02 +0100 X-Authenticated: #10070094 Subject: Re: [Devel] getting Planet Planet with arch From: Simos Xenitellis <simos74@gmx.net> To: Scott James Remnant <scott@netsplit.com> In-Reply-To: <1099563969.1667.0.camel@descent.netsplit.com> References: <41892341.5080406@rdo.homelinux.org> <16777.3129.889289.801438@cabernet.nelson.monkey.org> <1099563969.1667.0.camel@descent.netsplit.com> Content-Type: text/plain Message-Id: <1100101585.2995.345.camel@kl> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Wed, 10 Nov 2004 15:46:26 +0000 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Planet Planet Dev List <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 10 Nov 2004 15:45:07 -0000 Status: O Content-Length: 584 Lines: 25 On Thu, 2004-11-04 at 10:26, Scott James Remnant wrote: > On Wed, 2004-11-03 at 08:50 -0800, Nelson Minar wrote: > > > The secret recipe is > > tla register-archive http://arch.netsplit.com/scott@netsplit.com--2004 > > tla get scott at netsplit.com--2004/planet--devel--1.0 > > > Please use this instead: > > tla register-archive http://people.ubuntu.com/~scott/arch/personal/ > tla get scott@netsplit.com--2004/planet--devel--1.10 1.10 or 1.0? Simos > > > It's a mirror of the same archive, but with a lot more bandwidth than my > ADSL line. > > Thanks, > > Scott From scott@netsplit.com Wed Nov 10 15:54:13 2004 Return-Path: <scott@netsplit.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 347285918 for <devel@amnesiac.heapspace.net>; Wed, 10 Nov 2004 15:54:13 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31140-02-70 for <devel@amnesiac.heapspace.net>; Wed, 10 Nov 2004 15:54:12 +0000 (GMT) Received: from mailgate.netsplit.com (populous.netsplit.com [62.49.129.34]) by amnesiac.heapspace.net (Postfix) with ESMTP id 423A258A7 for <devel@lists.planetplanet.org>; Wed, 10 Nov 2004 15:54:12 +0000 (GMT) Received: (qmail 19686 invoked from network); 10 Nov 2004 15:54:08 -0000 Received: from unknown (HELO descent.netsplit.com) (scott@62.49.129.40) by populous.netsplit.com with RC4-MD5 encrypted SMTP; 10 Nov 2004 15:54:08 -0000 Subject: Re: [Devel] getting Planet Planet with arch From: Scott James Remnant <scott@netsplit.com> To: Simos Xenitellis <simos74@gmx.net> In-Reply-To: <1100101585.2995.345.camel@kl> References: <41892341.5080406@rdo.homelinux.org> <16777.3129.889289.801438@cabernet.nelson.monkey.org> <1099563969.1667.0.camel@descent.netsplit.com> <1100101585.2995.345.camel@kl> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-jVcK4IjscF8STnxg5ZO7" Date: Wed, 10 Nov 2004 15:54:20 +0000 Message-Id: <1100102060.11424.19.camel@descent.netsplit.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Planet Planet Dev List <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 10 Nov 2004 15:54:13 -0000 Status: O Content-Length: 1159 Lines: 43 --=-jVcK4IjscF8STnxg5ZO7 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2004-11-10 at 15:46 +0000, Simos Xenitellis wrote: > On Thu, 2004-11-04 at 10:26, Scott James Remnant wrote: > > On Wed, 2004-11-03 at 08:50 -0800, Nelson Minar wrote: > >=20 > > > The secret recipe is > > > tla register-archive http://arch.netsplit.com/scott@netsplit.com--2= 004 > > > tla get scott at netsplit.com--2004/planet--devel--1.0 > > >=20 > > Please use this instead: > >=20 > > tla register-archive http://people.ubuntu.com/~scott/arch/personal/ > > tla get scott@netsplit.com--2004/planet--devel--1.10 >=20 > 1.10 or 1.0? >=20 1.0 -- was having a bad day :p Scott --=20 Have you ever, ever felt like this? Had strange things happen? Are you going round the twist? --=-jVcK4IjscF8STnxg5ZO7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBkjmrIexP3IStZ2wRAl3sAKCJ4vYsJJM4m+T1OjNdqvxSCi2jxACeJ7QR ycOo1yUFFZCe3iWS2KXkJCY= =F0hA -----END PGP SIGNATURE----- --=-jVcK4IjscF8STnxg5ZO7-- From chris@silenceisdefeat.org Wed Nov 10 17:10:33 2004 Return-Path: <chris@silenceisdefeat.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 03ABC58F9 for <devel@amnesiac.heapspace.net>; Wed, 10 Nov 2004 17:10:33 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32769-02-13 for <devel@amnesiac.heapspace.net>; Wed, 10 Nov 2004 17:10:32 +0000 (GMT) Received: from mail.snappydsl.net (mail.mhhcpa.com [68.142.0.6]) by amnesiac.heapspace.net (Postfix) with ESMTP id 5005058A7 for <Devel@lists.planetplanet.org>; Wed, 10 Nov 2004 17:10:32 +0000 (GMT) Received: from 192.168.1.100 [68.142.30.35] by mail.snappydsl.net with ESMTP (SMTPD32-8.05) id ABA92E0500F2; Wed, 10 Nov 2004 12:11:05 -0500 Subject: Re: [Devel] Trouble with Atom feeds From: Chris Brunner <chris@silenceisdefeat.org> To: Devel@lists.planetplanet.org In-Reply-To: <16786.15348.786911.487804@cabernet.nelson.monkey.org> References: <1100033609.2143.29.camel@localhost> <16785.15844.878074.927419@cabernet.nelson.monkey.org> <1100070238.2452.3.camel@localhost> <16786.15348.786911.487804@cabernet.nelson.monkey.org> Content-Type: text/plain Date: Wed, 10 Nov 2004 11:13:47 -0600 Message-Id: <1100106827.2452.73.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 10 Nov 2004 17:10:33 -0000 Status: O Content-Length: 837 Lines: 28 Hmm... Version .2 works great for me, but when I try revision 47 of version 1.0, I get the following error: -bash-3.00$ python ~/junk/planet/planet1/planet.py config.ini Traceback (most recent call last): File "/home/chris/junk/planet/planet1/planet.py", line 22, in ? import planet File "/home/chris/junk/planet/planet1/planet/__init__.py", line 33, in ? import dbhash File "/usr/local/lib/python2.3/dbhash.py", line 5, in ? import bsddb File "/usr/local/lib/python2.3/bsddb/__init__.py", line 40, in ? import _bsddb ImportError: No module named _bsddb Any idea what's causing that or what I'm doing wrong? I must be missing something obvious. Thanks in advance On Wed, 2004-11-10 at 08:04 -0800, Nelson Minar wrote: > mm, sorry, not that I can put my hands on. I pu lled version 47 and it > worked. > From freeed@gmail.com Wed Nov 10 18:03:18 2004 Return-Path: <freeed@gmail.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 9AE265839 for <devel@amnesiac.heapspace.net>; Wed, 10 Nov 2004 18:03:18 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 33648-02-19 for <devel@amnesiac.heapspace.net>; Wed, 10 Nov 2004 18:03:18 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.192]) by amnesiac.heapspace.net (Postfix) with ESMTP id C800557D0 for <devel@lists.planetplanet.org>; Wed, 10 Nov 2004 18:03:17 +0000 (GMT) Received: by rproxy.gmail.com with SMTP id z35so237102rne for <devel@lists.planetplanet.org>; Wed, 10 Nov 2004 10:03:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=lwKLw3eaPUypUsc767x3v6oB+diSRNB8zrxs+37T2s2xd/4BqRoBK6scLTY16JQR4cicByOcHLromjawNmN8WdvyCTQH6IT2RLiHK7yAgMbZUlXwBGsiVKh15Z7SQrV4MApGJNnddK6EuUaRvaW2DHXQEizrreZ9bsMje1tc+9g= Received: by 10.38.78.13 with SMTP id a13mr190018rnb; Wed, 10 Nov 2004 10:03:14 -0800 (PST) Received: by 10.38.164.72 with HTTP; Wed, 10 Nov 2004 10:03:14 -0800 (PST) Message-ID: <5a8943c04111010034c5df013@mail.gmail.com> Date: Wed, 10 Nov 2004 19:03:14 +0100 From: Frederic Wenzel <freeed@gmail.com> To: devel@lists.planetplanet.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Feed parsing error X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: Frederic Wenzel <freeed@gmail.com> List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 10 Nov 2004 18:03:19 -0000 Status: O Content-Length: 1652 Lines: 45 Hello developers, today I added the following blog feed to my planet aggregator. http://feeds.feedburner.com/Bildblog Firefox does not claim it to be invalid, but planet doesn't like it. Can someone see what is the problem? Thanks! Fred ---- 8< cut here ------ INFO:root:Subscribing <http://feeds.feedburner.com/Bildblog> INFO:root:Updating feed <http://feeds.feedburner.com/Bildblog> DEBUG:root:Encoding: UTF-8 DEBUG:root:Modified: November 10, 2004 05:04 PM DEBUG:root:URI: <http://feeds.feedburner.com/Bildblog> ERROR:root:Update from <http://feeds.feedburner.com/Bildblog> failed Traceback (most recent call last): File "./planet.py", line 134, in ? channel.update() File "./planetlib.py", line 184, in update self._update(baseuri, data) File "./planetlib.py", line 288, in _update feed.feed(data) File "/usr/lib/python2.2/sgmllib.py", line 95, in feed self.goahead(0) File "/usr/lib/python2.2/sgmllib.py", line 134, in goahead k = self.parse_endtag(i) File "/usr/lib/python2.2/sgmllib.py", line 303, in parse_endtag self.finish_endtag(tag) File "/usr/lib/python2.2/sgmllib.py", line 343, in finish_endtag self.unknown_endtag(tag) File "./feedparser.py", line 358, in unknown_endtag method() File "./feedparser.py", line 778, in _end_content value = self.pop('content') File "./feedparser.py", line 480, in pop output = resolveRelativeURIs(output, self.baseuri) File "./feedparser.py", line 897, in resolveRelativeURIs data = p.output() File "./feedparser.py", line 853, in output return "".join(self.pieces) UnicodeError: ASCII decoding error: ordinal not in range(128) From nelson@nelson.monkey.org Wed Nov 10 18:42:42 2004 Return-Path: <nelson@nelson.monkey.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 9F4F55A73 for <devel@amnesiac.heapspace.net>; Wed, 10 Nov 2004 18:42:42 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 35894-02-4 for <devel@amnesiac.heapspace.net>; Wed, 10 Nov 2004 18:42:42 +0000 (GMT) Received: from cabernet.nelson.monkey.org (adsl-63-194-75-26.dsl.snfc21.pacbell.net [63.194.75.26]) by amnesiac.heapspace.net (Postfix) with ESMTP id 1552C5A71 for <Devel@lists.planetplanet.org>; Wed, 10 Nov 2004 18:42:41 +0000 (GMT) Received: by cabernet.nelson.monkey.org (Postfix, from userid 30193) id 7CB358C001; Wed, 10 Nov 2004 10:42:38 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16786.24862.459326.469564@cabernet.nelson.monkey.org> Date: Wed, 10 Nov 2004 10:42:38 -0800 From: Nelson Minar <nelson@monkey.org> To: Chris Brunner <chris@silenceisdefeat.org> Subject: Re: [Devel] Trouble with Atom feeds In-Reply-To: <1100106827.2452.73.camel@localhost> References: <1100033609.2143.29.camel@localhost> <16785.15844.878074.927419@cabernet.nelson.monkey.org> <1100070238.2452.3.camel@localhost> <16786.15348.786911.487804@cabernet.nelson.monkey.org> <1100106827.2452.73.camel@localhost> X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 10 Nov 2004 18:42:42 -0000 Status: O Content-Length: 377 Lines: 9 >ImportError: No module named _bsddb >Any idea what's causing that or what I'm doing wrong? Your Python environment doesn't have bsddb installed. I forget where this comes from; I think it must be an option at build time for Python. My Debian system has it in the stock Python 2.3 install at /usr/lib/python2.3/lib-dynload/_bsddb.so but a RedHat box I use sometimes didn't. From theigel@mail.ru Fri Nov 12 08:53:07 2004 Return-Path: <theigel@mail.ru> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id C544A585A for <devel@amnesiac.heapspace.net>; Fri, 12 Nov 2004 08:53:06 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 82231-04-3 for <devel@amnesiac.heapspace.net>; Fri, 12 Nov 2004 08:53:06 +0000 (GMT) Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by amnesiac.heapspace.net (Postfix) with ESMTP id 5C589585E for <devel@lists.planetplanet.org>; Fri, 12 Nov 2004 08:53:06 +0000 (GMT) Received: from [195.190.121.82] (port=1152 helo=[10.254.101.10]) by mx2.mail.ru with esmtp id 1CSXB3-000Dnd-00; Fri, 12 Nov 2004 11:53:05 +0300 From: Serega <theigel@mail.ru> To: devel@lists.planetplanet.org, Frederic Wenzel <freeed@gmail.com> Subject: Re: [Devel] Feed parsing error Date: Fri, 12 Nov 2004 11:53:39 +0300 User-Agent: KMail/1.6.1 References: <5a8943c04111010034c5df013@mail.gmail.com> In-Reply-To: <5a8943c04111010034c5df013@mail.gmail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200411121153.40427.theigel@mail.ru> X-Spam: Not detected X-Virus-Scanned: by amavisd-new at heapspace.net Cc: X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: theigel@mail.ru List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Fri, 12 Nov 2004 08:53:07 -0000 Status: O Content-Length: 621 Lines: 15 On Wednesday 10 November 2004 21:03, Frederic Wenzel wrote: > Hello developers, > > today I added the following blog feed to my planet aggregator. > http://feeds.feedburner.com/Bildblog > > Firefox does not claim it to be invalid, but planet doesn't like it. > Can someone see what is the problem? > UnicodeError: ASCII decoding error: ordinal not in range(128) Somewhere a 8bit string was being converted to unicode, and it contained non-ASCII character (code 128 or higher). Try dropping a few "print"s in the feedparser and then try parsing this feed with feedparser to see what line exactly causes the problem. From simos74@gmx.net Fri Nov 12 09:17:48 2004 Return-Path: <simos74@gmx.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 600A5588F for <devel@amnesiac.heapspace.net>; Fri, 12 Nov 2004 09:17:48 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 82919-02-14 for <devel@amnesiac.heapspace.net>; Fri, 12 Nov 2004 09:17:48 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by amnesiac.heapspace.net (Postfix) with SMTP id DCEEB5888 for <devel@lists.planetplanet.org>; Fri, 12 Nov 2004 09:17:47 +0000 (GMT) Received: (qmail 22092 invoked by uid 65534); 12 Nov 2004 09:17:47 -0000 Received: from cpc1-addl1-4-0-cust135.herm.cable.ntl.com (EHLO [192.168.1.2]) (81.96.5.135) by mail.gmx.net (mp015) with SMTP; 12 Nov 2004 10:17:47 +0100 X-Authenticated: #10070094 Subject: Re: [Devel] Feed parsing error From: Simos Xenitellis <simos74@gmx.net> To: theigel@mail.ru In-Reply-To: <200411121153.40427.theigel@mail.ru> References: <5a8943c04111010034c5df013@mail.gmail.com> <200411121153.40427.theigel@mail.ru> Content-Type: text/plain Message-Id: <1100251151.3141.3.camel@kl> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Fri, 12 Nov 2004 09:19:12 +0000 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Planet Planet Dev List <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Fri, 12 Nov 2004 09:17:48 -0000 Status: O Content-Length: 1060 Lines: 26 On Fri, 2004-11-12 at 08:53, Serega wrote: > On Wednesday 10 November 2004 21:03, Frederic Wenzel wrote: > > Hello developers, > > > > today I added the following blog feed to my planet aggregator. > > http://feeds.feedburner.com/Bildblog > > > > Firefox does not claim it to be invalid, but planet doesn't like it. > > Can someone see what is the problem? > > > UnicodeError: ASCII decoding error: ordinal not in range(128) > > Somewhere a 8bit string was being converted to unicode, and it contained > non-ASCII character (code 128 or higher). Try dropping a few "print"s in the > feedparser and then try parsing this feed with feedparser to see what line > exactly causes the problem. I have been getting that sort of messages recently. The character in question was 0xCA althouth I could not find it in the RSS feed. I ended up updated the Planetplanet installation (yesterday) and the problem went away. Quite weird. I would rather prefer if feedparser would replace those characters with "<BAD CHARACTER DUDE>" in the HTML file and continue. s. From freeed@gmail.com Fri Nov 12 10:48:29 2004 Return-Path: <freeed@gmail.com> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0BCD758B2 for <devel@amnesiac.heapspace.net>; Fri, 12 Nov 2004 10:48:29 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 85124-01-5 for <devel@amnesiac.heapspace.net>; Fri, 12 Nov 2004 10:48:28 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.199]) by amnesiac.heapspace.net (Postfix) with ESMTP id 74A2C589A for <devel@lists.planetplanet.org>; Fri, 12 Nov 2004 10:48:28 +0000 (GMT) Received: by rproxy.gmail.com with SMTP id z35so424004rne for <devel@lists.planetplanet.org>; Fri, 12 Nov 2004 02:48:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=PBBc7TKSN/aiPzi648KkPKiIXxdELy08QEL8XN1024FDKXxglF7uqdlxj4QLP5wny2M1e21L58Ytm5y58wMgG2Eq0c8HF3ftLB6y2vfbPyiTIt+w8o+l+8VTKMXaVq9NPiJnRyApA5hHaicQUq4XfDH5/NVlNWibQOvLT7v/TBs= Received: by 10.38.97.33 with SMTP id u33mr190932rnb; Fri, 12 Nov 2004 02:48:27 -0800 (PST) Received: by 10.38.164.72 with HTTP; Fri, 12 Nov 2004 02:48:27 -0800 (PST) Message-ID: <5a8943c04111202482beefd47@mail.gmail.com> Date: Fri, 12 Nov 2004 11:48:27 +0100 From: Frederic Wenzel <freeed@gmail.com> To: Simos Xenitellis <simos74@gmx.net> Subject: Re: [Devel] Feed parsing error In-Reply-To: <1100251151.3141.3.camel@kl> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <5a8943c04111010034c5df013@mail.gmail.com> <200411121153.40427.theigel@mail.ru> <1100251151.3141.3.camel@kl> X-Virus-Scanned: by amavisd-new at heapspace.net Cc: Planet Planet Dev List <devel@lists.planetplanet.org> X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: Frederic Wenzel <freeed@gmail.com> List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Fri, 12 Nov 2004 10:48:29 -0000 Status: O Content-Length: 288 Lines: 8 > Quite weird. I would rather prefer if feedparser would replace those > characters with "<BAD CHARACTER DUDE>" in the HTML file and continue. I'd also appreciate something like that. Anyway, a tilde would also do its job - some obscure tag would only confuse the users ;) Regards Fred From gcwpd-devel@m.gmane.org Fri Nov 12 15:30:45 2004 Return-Path: <gcwpd-devel@m.gmane.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 83B7C58B7 for <devel@amnesiac.heapspace.net>; Fri, 12 Nov 2004 15:30:45 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 91930-01-13 for <devel@amnesiac.heapspace.net>; Fri, 12 Nov 2004 15:30:45 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by amnesiac.heapspace.net (Postfix) with ESMTP id 0DD4758B2 for <devel@lists.planetplanet.org>; Fri, 12 Nov 2004 15:30:44 +0000 (GMT) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CSdNs-00073i-00 for <devel@lists.planetplanet.org>; Fri, 12 Nov 2004 16:30:44 +0100 Received: from boron.eu.sun.com ([192.18.1.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <devel@lists.planetplanet.org>; Fri, 12 Nov 2004 16:30:43 +0100 Received: from dme by boron.eu.sun.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <devel@lists.planetplanet.org>; Fri, 12 Nov 2004 16:30:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: devel@lists.planetplanet.org From: David Edmondson <dme@dme.org> Date: Fri, 12 Nov 2004 15:13:06 +0000 Organization: none Message-ID: <m2d5yjaynx.fsf@chocolate-chip-cookie.dme.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: boron.eu.sun.com User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (powerpc-apple-darwin7.6.0) Cancel-Lock: sha1:r6bX3X2EzZHhk3tQkSAArZvPKE4= Sender: news <news@sea.gmane.org> X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] abbreviated content X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Fri, 12 Nov 2004 15:30:45 -0000 Status: O Content-Length: 1111 Lines: 27 In my currently-hacked version of Planet I've added a truncated form of an Item's content[1]. This is done quite simply - I grab just the first 200 characters of the Item's content and then use mxtidy to ensure that it is sane HTML. The modifications were made to feedparser.py, as that already had code to sanitize HTML chunks and it was easy to reuse. In looking at moving to a more current version of Planet I'll have to re-introduce this code somehow, as many of the Planet Sun readers seem to like it. It strikes me that producing the abbreviated content is really a function of an aggregator (i.e. Planet) rather than a feed parser. That means I'd want to add something like the _sanitizeHTML() function to Planet and the consequent (optional) dependency on the Egenix experimental code. Is this the sort of thing that might get accepted back into the main branch? I'll probably write the code anyway, I'm just curious to see if an alternative approach would be preferred. Footnotes: [1] Normal version at http://planetsun.org, trunacated version at http://planetsun.org/abbrev.html. dme. From xavier@devilcrack.org Sun Nov 14 16:12:00 2004 Return-Path: <xavier@devilcrack.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 4550D5A8A for <devel@amnesiac.heapspace.net>; Sun, 14 Nov 2004 16:12:00 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 50604-04-4 for <devel@amnesiac.heapspace.net>; Sun, 14 Nov 2004 16:12:00 +0000 (GMT) Received: from theundertaker.devilcrack.org (core.proyectos.gye.telconet.net [200.93.195.20]) by amnesiac.heapspace.net (Postfix) with ESMTP id 6C4CF5A89 for <devel@lists.planetplanet.org>; Sun, 14 Nov 2004 16:11:59 +0000 (GMT) Received: from theundertaker.devilcrack.org (theundertaker.devilcrack.org [127.0.0.1]) by theundertaker.devilcrack.org (8.12.11/8.12.10) with ESMTP id iAEGBtHq003566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <devel@lists.planetplanet.org>; Sun, 14 Nov 2004 11:11:55 -0500 Received: (from apache@localhost) by theundertaker.devilcrack.org (8.12.11/8.12.11/Submit) id iAEGBtnT003565; Sun, 14 Nov 2004 11:11:55 -0500 X-Authentication-Warning: theundertaker.devilcrack.org: apache set sender to xavier@devilcrack.org using -f Received: from 200.93.214.22 (SquirrelMail authenticated user xavierc); by www.devilcrack.org with HTTP; Sun, 14 Nov 2004 11:11:55 -0500 (ECT) Message-ID: <1332.200.93.214.22.1100448715.squirrel@200.93.214.22> Date: Sun, 14 Nov 2004 11:11:55 -0500 (ECT) From: "Xavier Cabrera" <xavier@devilcrack.org> To: devel@lists.planetplanet.org User-Agent: SquirrelMail/1.4.3a-1 X-Mailer: SquirrelMail/1.4.3a-1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Help whit RSS please X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: xavier@devilcrack.org List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sun, 14 Nov 2004 16:12:00 -0000 Status: O Content-Length: 179 Lines: 8 When the users have Movable type... what kind of right configuration must have theirs RSS??? Anybody can send me any RSS for example... Thanks so much. Kind Regards... Xavier. From damog@damog.net Sun Nov 14 18:17:42 2004 Return-Path: <damog@damog.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id D975B5903 for <devel@amnesiac.heapspace.net>; Sun, 14 Nov 2004 18:17:41 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 54430-01-3 for <devel@amnesiac.heapspace.net>; Sun, 14 Nov 2004 18:17:41 +0000 (GMT) Received: from server146.jiffynet-hosting.net (ns3.jiffynet-hosting.net [69.57.162.87]) by amnesiac.heapspace.net (Postfix) with ESMTP id 5E50E57BA for <devel@lists.planetplanet.org>; Sun, 14 Nov 2004 18:17:41 +0000 (GMT) Received: from [201.129.37.18] (helo=192.168.1.25) by server146.jiffynet-hosting.net with asmtp (Exim 4.34) id 1CTOwP-0003rB-Gf for devel@lists.planetplanet.org; Sun, 14 Nov 2004 13:17:33 -0500 From: David Moreno Garza <damog@damog.net> To: devel@lists.planetplanet.org Content-Type: text/plain Date: Sun, 14 Nov 2004 12:17:35 -0600 Message-Id: <1100456255.3259.32.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server146.jiffynet-hosting.net X-AntiAbuse: Original Domain - lists.planetplanet.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - damog.net X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] UnicodeDecodeError X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Sun, 14 Nov 2004 18:17:42 -0000 Status: O Content-Length: 1620 Lines: 43 Hola, I will appreciate any hint for this error I'm getting while getting an specific feed on my Planet: DEBUG:root:URI: <http://feeds.feedburner.com/alanaspuru> ERROR:root:Update from <http://feeds.feedburner.com/alanaspuru> failed Traceback (most recent call last): File "planet.py", line 134, in ? channel.update() File "/var/www/planeta/planetlib.py", line 203, in update self._update(baseuri, data) File "/var/www/planeta/planetlib.py", line 309, in _update feed.feed(data) File "/usr/lib/python2.3/sgmllib.py", line 95, in feed self.goahead(0) File "/usr/lib/python2.3/sgmllib.py", line 134, in goahead k = self.parse_endtag(i) File "/usr/lib/python2.3/sgmllib.py", line 293, in parse_endtag self.finish_endtag(tag) File "/usr/lib/python2.3/sgmllib.py", line 333, in finish_endtag self.unknown_endtag(tag) File "/var/www/planeta/feedparser.py", line 358, in unknown_endtag method() File "/var/www/planeta/feedparser.py", line 778, in _end_content value = self.pop('content') File "/var/www/planeta/feedparser.py", line 480, in pop output = resolveRelativeURIs(output, self.baseuri) File "/var/www/planeta/feedparser.py", line 897, in resolveRelativeURIs data = p.output() File "/var/www/planeta/feedparser.py", line 853, in output return "".join(self.pieces) UnicodeDecodeError: 'ascii' codec can't decode byte 0xad in position 0: ordinal not in range(128) Regards, -- David Moreno Garza <damog@damog.net> | http://www.damog.net/ GPG: 356E16CD - 84F0 E180 8AF6 E8D0 842F B520 63F3 08DB 356E 16CD Women should be obscene and not heard. From gcwpd-devel@m.gmane.org Tue Nov 16 12:16:29 2004 Return-Path: <gcwpd-devel@m.gmane.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 948B15B41 for <devel@amnesiac.heapspace.net>; Tue, 16 Nov 2004 12:16:29 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15724-01-20 for <devel@amnesiac.heapspace.net>; Tue, 16 Nov 2004 12:16:29 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by amnesiac.heapspace.net (Postfix) with ESMTP id 148B15B40 for <devel@lists.planetplanet.org>; Tue, 16 Nov 2004 12:16:28 +0000 (GMT) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CU2G4-0004tC-00 for <devel@lists.planetplanet.org>; Tue, 16 Nov 2004 13:16:28 +0100 Received: from host217-37-28-201.in-addr.btopenworld.com ([217.37.28.201]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <devel@lists.planetplanet.org>; Tue, 16 Nov 2004 13:16:28 +0100 Received: from dme by host217-37-28-201.in-addr.btopenworld.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <devel@lists.planetplanet.org>; Tue, 16 Nov 2004 13:16:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: devel@lists.planetplanet.org From: David Edmondson <dme@dme.org> Date: Tue, 16 Nov 2004 12:16:22 +0000 Organization: none Message-ID: <m2oehykmzt.fsf@chocolate-chip-cookie.dme.org> References: <m2d5yjaynx.fsf@chocolate-chip-cookie.dme.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host217-37-28-201.in-addr.btopenworld.com User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (powerpc-apple-darwin7.6.0) Cancel-Lock: sha1:5HC3ZJXQPFa6qGkwiBDsRgx6K5k= Sender: news <news@sea.gmane.org> X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] Re: abbreviated content X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 16 Nov 2004 12:16:30 -0000 Status: O Content-Length: 644 Lines: 18 * dme@dme.org [2004-11-12 15:13:06] > It strikes me that producing the abbreviated content is really a > function of an aggregator (i.e. Planet) rather than a feed parser. > That means I'd want to add something like the _sanitizeHTML() > function to Planet and the consequent (optional) dependency on the > Egenix experimental code. This is now implemented. I'm new to arch, so please forgive me if I've screwed up, but a mirror of my arch tree, which is based from Scott's 1.0 repository is at: http://www.dme.org/arch dme@dme.org--2004/planet--devel--1.0 The new code is in use at http://test.planetsun.org/abbrev.html. dme. From gcwpd-devel@m.gmane.org Wed Nov 17 12:54:21 2004 Return-Path: <gcwpd-devel@m.gmane.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id 5FD1E5BB1 for <devel@amnesiac.heapspace.net>; Wed, 17 Nov 2004 12:54:21 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 54717-01-28 for <devel@amnesiac.heapspace.net>; Wed, 17 Nov 2004 12:54:21 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by amnesiac.heapspace.net (Postfix) with ESMTP id E75EA5BAC for <devel@lists.planetplanet.org>; Wed, 17 Nov 2004 12:54:20 +0000 (GMT) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CUPKG-00073i-00 for <devel@lists.planetplanet.org>; Wed, 17 Nov 2004 13:54:20 +0100 Received: from boron.eu.sun.com ([192.18.1.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <devel@lists.planetplanet.org>; Wed, 17 Nov 2004 13:54:20 +0100 Received: from dme by boron.eu.sun.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <devel@lists.planetplanet.org>; Wed, 17 Nov 2004 13:54:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: devel@lists.planetplanet.org From: David Edmondson <dme@dme.org> Date: Wed, 17 Nov 2004 12:54:15 +0000 Organization: none Message-ID: <m23bz8d4aw.fsf@chocolate-chip-cookie.dme.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: boron.eu.sun.com User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (powerpc-apple-darwin7.6.0) Cancel-Lock: sha1:hyB5E48H37gfE4qrcrXsRwc7XaA= Sender: news <news@sea.gmane.org> X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] filtered planets X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 17 Nov 2004 12:54:21 -0000 Status: O Content-Length: 520 Lines: 15 Support for filtering entries based on a regular expression is added to the version of planet available using arch at: http://www.dme.org/arch dme@dme.org--2004/planet--devel--1.0 A new keyword is added to the [Planet] configuration section - "filter". This should be set to a regular expression. If either the title (if present) or content of an item matches the expression then that item is included in the output. Demo at http://test.planetsun.org/java/ and http://test.planetsun.org/solaris/. dme. From jdub@waugh.id.au Wed Nov 17 21:19:59 2004 Return-Path: <jdub@waugh.id.au> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id BF6355C40 for <devel@amnesiac.heapspace.net>; Wed, 17 Nov 2004 21:19:58 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 71839-01-19 for <devel@amnesiac.heapspace.net>; Wed, 17 Nov 2004 21:19:58 +0000 (GMT) Received: from smtp.syd.swiftdsl.com.au (smtp.syd.swiftdsl.com.au [218.214.224.138]) by amnesiac.heapspace.net (Postfix) with SMTP id 47C0457BA for <devel@lists.planetplanet.org>; Wed, 17 Nov 2004 21:19:54 +0000 (GMT) Received: (qmail 20652 invoked from network); 17 Nov 2004 21:19:48 -0000 Received: from unknown (HELO home.waugh.id.au) (218.214.67.227) by smtp.syd.swiftdsl.com.au with SMTP; 17 Nov 2004 21:19:48 -0000 Received: from home.waugh.id.au (ubuntu.home [192.168.10.100]) by home.waugh.id.au (Postfix) with ESMTP id DF6C315B529; Thu, 18 Nov 2004 08:19:42 +1100 (EST) Received: by home.waugh.id.au (Postfix, from userid 1000) id A5A45141EC; Thu, 18 Nov 2004 08:19:34 +1100 (EST) Date: Thu, 18 Nov 2004 08:19:34 +1100 From: Jeff Waugh <jdub@perkypants.org> To: David Edmondson <dme@dme.org> Subject: Re: [Devel] filtered planets Message-ID: <20041117211934.GD8474@localhost.localdomain> Mail-Followup-To: David Edmondson <dme@dme.org>, devel@lists.planetplanet.org References: <m23bz8d4aw.fsf@chocolate-chip-cookie.dme.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <m23bz8d4aw.fsf@chocolate-chip-cookie.dme.org> X-Message-Flag: Cranky? Try Free Software instead! X-Operating-System: Linux 2.6.9-1-386 i686 Reply-By: Sun Nov 21 08:19:04 EST 2004 X-Uptime: 08:19:04 up 15:35, 5 users, load average: 0.83, 0.58, 0.33 User-Agent: Mutt/1.5.6+20040523i X-Virus-Scanned: by amavisd-new at heapspace.net Cc: devel@lists.planetplanet.org X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Wed, 17 Nov 2004 21:19:59 -0000 Status: O Content-Length: 828 Lines: 23 <quote who="David Edmondson"> > Support for filtering entries based on a regular expression is added > to the version of planet available using arch at: > > http://www.dme.org/arch > dme@dme.org--2004/planet--devel--1.0 > > A new keyword is added to the [Planet] configuration section - > "filter". This should be set to a regular expression. If either the > title (if present) or content of an item matches the expression then > that item is included in the output. Ah, rocking, thanks David! I was just about to start merging my old crappy filtering code into 1.0. This is much better! :-) - Jeff -- linux.conf.au 2005: Canberra, Australia http://linux.conf.au/ What did the sausage say to the tomato at breakfast? "There's not mushroom this morning, is there?" From chris@chrisdolan.net Tue Nov 30 18:44:49 2004 Return-Path: <chris@chrisdolan.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id C7105582A for <devel@amnesiac.heapspace.net>; Tue, 30 Nov 2004 18:44:48 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 69938-02-36 for <devel@amnesiac.heapspace.net>; Tue, 30 Nov 2004 18:44:48 +0000 (GMT) Received: from east.dnspropagation.com (east.dnspropagation.com [67.43.6.227]) by amnesiac.heapspace.net (Postfix) with ESMTP id 3039857FE for <devel@lists.planetplanet.org>; Tue, 30 Nov 2004 18:44:47 +0000 (GMT) Received: from [209.249.163.62] (helo=[209.249.163.62]) by east.dnspropagation.com with asmtp (Exim 4.34) id 1CZCzc-000852-Iz for devel@lists.planetplanet.org; Tue, 30 Nov 2004 13:44:52 -0500 Mime-Version: 1.0 (Apple Message framework v619) X-Priority: 3 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-30--1021035201" Message-Id: <BE6AE013-42FF-11D9-94C6-003065E41C2A@chrisdolan.net> Content-Transfer-Encoding: 7bit From: Chris Dolan <chris@chrisdolan.net> Date: Tue, 30 Nov 2004 12:43:36 -0600 To: devel@lists.planetplanet.org X-Pgp-Agent: GPGMail 1.0.2 X-Mailer: Apple Mail (2.619) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - east.dnspropagation.com X-AntiAbuse: Original Domain - lists.planetplanet.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - chrisdolan.net X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] patches: MacOS; p tags X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Tue, 30 Nov 2004 18:44:49 -0000 Status: O Content-Length: 1740 Lines: 57 --Apple-Mail-30--1021035201 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hello, I'm new to PlanetPlanet and arch, so hopefully I've done this right... I've created two miniscule patches against Scott's planet--devel--1.0--patch-47. My patch-1 reverts htmltmpl.py from "fcntl.fcntl" to "fcntl.flock". The former does not work on FreeBSD systems (including MacOS X) using Python 2.3. (see also an earlier post[1]) My patch-2 changes examples/fancy/index.html.tmpl to wrap $content in a <div> tag instead of a <p> tag. HTML 4 does not permit <p> tags to be nested, so a <div> is more correct if the $content may contain <p> tags. % tla logs -f -s chris@chrisdolan.net--2004/planet--devel--1.0--base-0 tag of scott@netsplit.com--2004/planet--devel--1.0--patch-47 chris@chrisdolan.net--2004/planet--devel--1.0--patch-1 Change htmltmpl.py to use fcntl.flock chris@chrisdolan.net--2004/planet--devel--1.0--patch-2 HTML validation tweak % tla whereis-archive chris@chrisdolan.net--2004 http://www.chrisdolan.net/arch/ Chris [1] http://lists.planetplanet.org/pipermail/devel/2004-October/000259.html -- Chris Dolan, Software Developer, www.chrisdolan.net Public key: http://www.chrisdolan.net/public.key --Apple-Mail-30--1021035201 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (Darwin) iD8DBQFBrL9YFkaTiZyGMj0RAuJYAJ4wUYRsbyam68GyUX+Ypo03c20f4QCfbKq6 3zja0kR6TXuYyNj6UdXnYdM= =RaTQ -----END PGP SIGNATURE----- --Apple-Mail-30--1021035201-- From gcwpd-devel@m.gmane.org Thu Dec 2 12:03:27 2004 Return-Path: <gcwpd-devel@m.gmane.org> X-Original-To: devel@amnesiac.heapspace.net Delivered-To: devel@amnesiac.heapspace.net Received: from localhost (localhost [127.0.0.1]) by amnesiac.heapspace.net (Postfix) with ESMTP id D7857581F for <devel@amnesiac.heapspace.net>; Thu, 2 Dec 2004 12:03:26 +0000 (GMT) Received: from amnesiac.heapspace.net ([127.0.0.1]) by localhost (amnesiac.heapspace.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04558-02-3 for <devel@amnesiac.heapspace.net>; Thu, 2 Dec 2004 12:03:26 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by amnesiac.heapspace.net (Postfix) with ESMTP id 649D9581C for <devel@lists.planetplanet.org>; Thu, 2 Dec 2004 12:03:26 +0000 (GMT) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CZpgD-0005vK-00 for <devel@lists.planetplanet.org>; Thu, 02 Dec 2004 13:03:25 +0100 Received: from boron.eu.sun.com ([192.18.1.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <devel@lists.planetplanet.org>; Thu, 02 Dec 2004 13:03:25 +0100 Received: from dme by boron.eu.sun.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <devel@lists.planetplanet.org>; Thu, 02 Dec 2004 13:03:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: devel@lists.planetplanet.org From: David Edmondson <dme@dme.org> Date: Thu, 02 Dec 2004 12:03:21 +0000 Organization: none Message-ID: <m2pt1slxfa.fsf@chocolate-chip-cookie.dme.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: boron.eu.sun.com User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (powerpc-apple-darwin7.6.0) Cancel-Lock: sha1:qJrfBSBWrJowrOpduyhd54rBkHc= Sender: news <news@sea.gmane.org> X-Virus-Scanned: by amavisd-new at heapspace.net Subject: [Devel] filtering on a per-feed basis X-BeenThere: devel@lists.planetplanet.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "hack the planet..." <devel.lists.planetplanet.org> List-Unsubscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=unsubscribe> List-Archive: <http://lists.planetplanet.org/pipermail/devel> List-Post: <mailto:devel@lists.planetplanet.org> List-Help: <mailto:devel-request@lists.planetplanet.org?subject=help> List-Subscribe: <http://lists.planetplanet.org/mailman/listinfo/devel>, <mailto:devel-request@lists.planetplanet.org?subject=subscribe> X-List-Received-Date: Thu, 02 Dec 2004 12:03:27 -0000 Status: O Content-Length: 280 Lines: 9 Chris Dolan[1] suggested that it might be nice to support filtering feeds individually rather than the Planet as a whole, so I added this. It's in my arch repository[2]. Only lightly tested so far. Footnotes: [1] http://www.chrisdolan.net [2] http://www.dme.org/arch dme. From mel@icious.net Fri Dec 3 00:48:51 2004 Return-Path: <mel@icious.net> X-Original-To: devel@amnesiac.heapspace.net Delivered-T