<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.python.imdbpy">
    <title>gmane.comp.python.imdbpy</title>
    <link>http://blog.gmane.org/gmane.comp.python.imdbpy</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.imdbpy/721"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.imdbpy/716"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.imdbpy/710"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.imdbpy/700"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.imdbpy/697"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.imdbpy/695"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.imdbpy/694"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.imdbpy/682"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.imdbpy/678"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.imdbpy/664"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.imdbpy/662"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.imdbpy/658"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.imdbpy/721">
    <title>unit test</title>
    <link>http://comments.gmane.org/gmane.comp.python.imdbpy/721</link>
    <description>&lt;pre&gt;------------------------------------------------------------------------------
Download Intel&amp;amp;#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel
&lt;/pre&gt;</description>
    <dc:creator>Sébastien Ragons</dc:creator>
    <dc:date>2010-03-03T22:47:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.imdbpy/716">
    <title>switch to mercurial?</title>
    <link>http://comments.gmane.org/gmane.comp.python.imdbpy/716</link>
    <description>&lt;pre&gt;Hi,
I'm taking into consideration a switch to mercurial (or maybe git, but
mercurial seems a little easier on the command line and for our needs
it will be more than enough).

Comments on this?

Not that SVN isn't working, but I ran into some problems (especially
tagging/copy releases - problems that I've solved ignoring them, since
they aren't big deals, but...)

I'm doing some experiments and it looks easy to preserve the
commit history of SVN.

PS: info about sourceforce support for mercurial:
  http://sourceforge.net/apps/trac/sourceforge/wiki/Mercurial#Access

A nice introduction to mercurial:
  http://hginit.com/

&lt;/pre&gt;</description>
    <dc:creator>Davide Alberani</dc:creator>
    <dc:date>2010-03-03T13:53:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.imdbpy/710">
    <title>Bugs in 4.5</title>
    <link>http://comments.gmane.org/gmane.comp.python.imdbpy/710</link>
    <description>&lt;pre&gt;------------------------------------------------------------------------------
Download Intel&amp;amp;#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel
&lt;/pre&gt;</description>
    <dc:creator>Karl Newman</dc:creator>
    <dc:date>2010-02-28T18:08:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.imdbpy/700">
    <title>poster</title>
    <link>http://comments.gmane.org/gmane.comp.python.imdbpy/700</link>
    <description>&lt;pre&gt;------------------------------------------------------------------------------
Download Intel&amp;amp;reg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel
&lt;/pre&gt;</description>
    <dc:creator>Sébastien Ragons</dc:creator>
    <dc:date>2010-02-17T23:03:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.imdbpy/697">
    <title>improvements to CSV files support</title>
    <link>http://comments.gmane.org/gmane.comp.python.imdbpy/697</link>
    <description>&lt;pre&gt;In the SVN there are some (preliminary and not tested) improvements to 
the support of CSV files (used by the imdbpy2sql.py script to speed up
the insertion of the data in a SQL database).

Basically, you can use the --csv-only-write and --csv-only-load to
decouple two phases: in the first run of the imdbpy2sql.py script,
the old database is scrapped and the CSV files are created; in the
second run, these CSV files are used to (re)populate the database.

This should be useful under some circumstances.

Moreover, in the 'goodies' directory under 'docs' you'll find two
shell (bash) scripts to handle the plain text data files: applydiffs.sh
applies one or more 'diffs files' to your set of plain text data files;
reduce.sh takes a set of plain text data files and create a "slimmed
down" version of them, considering only 1% of any file.
This is mostly useful to debug and test the imdbpy2sql.py script.


&lt;/pre&gt;</description>
    <dc:creator>Davide Alberani</dc:creator>
    <dc:date>2010-02-01T16:16:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.imdbpy/695">
    <title>IMDbPY + SQLObject + Postgresql</title>
    <link>http://comments.gmane.org/gmane.comp.python.imdbpy/695</link>
    <description>&lt;pre&gt;Just to inform Postgresql users.

It seems that SQLObject 0.13 and 0.12 have a small bug which
prevents the imdbpy2sql.py to work, if you're using Postgresql
(only with the psycopg2 module).

A patch (for SQLObject, I mean) will be available shortly, in
the meanwhile you can:
- downgrade SQLObject to 0.11.
- use imdbpy2sql.py with SQLAlchemy (see README.sqldb).
- use another module instead of psycopg2.


&lt;/pre&gt;</description>
    <dc:creator>Davide Alberani</dc:creator>
    <dc:date>2010-01-04T13:26:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.imdbpy/694">
    <title>more robust IMDbPY</title>
    <link>http://comments.gmane.org/gmane.comp.python.imdbpy/694</link>
    <description>&lt;pre&gt;I'm trying to make IMDbPY more robust to errors: actually even a small
change to IMDb's web site can trigger an exception in our parsers.

I've committed to the SVN [1] a new version, with support for logging [2],
and I've made some small changes to the DOM parser (see the class
imdb.parser.http.utils.DOMParserBase) so that most of the errors are
caught and (hopefully) nicely handled.
The default setting are in the imdb._logging module.

Notice that the code still raises some exceptions: when you're in a
situation that is not recoverable, you're expected to explode. :-)
On the other hand, every time something goes wrong parsing/processing
the data, a message is logged an the code tries to go on.

