Ronald Bradford | 1 Oct 2009 21:03
Picon
Gravatar

Emailing details of new posts

Hi List,

Hopefully not a beginner questions, but at http://planetdrizzle.org/ we want to be able to email our discuss list when a new post appears.
Could somebody please point me in the direction of how I may be able to do this.

Thanks

Ronald

--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel
David Moreno | 1 Oct 2009 22:22
Gravatar

Re: Emailing details of new posts

You can setup rss2email:

On Oct 1, 2009, at 3:03 PM, Ronald Bradford wrote:

Hi List,

Hopefully not a beginner questions, but at http://planetdrizzle.org/ we want to be able to email our discuss list when a new post appears.
Could somebody please point me in the direction of how I may be able to do this.

Thanks

Ronald
--
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel


--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel
Mikael Nilsson | 6 Oct 2009 18:15
Gravatar

excerpts in htmltmpl?

Hi!

I'm developing a site where I'd wish to have both the full text AND an
excerpt of the text (produced by excerpt.py) available to the htmltmpl
engine. 

So far, I've failed (the planet:excerpt element isn't available in
htmltmpl templates). Does anyone have a straightforward suggestion? Can
I use target= with a different element name that is actually passed
through to htmltmpl?

/Mikael

--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel

Fabian A. Scherschel | 11 Oct 2009 16:51
Favicon
Gravatar

Linux Outlaws Planet

Hi, everyone!


Just a quick post to let you know of another installation of your awesome software. If you haven't come across it yet, the Linux Outlaws Planet at http://outlawpla.net is running Venus as well. :)

Feel free to add us to the planetplanet.org site.



Best wishes and thanks for this great piece of code!

Fab

--
Fabian A. Scherschel (fabsh)
http://lamerk.org

Co-host / Producer, Linux Outlaws
Co-Organiser, OggCamp
--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel
Matteo Calorio | 19 Oct 2009 13:08
Picon

http://www.mymovies.it/cinema/xml/rss/

Hello!

I have problems with the following site: http://www.mymovies.it/cinema/xml/rss

Feedvalidator says this is a valid RSS feed.

Errors I get follows:

=============================================================================
ERROR:planet.runner:Error processing http://www.mymovies.it/cinema/xml/rss/
ERROR:planet.runner:HTMLParseError: malformed start tag, at line 1, column 68
ERROR:planet.runner:  File "/usr/lib/pymodules/python2.5/planet/spider.py", line 441, in spiderPlanet
    data = feedparser.parse(feed, **options)
ERROR:planet.runner:  File "/usr/lib/pymodules/python2.5/planet/vendor/feedparser.py", line
3525, in parse
    feedparser.feed(data)
ERROR:planet.runner:  File "/usr/lib/pymodules/python2.5/planet/vendor/feedparser.py", line
1662, in feed
    sgmllib.SGMLParser.feed(self, data)
ERROR:planet.runner:  File "/usr/lib/python2.5/sgmllib.py", line 99, in feed
    self.goahead(0)
ERROR:planet.runner:  File "/usr/lib/python2.5/sgmllib.py", line 138, in goahead
    k = self.parse_endtag(i)
ERROR:planet.runner:  File "/usr/lib/python2.5/sgmllib.py", line 315, in parse_endtag
    self.finish_endtag(tag)
ERROR:planet.runner:  File "/usr/lib/python2.5/sgmllib.py", line 355, in finish_endtag
    self.unknown_endtag(tag)
ERROR:planet.runner:  File "/usr/lib/pymodules/python2.5/planet/vendor/feedparser.py", line
569, in unknown_endtag
    method()
ERROR:planet.runner:  File "/usr/lib/pymodules/python2.5/planet/vendor/feedparser.py", line
1414, in _end_description
    value = self.popContent('description')
ERROR:planet.runner:  File "/usr/lib/pymodules/python2.5/planet/vendor/feedparser.py", line
849, in popContent
    value = self.pop(tag)
ERROR:planet.runner:  File "/usr/lib/pymodules/python2.5/planet/vendor/feedparser.py", line
764, in pop
    mfresults = _parseMicroformats(output, self.baseuri, self.encoding)
ERROR:planet.runner:  File "/usr/lib/pymodules/python2.5/planet/vendor/feedparser.py", line
2218, in _parseMicroformats
    p = _MicroformatsParser(htmlSource, baseURI, encoding)
ERROR:planet.runner:  File "/usr/lib/pymodules/python2.5/planet/vendor/feedparser.py", line
1823, in __init__
    self.document = BeautifulSoup.BeautifulSoup(data)
ERROR:planet.runner:  File "/usr/lib/pymodules/python2.5/BeautifulSoup.py", line 1499, in __init__
    BeautifulStoneSoup.__init__(self, *args, **kwargs)
ERROR:planet.runner:  File "/usr/lib/pymodules/python2.5/BeautifulSoup.py", line 1230, in __init__
    self._feed(isHTML=isHTML)
