Nick Moffitt | 1 Mar 2005 01:24

Re: devel <at> lists.planetplanet.orgの会員様へ

begin  seth vidal  quotation:
> Sure am Tired of the all chinese spam.
> 
> not that spam in any other language is welcome.

	It's in Japanese.

--

-- 
"These people program the way Victorians dress.              Nick Moffitt
It takes two hours and three assistants to put on your      nick <at> zork.net
clothes, and you have to change before dinner.
But everything is modular."    -- Miles Nordin, on PAM
Minh Nguyen | 1 Mar 2005 01:51
Gravatar

RE: Help getting Arch?

Charles,

There are in fact ports of arch for Windows; you read about them at the 
Arch Wiki: http://wiki.gnuarch.org/moin.cgi/Native_20WIN32_20Support

I currently use the Johannes Win32 port, which you can download at the 
same wiki: 
http://wiki.gnuarch.org/moin.cgi/UsingJohannesPort#head-248073249c2a4a2bede3b0344bcd3c61e3f5d3b8

It's apparently incomplete, but enough of arch is implemented that you 
can get Planet from the repositories. Hope this helps.

--

-- 
Minh Nguyen <mxn <at> zoomtown.com>
AIM: trycom2000; Jabber: mxn <at> myjabber.net; Blog: http://mxn.f2o.org/

Attachment (mxn.vcf): text/x-vcard, 548 bytes
Charles,

There are in fact ports of arch for Windows; you read about them at the 
Arch Wiki: http://wiki.gnuarch.org/moin.cgi/Native_20WIN32_20Support

I currently use the Johannes Win32 port, which you can download at the 
same wiki: 
http://wiki.gnuarch.org/moin.cgi/UsingJohannesPort#head-248073249c2a4a2bede3b0344bcd3c61e3f5d3b8

It's apparently incomplete, but enough of arch is implemented that you 
can get Planet from the repositories. Hope this helps.
(Continue reading)

Jon Dowland | 1 Mar 2005 12:23

[patch] don't abandon an entire feed with old posts

Apologies to Jeff and James, whom I mailed personally about this (not
reading deep enough to discover the devel list). I also managed to
attach a reverse patch by mistake.

When I try and use the following feed in a planetplanet installation,
<http://www.livejournal.com/~amtiskaw/data/rss>,
I get the following information, and the feed is ignored:

DEBUG:root:URI: <http://www.livejournal.com/~amtiskaw/data/rss>
WARNING:root:Obviously bogus year in feed (2003), cowardly not updating

My trivial patch (although, my first look at python) ignores only those
entries with 'bogus years' rather than the whole feed. Attached.

Yours,

--

-- 
Jon Dowland, http://jon.dowland.name/
--- planetlib.py~       2005-02-28 09:54:52.000000000 -0600
+++ planetlib.py        2005-02-28 09:55:06.000000000 -0600
 <at>  <at>  -298,7 +298,7  <at>  <at> 
                 logging.warning(("Obviously bogus year in feed (%d), " +
                                  "cowardly not updating")
                                 % (new_items[-1].date[0],))
-                return
+                continue

         self.items = new_items
(Continue reading)

David Pashley | 1 Mar 2005 15:53
Favicon
Gravatar

Re: [patch] don't abandon an entire feed with old posts

On Mar 01, 2005 at 11:23, Jon Dowland praised the llamas by saying:
> Apologies to Jeff and James, whom I mailed personally about this (not
> reading deep enough to discover the devel list). I also managed to
> attach a reverse patch by mistake.
> 
> When I try and use the following feed in a planetplanet installation,
> <http://www.livejournal.com/~amtiskaw/data/rss>,
> I get the following information, and the feed is ignored:
> 
> DEBUG:root:URI: <http://www.livejournal.com/~amtiskaw/data/rss>
> WARNING:root:Obviously bogus year in feed (2003), cowardly not updating
> 
> My trivial patch (although, my first look at python) ignores only those
> entries with 'bogus years' rather than the whole feed. Attached.
> 
> Yours,
> 

> --- planetlib.py~       2005-02-28 09:54:52.000000000 -0600
> +++ planetlib.py        2005-02-28 09:55:06.000000000 -0600
>  <at>  <at>  -298,7 +298,7  <at>  <at> 
>                  logging.warning(("Obviously bogus year in feed (%d), " +
>                                   "cowardly not updating")
>                                  % (new_items[-1].date[0],))
> -                return
> +                continue
>  

