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 it. Several years […]
Category: PHP
Automatically post to a Page using PHP Facebook SDK
During my weekends/time off I tend to watch quite a lot of sport, with the English Premier League (EPL) being one of my favourite things to support. As such, I created and run an EPL facebook page dedicated to covering fixtures, results, and other news. Now this all good fun and I enjoy doing it, but week after […]
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 […]