Skip Menu |
 

This queue is for tickets about the URI CPAN distribution.

Report information
The Basics
Id: 54067
Status: rejected
Priority: 0/
Queue: URI

People
Owner: Nobody in particular
Requestors: john_binns [...] yahoo.com
Cc:
AdminCc:

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



Subject: support for named anchors?
Date: Thu, 28 Jan 2010 08:31:23 -0800 (PST)
To: bug-URI [...] rt.cpan.org
From: John Binns <john_binns [...] yahoo.com>
Download (untitled) / with headers
text/plain 275b
I see no support for named anchors in the URI CPAN module. I might be missing something. But along with the query() method, I'd expect to see a named_anchor() method, allowing me to make a URI like this: http://www.mysite.com/#named_anchor?param_name=param_value
Download (untitled) / with headers
text/plain 224b
On Thu Jan 28 11:32:28 2010, john_binns@yahoo.com wrote: Show quoted text
> I see no support for named anchors in the URI CPAN module. I might be > missing something.
I don't know what "named anchors" are. Is it something well defined?
Subject: Re: [rt.cpan.org #54067] support for named anchors?
Date: Sun, 14 Mar 2010 15:32:46 -0700 (PDT)
To: bug-URI [...] rt.cpan.org
From: John Binns <john_binns [...] yahoo.com>
Download (untitled) / with headers
text/plain 970b
Thanks so much for getting back to me. Sorry I wasn't clear. I mean something like this: <a name="anchorname"></a>Something Then, if that's on a page called "http://bar.com/foo.html", you can do this: http://bar.com/foo.html#anchorname Then, when you click that link, the browser will automatically scroll you down to that "named anchor". Here's a real-life example. http://zombieite.org/about/#music --- On Sun, 3/14/10, Gisle_Aas via RT <bug-URI@rt.cpan.org> wrote: Show quoted text
> From: Gisle_Aas via RT <bug-URI@rt.cpan.org> > Subject: [rt.cpan.org #54067] support for named anchors? > To: john_binns@yahoo.com > Date: Sunday, March 14, 2010, 9:04 AM > <URL: https://rt.cpan.org/Ticket/Display.html?id=54067 > > > On Thu Jan 28 11:32:28 2010, john_binns@yahoo.com > wrote:
> > I see no support for named anchors in the URI CPAN
> module. I might be
> > missing something.
> > I don't know what "named anchors" are.  Is it > something well defined? > > > > >
Download (untitled) / with headers
text/plain 367b
On Sun Mar 14 18:33:55 2010, john_binns@yahoo.com wrote: Show quoted text
The method to get/set the 'anchorname' is called $uri->fragment(), because this is the term used by the URI spec. I was confused by your initial example that seemed to show a fragment with structure similar to what we have for the 'query' component of the URI. --Gisle
Subject: Re: [rt.cpan.org #54067] support for named anchors?
Date: Mon, 15 Mar 2010 14:17:44 -0700 (PDT)
To: bug-URI [...] rt.cpan.org
From: John Binns <john_binns [...] yahoo.com>
Download (untitled) / with headers
text/plain 711b
Thanks! --- On Mon, 3/15/10, Gisle_Aas via RT <bug-URI@rt.cpan.org> wrote: Show quoted text
> From: Gisle_Aas via RT <bug-URI@rt.cpan.org> > Subject: [rt.cpan.org #54067] support for named anchors? > To: john_binns@yahoo.com > Date: Monday, March 15, 2010, 5:11 PM > <URL: https://rt.cpan.org/Ticket/Display.html?id=54067 > > > On Sun Mar 14 18:33:55 2010, john_binns@yahoo.com > wrote: > > The method to get/set the 'anchorname' is called > $uri->fragment(), because this is the term > used by the URI spec.  I was confused by your initial > example that seemed to show a fragment > with structure similar to what we have for the 'query' > component of the URI. > > --Gisle >


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.