[mythtv-users] Turning the mythtv xml feed into an RSS feed

Jake Sanders jakeleesanders at gmail.com
Sat Oct 1 02:02:26 UTC 2005

Anybody else get this working?
I'm having problems with it.

I'm using Mandrake (10.1 I think).
I installed mod_python, libxslt, and libxml2.

Although I have a file with virtual host tags in it, they are all
commented out.
However, I did find a file (16_mod_python.conf) that looked appropriate.

When I run, I get the errors listed at the bottom of this message.
I think the primary error is the comment about __str__ not being an
attribute of the xmlDoc.

Anybody have any idea what I did wrong?


Error Listing:
Mod_python error: "PythonHandler mod_python.publisher"

Traceback (most recent call last):

  File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
    result = object(req)

  File "/usr/lib/python2.3/site-packages/mod_python/publisher.py",
line 136, in handler
    result = util.apply_fs_data(object, req.form, req=req)

  File "/usr/lib/python2.3/site-packages/mod_python/util.py", line
361, in apply_fs_data
    return object(**args)

  File "/var/www/html/myth_status/rss.py", line 9, in status
    return apply_transform("/var/www/html/myth_status/status_rss.xsl")

  File "/var/www/html/myth_status/rss.py", line 19, in apply_transform
    str = result.__str__()

AttributeError: xmlDoc instance has no attribute '__str__'

On 9/16/05, Glen Tregoning <glen.tregoning at gmail.com> wrote:
> Hi everyone,
> Recently I made a little py script that converts the MythTV xml feed
> to an RSS feed, using it to monitor my MythTV servers stats (disk
> usage, guide data, upcoming recordings etc).
> I added this RSS feed as a live bookmark in FireFox + to my google
> personalised page (www.google.com/ig), so I can keep an eye on things
> It's especially handy for me as my guide data source occasionally dies
> here in Aus.
> I don't know If anyone else is interested, but I have posted a How To
> for this on my blog:
> http://www.gtbox.info/gtbox/blog/2005/09/04/mythtv-rss-using-the-xml-feed-from-mythtv/
> This is my first How to so hopefully I haven't missed anything. If
> anyone has any Q's let me know!
> Keep up the good work everyone!!
> Glen
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

More information about the mythtv-users mailing list