Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the pQuery CPAN distribution.

Report information
The Basics
Id: 53695
Status: new
Priority: 0/
Queue: pQuery

People
Owner: Nobody in particular
Requestors: vjtadepalli [...] gmail.com
Cc:
AdminCc:

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



Subject: cannot get page title using pQuery
Date: Thu, 14 Jan 2010 11:24:35 -0700
To: bug-pQuery [...] rt.cpan.org
From: Vijay <vjtadepalli [...] gmail.com>
Hi, I used pQuery to get page title successfully but for few pages the module doesn't seem to find the title. For example: pQuery(" http://washington-state-travel.suite101.com/article.cfm/holiday_cheer_in_the_teddy_bear_suite ") ->find("title") ->each(sub { my @arr = pQuery($_); print "title is"; my @arrr = $arr[0][0]->getAttribute('_content'); my @arrrr = $arrr[0]; print $arrrr[0][0]; }); doesn't give me the title. Few more urls for which pQuery doesn't get titles: http://www.bermudaregional.com/Main.html http://www.bostonwinterball.com/ http://www.weddingfair.ca/exhibitors.php I am using perl, v5.8.8 built for x86_64-linux-gnu-thread-multi on GNU/Linux and tried the same code with perl, v5.10.1 built for MSWin32-x86-multi-thread on windows vista. Thanks,