Bookmarklets and PHP parsing of websites
March 8, 2006 9:24 AM
Subscribe
I've been trying to find good resources on creating a bookmarklet for a web site i'm working on, and then parsing the passed url with PHP.
Basically i want to write a bookmarklet that allows a user to "post this page," the page being a youtube or google video page, to a website im working on. I haven't really been able to find good resources on integrating that with a PHP script that would then load the page and parse it, and in the process extract the embed this object tag. Any info on where i could find help on parsing web pages with PHP, and how one goes about setting up a web page to take urls passed by bookmarklets would be greatly appreciated.
I have root access to the server, and we're running apache 1.3.
posted by sourbrew to computers & internet (16 comments total)
posted by evariste at 9:29 AM on March 8, 2006