Phil Massyn # 012 – Fri, 30 Jul 2010 11:31:07 GMT

Bietjie updates oor potgooi.com en Kurt Darren.
[ Download ] enclosure
Friday, July 30th, 2010 Uncategorized Comments Off

Kies Nou..!

Bookmark and Share
Saturday, July 17th, 2010 Uncategorized No Comments

Kies Nou..!

Bookmark and Share
Saturday, July 17th, 2010 Uncategorized No Comments

SDU 005 – Ek chat met Kurt Darren

Luister na ‘n vinnige chat met Kurt Darren in Sydney.. Die man was redelik gejetlag, maar dit was ‘n great show.


[ Download ] enclosure

Tags:

Saturday, July 17th, 2010 Uncategorized Comments Off

Where do I come from

A little boy goes to his father and asks ‘Daddy, how was I born?’

The father answers, ‘Well, son, I guess one day you will need to find out anyway!

Your Mom and I first got together in a chat room on Yahoo.

Then I set up a date via e-mail with your Mom and we met at a cyber-cafe.

We sneaked into a secluded room, and googled each other.

There your mother agreed to a download from my hard drive.

As soon as I was ready to upload, we discovered that neither one of us had used a firewall,

and since it was too late to hit the delete button, nine months later a little Pop-Up appeared that said:

You’ve got MALE

Posted via email from massyn’s posterous

Bookmark and Share
Tuesday, July 13th, 2010 Uncategorized No Comments

Nigerian goal

After Nigeria was eliminated from the world cup the Nigerian goalkeeper personally offered to refund all the expenses of fans that traveled to South Africa .

He said he just needs their bank details and pin numbers to complete the transaction.

Posted via email from massyn’s posterous

Bookmark and Share
Tuesday, July 13th, 2010 Uncategorized No Comments

Phil Massyn # 011 – Sun, 11 Jul 2010 09:59:00 GMT

potgooi.com is oor gedoen.
[ Download ] enclosure
Sunday, July 11th, 2010 Uncategorized Comments Off

SDU 004 – Kurt en Arno

Kurt Darren en Arno Jordaan is op julle Australie toer.


[ Download ] enclosure

Tags:

Sunday, July 11th, 2010 Uncategorized Comments Off

Reading an RSS feed in Perl with XML::Twig

There are many ways to read XML files in Perl.  There is an XML::RSS module, great, but when your hosting provider doesn’t provide these modules, you run into some problems.

Uploading them into a seperate lib directory also doesn’t help.. I’ve done that, and believe me, it is more of a pain than anything else.  Apart from uploading the modules to a lib file, I found that XML::RSS also relies on some of the other XML modules, which now has incompatibility issues with my hosting provider… It is such a pain, because my development machine at home (also running Linux) obviously has much more updated modules than those of the hosting provider.

Anyway, XML::Simple doesn’t cut it.. When you’re dealing with RSS feeds that have <!CDATA, XML::Simple has a heart attack, and everything crashes.  I decided to use XML::Twig simply because it is available on my hosting provider, and it seems to kinda do the job.  So I set out, and wrote the following script last night that is currently in use on my potgooi.com website.  It will download the RSS feeds from various podcasts, update it’s mySQL backend, at which point the front end script simply reads the database and presents it to the user.

So far I am very happy with XML::Twig.  It is a little tricky to configure.  I didn’t find it’s pod file all to helpful.  After looking at various examples on the web, and fiddling a bit, I managed to get it working.  So here I present my code to read an RSS feed with XML::Twig.

› Continue reading

Bookmark and Share
Sunday, July 11th, 2010 Uncategorized No Comments

Phil Massyn # 010 – Wed, 07 Jul 2010 09:16:37 GMT

Stoksiel alleen...
[ Download ] enclosure
Wednesday, July 7th, 2010 Uncategorized Comments Off