Re: Trouble writing to database: RSS-reader

2008-01-23 Thread member thudfoo
On 1/23/08, Arne <[EMAIL PROTECTED]> wrote: > On Jan 21, 11:25pm, "Gabriel Genellina" <[EMAIL PROTECTED]> > wrote: > > En Mon, 21 Jan 2008 18:38:48 -0200, Arne <[EMAIL PROTECTED]> escribi�: > > [...] > > This look very interesting! But it looks like that no documents is > well-formed! I've tried s

Re: Trouble writing to database: RSS-reader

2008-01-23 Thread Gabriel Genellina
En Wed, 23 Jan 2008 14:06:10 -0200, Arne <[EMAIL PROTECTED]> escribió: > On Jan 21, 11:25 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> > wrote: >> > On 21 Jan, 19:15, Bruno Desthuilliers > > [EMAIL PROTECTED]> wrote: >> >> >> This should not prevent you from learning how to properly parse XML >> >>

Re: Trouble writing to database: RSS-reader

2008-01-23 Thread Arne
On Jan 21, 11:25 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Mon, 21 Jan 2008 18:38:48 -0200, Arne <[EMAIL PROTECTED]> escribi�: > > > > > On 21 Jan, 19:15, Bruno Desthuilliers > [EMAIL PROTECTED]> wrote: > > >> This should not prevent you from learning how to properly parse XML > >> (

Re: Trouble writing to database: RSS-reader

2008-01-22 Thread Bruno Desthuilliers
MRAB a écrit : > On Jan 21, 9:15 pm, Bruno Desthuilliers > <[EMAIL PROTECTED]> wrote: >> Arne a écrit : (snip) >>> So, I shouldn't use this techinicke (probably wrong spelled) >> May I suggest "technic" ?-) > > That should be "technique"; just ask a Francophone! :-) My bad :( -- http://mail.py

Re: Trouble writing to database: RSS-reader

2008-01-21 Thread MRAB
On Jan 21, 9:15 pm, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > Arne a écrit : > > > On 21 Jan, 19:15, Bruno Desthuilliers > [EMAIL PROTECTED]> wrote: > > >> This should not prevent you from learning how to properly parse XML > >> (hint: with an XML parser). XML is *not* a line-oriented forma

Re: Trouble writing to database: RSS-reader

2008-01-21 Thread Gabriel Genellina
En Mon, 21 Jan 2008 18:38:48 -0200, Arne <[EMAIL PROTECTED]> escribi�: > On 21 Jan, 19:15, Bruno Desthuilliers [EMAIL PROTECTED]> wrote: > >> This should not prevent you from learning how to properly parse XML >> (hint: with an XML parser). XML is *not* a line-oriented format, so you >> just can'

Re: Trouble writing to database: RSS-reader

2008-01-21 Thread Bruno Desthuilliers
Arne a écrit : > On 21 Jan, 19:15, Bruno Desthuilliers [EMAIL PROTECTED]> wrote: > >> This should not prevent you from learning how to properly parse XML >> (hint: with an XML parser). XML is *not* a line-oriented format, so you >> just can't get nowhere trying to parse it this way. >> >> HTH >

Re: Trouble writing to database: RSS-reader

2008-01-21 Thread Arne
On 21 Jan, 19:15, Bruno Desthuilliers wrote: > This should not prevent you from learning how to properly parse XML > (hint: with an XML parser). XML is *not* a line-oriented format, so you > just can't get nowhere trying to parse it this way. > > HTH Do you think i should use xml.dom.minidom for

Re: Trouble writing to database: RSS-reader

2008-01-21 Thread Gabriel Genellina
En Mon, 21 Jan 2008 14:12:43 -0200, Arne <[EMAIL PROTECTED]> escribi�: > I try to make a rss-reader in python just for fun, and I'm almost > finished. I don't have any syntax-errors, but when i run my program, > nothing happends. > > This program is supposed to download a .xml-file, save the conte

Re: Trouble writing to database: RSS-reader

2008-01-21 Thread Bruno Desthuilliers
Dennis Lee Bieber a écrit : > On Mon, 21 Jan 2008 08:12:43 -0800 (PST), Arne <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > >> The problem is that i cant find the data in the database! If i watch >> my program while im running it, i can see that it sucsessfuly >> downloads th

Re: Trouble writing to database: RSS-reader

2008-01-21 Thread Bruno Desthuilliers
Arne a écrit : > Hi! > > I try to make a rss-reader in python just for fun, and I'm almost > finished. Bad news : you're not. > I don't have any syntax-errors, but when i run my program, > nothing happends. > > This program is supposed to download a .xml-file, save the contents in > a buffer-fi

Trouble writing to database: RSS-reader

2008-01-21 Thread Arne
Hi! I try to make a rss-reader in python just for fun, and I'm almost finished. I don't have any syntax-errors, but when i run my program, nothing happends. This program is supposed to download a .xml-file, save the contents in a buffer-file(buffer.txt) and parse the file looking for start-tags.