[opencms-dev] URL fingerprinting

Paul-Inge Flakstad flakstad at npolar.no
Mon Apr 14 11:18:32 CEST 2014


Hi Thomas,

If you only want to know how to get the date-last-modified, have a look at http://www.opencms-wiki.org/wiki/Reading_various_information_about_a_resource.

Cheers,
Paul

From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of T.Kluge at t-systems.com
Sent: 14. april 2014 11:02
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] URL fingerprinting

Hi Stephan,


> we used to simply override the Link-Tag and append the date modified as query parameter. This way opencms will generate an unique URL for every published version.


Could you provide code for this? Our current solution is a version tag, something like this:

%@taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %<mailto:%25 at taglib%20prefix=%22cms%22%20uri=%22http://www.opencms.org/taglib/cms%22%20%25>

<link href="<cms:link>../resources/css/styles.css?ver=1.0.1</cms:link>" rel="stylesheet" type="text/css">

..which is OK but the date modified would be really nice.

Thanks,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140414/1d9a2a71/attachment.htm>


More information about the opencms-dev mailing list