Skip Menu |
 

This queue is for tickets about the WWW-Scripter CPAN distribution.

Report information
The Basics
Id: 76984
Status: resolved
Priority: 0/
Queue: WWW-Scripter

People
Owner: Nobody in particular
Requestors: steve.bitcard [...] yewtc.demon.co.uk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.028
Fixed in: (no value)



Download (untitled) / with headers
text/plain 313b
Because WWW::Scripter looks at the "document" rather than the "content",(I think) find_links misses out meta tags, so although it sub-classes WWW::Mechanize, the later finds the link in : <HTML><HEAD><META HTTP-EQUIV=Refresh CONTENT=0;URL=/my_new_page.html></HEAD><BODY></BODY></HTML> but WWW:Scripter doesn't.
Download (untitled) / with headers
text/plain 585b
On Fri May 04 04:56:21 2012, SJR wrote: Show quoted text
> Because WWW::Scripter looks at the "document" rather than the > "content",(I think) find_links misses out meta tags, so although it > sub-classes WWW::Mechanize, the later finds the link in : > <HTML><HEAD><META HTTP-EQUIV=Refresh > CONTENT=0;URL=/my_new_page.html></HEAD><BODY></BODY></HTML> > > but WWW:Scripter doesn't.
Yes, what was I thinking? $w->document->links follows the DOM spec, but $w->find_links should follow WWW::Mechanize, of course. I had it using $w->document->links underneath. I’ll fix that in the next release.
Download (untitled) / with headers
text/plain 693b
On Fri May 04 11:47:08 2012, SPROUT wrote: Show quoted text
> On Fri May 04 04:56:21 2012, SJR wrote:
> > Because WWW::Scripter looks at the "document" rather than the > > "content",(I think) find_links misses out meta tags, so although it > > sub-classes WWW::Mechanize, the later finds the link in : > > <HTML><HEAD><META HTTP-EQUIV=Refresh > > CONTENT=0;URL=/my_new_page.html></HEAD><BODY></BODY></HTML> > > > > but WWW:Scripter doesn't.
> > Yes, what was I thinking? $w->document->links follows the DOM spec, > but $w->find_links > should follow WWW::Mechanize, of course. I had it using $w->document-
> >links underneath.
> > I’ll fix that in the next release.
I’ve just released version 0.29.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.