<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1522" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=796304909-24102005><FONT face=Arial size=2>Hi list,
</FONT></SPAN></DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial size=2>I'm still working at
my news-archive. </FONT></SPAN></DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial size=2>To remember: I have
news items which are xml content files. These files are stored in a folder
called news. The index.html shows a list of all news items stored in its folder.
Old news items should not be shown in this list. They should appear in another
list (archive or something like that). </FONT></SPAN></DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial size=2>My first approach
was to create a subfolder (archive) and to move old news items into this folder
by a script. It works but I have problems with the filenames. If a news item
(let me say newsitem_0003.html) is moved to the archive folder and you create a
new news item, it has the same filename (newsitem_0003.html). Sometime this new
created news item will be old too and should be moved to the archive folder. In
this folder there is already a file "newsitem_0003.html". So this could not
work. </FONT></SPAN></DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial size=2>My second approach
is to have no special archive folder. All news (actual ones and old ones) are in
the same folder. I like to create two list views - one which shows only
actual news items one which shows old news items. I like to differ whether a
news item is old or not by using a property. Now it is impossible to read a
property of a file during the contentload tag. I tried the
following:</FONT></SPAN></DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial size=2><cms:contentload
collector="allInFolderDateReleasedDesc"
param="${opencms.folder}newsitem_${number}.html|500"
editable="true"></FONT></SPAN></DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial
size=2> <cms:property name="is_in_archive" file="uri" /><br
/> <BR>...</FONT></SPAN></DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial size=2>I do only get the
property value of the file which creates the list, not of the actual news item
file. </FONT></SPAN></DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial size=2>Any
idea?</FONT></SPAN></DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial size=2>Thanks a lot in
advance</FONT></SPAN></DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial size=2>Best regards
</FONT></SPAN></DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial
size=2>Matthias</FONT></SPAN></DIV>
<DIV><SPAN class=796304909-24102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">-----------------------------------------------------------------<?xml:namespace
prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><o:p></o:p></SPAN></DIV>
<DIV class=Section1>
<P class=MsoNormal style="mso-layout-grid-align: none"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Matthias Neher<SPAN
style="mso-spacerun: yes">
</SPAN>Fon: +49-7541-6047-143<o:p></o:p></SPAN></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-GB">doubleSlash
Net-Business GmbH<SPAN style="mso-spacerun: yes">
</SPAN>Fax: +49-7541-6041-111<o:p></o:p></SPAN></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Müllerstr. 12 B<SPAN
style="mso-spacerun: yes">
</SPAN>Matthias.Neher@doubleSlash.de<o:p></o:p></SPAN></P>
<P class=MsoNormal
style="LINE-HEIGHT: 10pt; mso-line-height-rule: exactly"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">D-88045 Friedrichshafen<SPAN
style="mso-spacerun: yes">
</SPAN><A href="http://www.doubleslash.de/">http://www.doubleSlash.de</A>
</SPAN><SPAN
style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><o:p></o:p></SPAN></P></DIV>
<DIV> </DIV></BODY></HTML>