[TYPO3-content-rendering] Adding non-standard parameters to anchor tags

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Fri Oct 21 14:37:46 CEST 2005


Michael Stucki schrieb:
> Martin Kutschker wrote:
> 
> 
>>>I don't think that "rel" should be used for this. Here is my idea:
>>>
>>>I have a plugin that lists files which refer to a protected directory.
>>>The files need to be downloaded using a plugin which checks user
>>>permission, etc.
>>>
>>>What I want to do is to have these files indexed by indexed_search. If I
>>>add the local path of the file as an additional parameter to the download
>>>link, then I can force indexed_search to index the local file but
>>>reference to the download link instead. This is already working pretty
>>>well, there's just the validation problem.
>>
>>And everybody who cares to read the source code of the html page knows
>>the path to the file.
> 
> Dude, I am aware of this, just wanted to keep the example easy.
> Will use some internal encryption later...

Good :-)

> Back to the topic: Will it hurt if I write this value into the "rel"
> attribute (kind of misuse), or will this have any impact?

I think you can use it. Of course some client software might want to 
follow the link in rel somehow or other.

Masi



More information about the TYPO3-project-content-rendering mailing list