Presumably it would make sense to remove the warning that you are
not updating if you in fact do update.
(Continue reading)

Jon Dowland | 1 Mar 2005 16:00

Re: [patch] don't abandon an entire feed with old posts

On Tue, Mar 01, 2005 at 02:53:32PM +0000, David Pashley wrote:

> Presumably it would make sense to remove the warning that you are
> not updating if you in fact do update.

Good point: I think perhaps adjusting the warning so that it indicates
an entry has been skipped rather than the whole feed. I'll look at that
this evening.

--

-- 
Jon Dowland, http://jon.dowland.name/
Gert de Vries | 1 Mar 2005 16:25
Picon
Picon
Favicon

Which version is best, if just starting


Marius Gedminas | 1 Mar 2005 20:07
Picon

Re: Which version is best, if just starting

http://lists.planetplanet.org/pipermail/devel/2005-February/000392.html

HTH,
Marius Gedminas
-- 
This host is a black hole at HTTP wavelengths. GETs go in, and nothing
comes out, not even Hawking radiation.
		-- Graaagh the Mighty on rec.games.roguelike.angband
http://lists.planetplanet.org/pipermail/devel/2005-February/000392.html

HTH,
Marius Gedminas
--

-- 
This host is a black hole at HTTP wavelengths. GETs go in, and nothing
comes out, not even Hawking radiation.
		-- Graaagh the Mighty on rec.games.roguelike.angband
Stuart Jansen | 1 Mar 2005 23:29
Favicon

Re: [PATCH] Add category filtering support to Planet

I have expanded on Dax Kelson's patch adding category filtering support
to Planet. The new patch supports feeds that assign multiple categories
to each entry.

We are currently using this patch on
http://zzz.gurulabs.com/resources/blogs.php
Be aware, however, that the site is currently under development so if
it's broken, just come back later.

-- 
Stuart Jansen <sjansen <at> gurulabs.com>
Guru Labs, L.C.
Attachment (planet.diff): text/x-patch, 2153 bytes
I have expanded on Dax Kelson's patch adding category filtering support
to Planet. The new patch supports feeds that assign multiple categories
to each entry.

We are currently using this patch on
http://zzz.gurulabs.com/resources/blogs.php
Be aware, however, that the site is currently under development so if
it's broken, just come back later.

--

-- 
Stuart Jansen <sjansen <at> gurulabs.com>
Guru Labs, L.C.
Dax Kelson | 1 Mar 2005 23:34
Favicon

Re: [PATCH] Add category filtering support to Planet

On Tue, 2005-03-01 at 15:29 -0700, Stuart Jansen wrote:
> I have expanded on Dax Kelson's patch adding category filtering support
> to Planet. The new patch supports feeds that assign multiple categories
> to each entry.
> 
> We are currently using this patch on
> http://zzz.gurulabs.com/resources/blogs.php
> Be aware, however, that the site is currently under development so if
> it's broken, just come back later.

Sorry I didn't respond earlier. I'm not subscribed to the list and
didn't see the message.

The "zzz" host is going to be renamed to "www" in the near future.

Dax Kelson
Guru Labs

Rodolfo Pilas | 3 Mar 2005 22:47
Picon

problem with rss

Last nightly planet code give me this error:

DEBUG:root:URI: <http://www.d-sur.net/bbusaniche/wp-rss2.php>
ERROR:root:Update from <http://www.d-sur.net/bbusaniche/wp-rss2.php> failed
Traceback (most recent call last):
  File "./planet.py", line 134, in ?
    channel.update()
  File "/home/jsoriano/planet-nightly/planetlib.py", line 184, in update
    self._update(baseuri, data)
  File "/home/jsoriano/planet-nightly/planetlib.py", line 288, 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 "/home/jsoriano/planet-nightly/feedparser.py", line 358, in
unknown_endtag
    method()
  File "/home/jsoriano/planet-nightly/feedparser.py", line 778, in _end_content
    value = self.pop('content')
  File "/home/jsoriano/planet-nightly/feedparser.py", line 480, in pop
    output = resolveRelativeURIs(output, self.baseuri)
  File "/home/jsoriano/planet-nightly/feedparser.py", line 897, in
resolveRelativeURIs
    data = p.output()
  File "/home/jsoriano/planet-nightly/feedparser.py", line 853, in output
(Continue reading)


Gmane