Devhour

Taking time to write about development

Web Development

Reading a websites contents using PHP and XPath

Following on from my previous post Scraping data with PHP and cURL today I’m going to show you about reading a websites contents using PHP and XPath. One of the biggest problems I have faced when dealing with a scraped web page (read: block of HTML) is how to go about getting specific text elements out of […]

, , , ,

Sending messages to an Eggdrop via PHP

So if you frequent IRC often like I do, you may notice some eggdrop bots displaying messages which come from a website. The most common times you will see this sort of script in action is when they are hooked into forum posts or torrent listings. You will more than likely have seen messages saying […]

, , , ,

Scraping data with PHP and cURL

I’m working on another idea which I hope to release soon which involves scraping websites using PHP and cURL. I don’t want to give too much away before I release the website so I won’t go into too much detail. However, what I can tell you is that it required me to go out and […]

, , ,