Updated: 5/9/2002; 5:32:37 AM.
PHP
The PHP web development language.
        

Friday, April 26, 2002

Whew!  Never, Ever Add Code When Trying to Go Away from the Weekend

"Well DUH! says the experienced software engineer".  Yes, I know this.  Yes I used to beat up my engineers for this when I had engineers. Still working without a net is _interesting_.  I added logging of OPML urls to my Choose IO to View page and then started navigating through OPML documents.  Everytime I hit an OPML file with links to other OPML files, these were added to the database.  Then when I went back to the choose page, more were displayed.  Very cool.  Until, of course, I hit xml parsing errors.  Sigh.  Fixing XML parsing errors when running out the door is NOT a good time.  So I figured out which ones had problems and suppressed them.  It looks like the error is coming from incorrect network IO causing 0 bytes of information to be retrieved and then parsing 0 bytes of XML causes the inevitable error.  The solution is to move to CURL, a much better way of handling network IO in php.  Think of it as LWP if you are a Perl programmer (and ignore that comment if you aren't).  So, for now, some OPML urls won't be displayed.  All OPML urls are being logged to the database and I should be able to fix this next week.


11:00:06 AM    


© Copyright 2002 The FuzzyStuff.
 
April 2002
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
Mar   May

About Me:
Categories I Write:
About Radio: By Me:
About Radio: By Others:
Obligatory Blog List:

Click here to visit the Radio UserLand website.


Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.