Things to do and sill open to debate:
- I really do hope that this will not slow down the stream of bug
  reports. :-)
- actually the logs are written to standard error; in the future there
  will be a mean to override this (it can already be done in code) and
  to set things like logLevel, maybe in the .INI file.
- I'm not completely sure about how we should/could integrate the logging
  system with the "warnings" module already used here and there.
  "warnings" has the nice feature that every message is issued just one
  time, and there are spots in with this behaviour is useful.
- the root logger for IMDbPY is called "imdbpy"; right now the only
  used logger is "imdbpy.parser.http.domparser" (scopes are funny and
  useful! ;-)
- so far only the "http" parsers are affected: the next on the list
  are the "mobile" parsers, and maybe something here and there in the
  main code (where I don't think there will be much need).


As usual, any help is greatly appreciated!

+++
[1] http://imdbpy.sf.net/?page=download#svn
[2] the Python logging package is the best thing since Python itself. ;-)
    See the docs:
      http://docs.python.org/library/logging.html
&lt;/pre&gt;</description>
    <dc:creator>Davide Alberani</dc:creator>
    <dc:date>2009-12-22T13:01:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.imdbpy/682">
    <title>runtime parsing broken</title>
    <link>http://comments.gmane.org/gmane.comp.python.imdbpy/682</link>
    <description>&lt;pre&gt;I upgraded to 4.3svn20091112 to get imdbpy working again after imdb
apparently changed their code a bit, but now runtime doesn't seem to
be being parsed correctly.

&amp;lt;Movie id:0068646[http] title:_The Godfather (1972)_&amp;gt;
[]

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
&lt;/pre&gt;</description>
    <dc:creator>CJ</dc:creator>
    <dc:date>2009-11-14T22:11:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.imdbpy/678">
    <title>exception in movieParser.py</title>
    <link>http://comments.gmane.org/gmane.comp.python.imdbpy/678</link>
    <description>&lt;pre&gt;------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel
&lt;/pre&gt;</description>
    <dc:creator>Josh Harding</dc:creator>
    <dc:date>2009-11-14T02:49:42</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.imdbpy/664">
    <title>smart guesses for "canonical" titles</title>
    <link>http://comments.gmane.org/gmane.comp.python.imdbpy/664</link>
    <description>&lt;pre&gt;Hi,
this was a recurring theme: sometimes the "canonical title" for a
movie (the one in the "Movie Title, The" format) returned a wrong
title, because it does some simplistic assumptions about what
an article (in the grammatical sense) is.

Talking with Turgut we came up with a draft of possible solution;
it _can't be_ perfect, but it uses some smartness to guess the
language of (the title of) a movie.

What we need from you is:
1. the name of your language and a list of countries in which it's
   the main lang (see the _LANG_COUNTRIES dictionary in the new
   articles.py file [1]).
2. a list of articles (if possible in order of using frequency)
   in that language - see the LANG_ARTICLES dictionary.

An example that actually works:
  from imdb import IMDb
  ia = IMDb('http')
  m = ia.get_movie('0095016') # Die Hard (1988), a well known problematic case
  print m['canonical title'], '::', m['smart canonical title']
  print m['long imdb canonical title'], '::', m['smart long imdb canonical title']

How it works:
- the utils.canonicalTitle and the utils.build_title functions now
  accept the 'lang' argument, which can be None (in this case the old
  behaviour is triggered - and the same is true if the given lang is
  not known) or can be any language specified in the articles.LANG_ARTICLES
  dictionary.
- the Movie class has a 'smartCanonicalTitle' method, which tries to
  guess the language of the movie using the first production country.  If
  not found, it uses the first languages.
- the smartCanonicalTitle method is called by some keys, like:
    movie['smart canonical title']
    movie['smart long imdb canonical title']
    movie['smart canonical series title']
    movie['smart canonical episode title']

As usual, I'm open to any hint; the current implementation is far from
perfect and was done in a very short amount of time.

I'm not yet sure that testing the production country first, and only
later the language of a movie, is a good idea.  What do you think?


+++
[1] http://imdbpy.svn.sourceforge.net/viewvc/imdbpy/trunk/imdbpy/imdb/articles.py?view=markup
    Contribute to it for fun, glory and money!
    Pick only one.
    And forget about money... ;-)
&lt;/pre&gt;</description>
    <dc:creator>Davide Alberani</dc:creator>
    <dc:date>2009-09-25T15:27:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.imdbpy/662">
    <title>get_top250_movies returns empty list</title>
    <link>http://comments.gmane.org/gmane.comp.python.imdbpy/662</link>
    <description>&lt;pre&gt;------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel
&lt;/pre&gt;</description>
    <dc:creator>Xavier Naidoo</dc:creator>
    <dc:date>2009-08-12T06:09:46</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.imdbpy/658">
    <title>Proxy Support</title>
    <link>http://comments.gmane.org/gmane.comp.python.imdbpy/658</link>
    <description>&lt;pre&gt;------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel
&lt;/pre&gt;</description>
    <dc:creator>James Rubino</dc:creator>
    <dc:date>2009-08-09T05:53:07</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.python.imdbpy">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.python.imdbpy</link>
  </textinput>
</rdf:RDF>
