Skip Menu |

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

Report information
The Basics
Id: 3317
Status: new
Priority: 0/
Queue: WWW-Mechanize-Shell

People
Owner: Nobody in particular
Requestors: slaven [...] rezic.de
Cc:
AdminCc:

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



Subject: PATCH: fill name attribute for <AREA> tags
The name field is not filled for <AREA> tags in _extract_links. This causes WWW::Mechanize::Shell to show no label for AREA tags in the "links" command. I suggest to use the "alt" attribute to fill the name field. Regards, Slaven
Download www-mechanize-area-patch
application/octet-stream 2.4k

Message body not shown because it is not plain text.

[SREZIC - Fri Aug 22 10:08:34 2003]: Show quoted text
> The name field is not filled for <AREA> tags in _extract_links. This > causes WWW::Mechanize::Shell to show no label for AREA tags in the > "links" > command. I suggest to use the "alt" attribute to fill the name field.
I really don't want to overload "name" as "alt". I'd rather have an alt added to the Mech::Link object.
From: mark [...] summersault.com
[PETDANCE - Sun Dec 21 22:47:37 2003]: Show quoted text
> [SREZIC - Fri Aug 22 10:08:34 2003]: >
> > The name field is not filled for <AREA> tags in _extract_links. This > > causes WWW::Mechanize::Shell to show no label for AREA tags in the > > "links" > > command. I suggest to use the "alt" attribute to fill the name field.
> > I really don't want to overload "name" as "alt". I'd rather have an alt > added to the Mech::Link object.
From: mark [...] summersault.com
[PETDANCE - Sun Dec 21 22:47:37 2003]: Show quoted text
> [SREZIC - Fri Aug 22 10:08:34 2003]: >
> > The name field is not filled for <AREA> tags in _extract_links. This > > causes WWW::Mechanize::Shell to show no label for AREA tags in the > > "links" > > command. I suggest to use the "alt" attribute to fill the name field.
> > I really don't want to overload "name" as "alt". I'd rather have an alt > added to the Mech::Link object.
Support for the 'ALT' attribute has been added to Mechanize now and is in CVS. Now there just needs to be a small obvious patch to link_text() in ::Shell to complete the functionality you want. This ticket can be closed now, and your request can be completed through the ::Shell bug queue.