Re: [nyphp-talk] PHP html DOM manipulation

2011-08-10 Thread Rob Marscher
>> 2) After the entire page is loaded, an onDomReady event is fired which find >> all href links with a rel attribute of lightbox[x] where x is some text. >> The javascript code will then check to see if there is a thumbnail for the >> image[by checking for the same image name in a subdirectory ca

Re: [nyphp-talk] PHP html DOM manipulation

2011-08-10 Thread John Campbell
> 2) After the entire page is loaded, an onDomReady event is fired which find > all href links with a rel attribute of lightbox[x] where x is some text. >  The javascript code will then check to see if there is a thumbnail for the > image[by checking for the same image name in a subdirectory called

Re: [nyphp-talk] PHP html DOM manipulation

2011-08-09 Thread Matthew Kaufman
PS: This is a little 'known secret' (okay, not really) -- But if you really want to have fun with DOM Manipulation; install Squid 3 and setup an ICAP server --- GreasySpoon (http://greasyspoon.sourceforge.net/): GreasySpoon is a real-time solution allowing you to easily manipulate Web traffic on t

Re: [nyphp-talk] PHP html DOM manipulation

2011-08-09 Thread Gary Mort
On 8/7/2011 11:53 PM, John Campbell wrote: On Fri, Aug 5, 2011 at 6:39 PM, Gary Mort wrote: One thing I'd like to see this for is to re-write all those cool lightbox style javascript codes into PHP code[so instead of the user waiting for all the HTML to download, then waiting for a javascript e

Re: [nyphp-talk] PHP html DOM manipulation

2011-08-07 Thread John Campbell
On Fri, Aug 5, 2011 at 6:39 PM, Gary Mort wrote: > One thing I'd like to see this for is to re-write all those cool lightbox > style javascript codes into PHP code[so instead of the user waiting for all > the HTML to download, then waiting for a javascript event to trigger to > update the links fr

Re: [nyphp-talk] PHP html DOM manipulation

2011-08-05 Thread Matthew Kaufman
I like hpricot and mechanize but they are Ruby only. In PHP there is Snoopy, but it wasn't that good. Matt Kaufman http://mkfmn.com/RESUME.pdf On Fri, Aug 5, 2011 at 6:39 PM, Gary Mort wrote: > I was wondering what the current favorites are for PHP html DOM > manipulation are. > > I ran across

Re: [nyphp-talk] PHP html DOM manipulation

2011-08-05 Thread Mark Armendariz
Personally, I'm a fan of SimpleHTMLDOM, http://simplehtmldom.sourceforge.net/, which has a great interface, but uses string parsing instead of DOM. I haven't had much experience with these others: phpQuery: http://code.google.com/p/phpquery/ Zend_Dom: http://framework.zend.com/manual/en/z

[nyphp-talk] PHP html DOM manipulation

2011-08-05 Thread Gary Mort
I was wondering what the current favorites are for PHP html DOM manipulation are. I ran across one library which basically took all the JQuery DOM functions and created PHP equivalents for them - so you can do things like find all the elements of a certain tag class or type and replace their