[opencms-dev] Validating links even for published pages

Pomegranate- Arash Kaffamanesh arash.kaffamanesh at pomegranate.de
Sat Jan 27 22:00:40 CET 2007


Hi Christian,
Dear all,

very good question ;-)

The latest OpenCms Release references links via uuid (permalink), so if 
you use XMLContent as Content Items, then you will be able to define 
link fields with strong relations (works for widgets as vfs link and 
download links, external link will come soon) which adhere to the new 
OpenCms extended Link Management specification (also known as CRE: 
Content Relation Engine). Then if you move or rename pages, images, 
documents which are referenced from other pages, then don't get 
corrupted and remain intact. You can even rename whole directories 
(except the site folder ;-)). If you open the XMLContent item, after 
renaming the references, then you can see that the VFS path to the 
renamed documents has get corrected whith the right vfs path on the fly. 
Isn't great ;-)

After renaming or moving links, then all documents, which have a 
reference to these pages / documents (which was renamed, moved), shall 
get published again, if you serve content statically (with static 
export).If you serve content dynamicly, then you shall obviously publish 
only the renamed, moved folders, pages or documents. This doesn't work 
for unstructured content (xml freepages) and I'm not sure if it would be 
possible for Alkacon engineers to implement this for xml freepages too 
(?). If my daily work allows, I'll write a new xmlcontent tutorial for 
how to use the new and nice link managent features with xmlcontent and 
put it on wiki or forum, if not already done by Alkacon ;-)

OpenCms has become more enterprise scaled and is the world greatest Java 
Open Source Enterprise Web Content Management System ;-)

With many thanks and best regards to Alkacon OpenCms Experts, which have 
done a lot of work for this nice implementation :-)

By the way, I've setuped an open source chat server (wildfire chat 
server) on my sever and I'm curious if anyone of you nice guys and girls 
would be willing to test it with me and use the OpenCms Chat Room (?). 
More about OpenCmsChatRoom: 
http://www.pomegranate.de:9000/cms/forum/viewthread?thread=102

Nice Regards,

Schoene Gruesse,
Arash

------------------------------------------------------------------
Pomegranate Software | Portal & Content Management Solutions
http://www.pomegranate.de

Arash Kaffamanesh
Ackerstrasse 145
10115 Berlin - Mitte

Tel.: 030 28 045 994
Mob.: 0177 880 77 34
Email: arash {dot} kaffamanesh [at] pomegranate {dot} de

Christian Steinert schrieb:
> Hi List,
>
> does anyone know a way to check the links for the complete site? The
> builtin link checker only checks unpublished content.
>
> The problem with the default behavior is: If I have a page that links to
> another one and then move the link target, I will suddently have a
> corrupted link in a page that has not been updated. And with 100s of
> files it's hard to detect, where I would have to update links, after
> moving one file around. 
>
> Any ideas?
>
> thank you
> christian
> ___
>
> P.S. My only idea is to *touch* everything and check the links after
> that, but that's not very elegant and also touch will change the
> modification date, which is a bad thing for me. To go along with this
> approach, I would have to implement a small JSP that does touches every
> file without updating the modification date.
>
>   
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070127/a38fa9a0/attachment.htm>


More information about the opencms-dev mailing list