Saturday, August 3, 2013

Cool guy has chill day

Not much went on today.  I talked to a few people on WJ.  I know I said I stopped with forums but I feel I need to go back to build up a portfolio.  So while talking to people an idea popped into my head where I create a group of people looking to do free conversion services in order to buildup their portfolio.  I've created a thread to recruit people here: http://www.wjunction.com/92-development-area/177734-looking-build-your-portfolio.html
Unfortunately there have been no takers to the idea which could be foreshadowing the future.

Anyways while waiting for people to PM me I saw this thread in the dev section: http://www.wjunction.com/92-development-area/177510-why-php-domdocument-getelementsbytagname-not-finding-all-elements.html#post1868952
I could not solve his problem but in attempting to do so I learned a couple new things.   The first thing I learned was that since majority of web pages don't have properly formatted html PHP DOM will throw an amazing amount of annoying error messages that look like this:
To avoid this I followed one of the answers to this post: http://stackoverflow.com/questions/7082401/avoid-domdocument-xml-warnings-in-php

Anyways there's 13 links on the page that Filenuke (the user on wj seeking help) is trying to scrape.  His code scraped 8 links and my code scraped 9 links (not much better).  Here's my end result: http://pastebin.com/QEje2be0

Other than this, nothing else happened today.  Maybe I'll shift back into the crypter or wordpress tomorrow.  Pce!

No comments:

Post a Comment