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

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Thu Oct 20 10:31:52 CEST 2005


Michael Stucki schrieb:
> Kai Laborenz wrote:
> 
> 
>>Michael Stucki schrieb:
>>
>>>Is it allowed to add parameters (just like "href" for example) to an
>>>anchor tag which are not standard?
>>
>>No, its not ok (if you ask the validator) - maybe with your own doctype
>>as sascha suggested.
>>
>>Maybe you can use something existing like "rel"?
> 
> 
> 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.

Masi



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