[pmwiki-users] Customizable Access-Keys

Joachim Durchholz jo at durchholz.org
Tue Mar 22 15:17:38 CST 2005


Nils Knappmeier wrote:

> Joachim Durchholz wrote:
> 
>> Nils Knappmeier wrote:
>>
>>> 1) Store all the information in one (or multiple) cookie(s) that is 
>>> readable by every server on the internet.
>>> 2) Use the cookie to store the URL of a website, that contains the 
>>> information.
>>>
>>> With "information" I mean,
>>> 1) The access key
>>> 2) a String like "pagename?action=..." is used to create the URL of 
>>> the link that should be associated with the access key
>>>    pagename should be something like MyGroup.MyPage, but also 
>>> possible {$Group}.MyPage or {$Group}.{$Page}
>>> If the current page is Main.HomePage on pmwiki.org, something like 
>>> ":4:{$Group}.SideBar?action=edit" would translate into a link
>>> <a href="http://www.pmwiki.org?n=Main.SideBar?action=edit" 
>>> accesskey="4"></a>, to allow editing the SideBar by pressing "Alt+4"
>>
>> No accesskeys in the URLs.
>> 
>> Ideologically, a Uniform Resource Locator should reflect the resource 
>> it refers to, not user preferences.
> 
> I think you misunderstood me. "2) Use the cookie to store the URL of a 
> website, that contains the information." means:
> The cookie stores the URL (e.g. 
> http://www.knappi.org/index.php/Main/AccessKeys?action=source), and the 
> file at this URL contains the information
> about the user preferences.

Ah, now I understand.

Yes, that makes sense.

Regards,
Jo



More information about the pmwiki-users mailing list