<!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.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=宋体 size=2>hi,</FONT></DIV>
<DIV><FONT face=宋体 size=2>Have you checked this method </FONT></DIV>
<DIV><FONT face=宋体 size=2> <A
href="http://66.23.137.10/alkacon-documentation/javadoc/core/org/opencms/file/CmsObject.html#getFilesInFolder(java.lang.String, org.opencms.file.CmsResourceFilter)"><STRONG><FONT
face="Courier New" size=3>getFilesInFolder</FONT></STRONG></A><FONT
face="Courier New" size=3>(java.lang.String resourcename, </FONT><A
title="class in org.opencms.file"
href="http://66.23.137.10/alkacon-documentation/javadoc/core/org/opencms/file/CmsResourceFilter.html"><FONT
face="Courier New" size=3>CmsResourceFilter</FONT></A><FONT size=3><FONT
face="Courier New"> filter)</FONT> </FONT><BR></FONT></DIV>
<DIV><FONT face=宋体 size=2>in CmsObject,if not,you had better look at
it.especially class CmsResourceFilter,through which you can specify search
criterias including the start time and end time,hope this can help
you</DIV></FONT>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="BACKGROUND: #e4e4e4; FONT: 9pt 宋体; font-color: black"><B>From:</B>
<A title=shishank.mathur@wipro.com
href="mailto:shishank.mathur@wipro.com">shishank.mathur@wipro.com</A> </DIV>
<DIV style="FONT: 9pt 宋体"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
<DIV style="FONT: 9pt 宋体"><B>Sent:</B> Thursday, October 06, 2005 6:56
PM</DIV>
<DIV style="FONT: 9pt 宋体"><B>Subject:</B> RE: [opencms-dev] Search based on
date Range</DIV>
<DIV><BR></DIV>
<DIV dir=ltr align=left><SPAN class=155485210-06102005><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=155485210-06102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=155485210-06102005><FONT face=Arial
size=2>I have checked the CmsSearch API which provides Created Date, Modified
date for the searched text.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=155485210-06102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=155485210-06102005><FONT face=Arial
size=2>One way I can do is get the results and then modify the same in my code
to check if the result returned satisfy my date range or
not.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=155485210-06102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=155485210-06102005><FONT face=Arial
size=2>Is there any other better way to achieve it?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=155485210-06102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=155485210-06102005><FONT face=Arial
color=#0000ff size=2>
<DIV><SPAN class=916380608-05102005><FONT face=Arial color=#000000
size=2>Thanks.</FONT></SPAN></DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial color=#000000
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial color=#000000 size=2>Kind
Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial color=#000000
size=2>Shishank </FONT></SPAN></DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial color=#000000 size=2><A
href="http://goshishank.blogspot.com">http://goshishank.blogspot.com</A></FONT></SPAN></DIV></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=155485210-06102005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=155485210-06102005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><FONT face=Arial color=#0000ff
size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of
</B>jim<BR><B>Sent:</B> Thursday, October 06, 2005 3:51 PM<BR><B>To:</B> The
OpenCms mailing list<BR><B>Subject:</B> Re: [opencms-dev] Search based on date
Range<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=宋体 size=2>hi</FONT></DIV>
<DIV><FONT face=宋体 size=2> you can check the api of
CmsSearch,I think some methods can do what you said</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 9pt 宋体">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 9pt 宋体; font-color: black"><B>From:</B> <A
title=shishank.mathur@wipro.com
href="mailto:shishank.mathur@wipro.com">shishank.mathur@wipro.com</A> </DIV>
<DIV style="FONT: 9pt 宋体"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
<DIV style="FONT: 9pt 宋体"><B>Sent:</B> Wednesday, October 05, 2005 4:10
PM</DIV>
<DIV style="FONT: 9pt 宋体"><B>Subject:</B> [opencms-dev] Search based on date
Range</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial
color=#0000ff size=2></FONT><BR></DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial size=2>How can I
achieve searching within a specified Structured Content between two
dates?</FONT></SPAN></DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial size=2>Basically I am
looking at a drop down box listing all the Structured Content specific
to our site and then various search options like title, content etc
along with date range.</FONT></SPAN></DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial size=2>I am using
OpenCms 6_0_1 with Weblogic 8.1 SP4 and Sql
server.</FONT></SPAN></DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial
size=2>Thanks.</FONT></SPAN></DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial size=2>Kind
Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial
size=2>Shishank </FONT></SPAN></DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial size=2><A
href="http://goshishank.blogspot.com">http://goshishank.blogspot.com</A></FONT></SPAN></DIV>
<DIV><SPAN class=916380608-05102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT>
<TABLE>
<TBODY>
<TR>
<TD bgColor=#ffffff><FONT color=#000000><BR><BR>Confidentiality Notice
<BR><BR>The information contained in this electronic message and any
attachments to this message are intended<BR>for the exclusive use of
the addressee(s) and may contain confidential or privileged
information. If<BR>you are not the intended recipient, please notify
the sender at Wipro or Mailadmin@wipro.com immediately<BR>and destroy
all copies of this message and any
attachments.<BR></FONT></TD></TR></TBODY></TABLE>
<P></P><FONT face=Arial size=2></FONT>
<HR>
<P></P><BR><BR>_______________________________________________<BR>This mail
is send to you from the opencms-dev mailing list<BR>To change your list
options, or to unsubscribe from the list, please
visit<BR>http://mail.opencms.org/mailman/listinfo/opencms-dev
<P>
<HR>
<P></P>No virus found in this incoming message.<BR>Checked by AVG
Anti-Virus.<BR>Version: 7.0.344 / Virus Database: 267.11.11/121 - Release
Date: 2005-10-6<BR></BLOCKQUOTE>
<TABLE>
<TBODY>
<TR>
<TD bgColor=#ffffff><FONT color=#000000><BR><BR>Confidentiality Notice
<BR><BR>The information contained in this electronic message and any
attachments to this message are intended<BR>for the exclusive use of the
addressee(s) and may contain confidential or privileged information.
If<BR>you are not the intended recipient, please notify the sender at
Wipro or Mailadmin@wipro.com immediately<BR>and destroy all copies of
this message and any attachments.<BR></FONT></TD></TR></TBODY></TABLE>
<P>
<HR>
<P></P><BR><BR>_______________________________________________<BR>This mail is
send to you from the opencms-dev mailing list<BR>To change your list options,
or to unsubscribe from the list, please
visit<BR>http://mail.opencms.org/mailman/listinfo/opencms-dev
<P>
<HR>
<P></P>No virus found in this incoming message.<BR>Checked by AVG
Anti-Virus.<BR>Version: 7.0.344 / Virus Database: 267.11.11/121 - Release
Date: 2005-10-6<BR></BLOCKQUOTE></BODY></HTML>