ERROR:planet.runner:  File "/usr/lib/pymodules/python2.5/BeautifulSoup.py", line 1263, in _feed
    self.builder.feed(markup)
ERROR:planet.runner:  File "/usr/lib/python2.5/HTMLParser.py", line 108, in feed
    self.goahead(0)
ERROR:planet.runner:  File "/usr/lib/python2.5/HTMLParser.py", line 148, in goahead
    k = self.parse_starttag(i)
ERROR:planet.runner:  File "/usr/lib/python2.5/HTMLParser.py", line 226, in parse_starttag
    endpos = self.check_for_whole_start_tag(i)
ERROR:planet.runner:  File "/usr/lib/python2.5/HTMLParser.py", line 301, in check_for_whole_start_tag
    self.error("malformed start tag")
ERROR:planet.runner:  File "/usr/lib/python2.5/HTMLParser.py", line 115, in error
    raise HTMLParseError(message, self.getpos())
=============================================================================

Hope this helps,
  Matteo
--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel

Mike Putnam | 20 Oct 2009 05:08
Gravatar

Bug + Patch already written (and verified) Please add to planet-2.0.tar.bz2


Greetings developers,

Oct 14th,  I downloaded and installed planet via:
http://www.planetplanet.org/download/planet-2.0.tar.bz2

Thank you for that.

I did encounter a consistent error on wordpress feeds though.
"AttributeError: object has no attribute 'type'"
A google search led me to:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482143

...which contains the same error (on a Wordpress feed) *AND* a submitted patch
to fix it.  I just applied this patch and viola! no more AttributeError.

If this issue is already known, fixed in devel repo, and just not in the
planet-2.0.tar.bz2 , please count this mail as a vote to update that download
link/tar.bz2.   If this issue is not already known, well, now it is.

The patch on that debian bug worked for me.

Thank you very much for planet and your time & enthusiasm.

Mike Putnam

--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel

Alex Schröder | 20 Oct 2009 20:57
Picon
Gravatar

Fwd: Empty Elements

Hi


I see some people have <strong></strong> in their HTML and their Atom feed. The resulting HTML on my planet, however, gets a <strong/> element. But strong cannot be minimized like that. I downloaded the current tarball and saw the same behaviour. Any ideas? I'm using a hacked up variant of the musing theme and the excerpt plugin. I was able to reproduce the problem using the default theme and the following config file:

[Planet]
name = RPG Planet
message = Experimental Roleplaying Planet for Players and Gamemasters
link = http://planet.campaignwiki.org/
owner_name = Alex Schroeder
owner_email = kensanata <at> gmail.com
cache_directory = /home/alex/src/planet/rpg
log_level = INFO
output_theme = musings
output_dir = /home/alex/src/html/planet
items_per_page = 60
activity_threshold = 90
[http://oldguyrpg.blogspot.com/feeds/posts/default]
name = "Chgowiz's Old Guy RPG Blog"

To see the problem:

grep "<strong/>" html/planet/index.html

… about weather</a>:<br/><strong/><blockquote style="font-style: italic;"><strong>How do the seasons or weather play a part in your game?</strong> …

Regards
Alex


--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel
RuyJol | 21 Oct 2009 02:40
Picon
Gravatar

runtests.py

I'm trying to install venus, following the general instructions (http://intertwingly.net/code/venus/docs/installation.html) i get this message after running python runtests.py

Genshi is not available => can't test genshi filters
Redland RDF is not available => can't test FOAF reading lists
Django is not available => can't test django filters
.........................................................................................EE..................................................................................................
======================================================================
ERROR: test_spiderThreads (tests.test_spider.SpiderTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/****/*****/venus/tests/test_spider.py", line 152, in test_spiderThreads
    spiderPlanet()
  File "/home/****/*****/venus/planet/spider.py", line 393, in spiderPlanet
    threads[i].start()
  File "/usr/lib64/python2.4/threading.py", line 416, in start
    _start_new_thread(self.__bootstrap, ())
error: can't start new thread

======================================================================
ERROR: test_spiderThreads (tests.test_spider.SpiderTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/****/*****/venus/tests/test_spider.py", line 26, in tearDown
    os.removedirs(os.path.split(workdir)[0])
  File "/usr/lib64/python2.4/os.py", line 172, in removedirs
    rmdir(name)
OSError: [Errno 39] Directory not empty: 'tests/work/spider'

----------------------------------------------------------------------
Ran 208 tests in 5.271s

FAILED (errors=2)


can you help me please?

thank you
--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel
Alex Schröder | 21 Oct 2009 14:51
Picon
Gravatar

Re: Empty Elements

I'm a bit confused – the documentation states that you should run the planet using something like "python venus/planet.py planet/config.ini" but now I have the vague feeling that my cache directory is growing and growing. Looking at the source I see the --expunge option. Should I be running "python venus/planet.py --expunge planet/config.ini" instead? Should this be in the documentation somewhere?

Cheers
Alex

--

-- 
devel mailing list
devel <at> lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel

Gmane