Hello everybody,


I want to create an archive of certain articles, which should display
all articles of a certain subtopic for every month separately. I
thought I could do that via creating a subpage for every month in
that relevant subpage. E.g., subpage "March2001" in subpage 'a'
should then display all articles that can be found in subtopic 'a'
that have any creation date in March 2001. I use

<?
 $article = mgd_list_topic_articles_all($topic_id);
 $displayed = 0;
  while ($displayed < 1000 && $article && $article->fetch()) {
   if (mgd_is_article_in_topic_tree(94, $article->id)) { continue; }
   if (mgd_is_article_in_topic_tree(111, $article->id)) { continue; }
 $displayed++;
?>
  <li>
   <a href="&(article.id);">&(article.name:h);</a><br>
   &(article.abstract);
  </li><br>
<?
 };
?>

to have only a certain number of articles displayed (here a 1000 as
this should contain all articles during that period of time) and
exclude certain topic trees at the same time.
My question now is: what is the command to fetch/display only those
articles of a certain period of time, in my example from March 2001?
Any help appreciated.

Greetings,
Alexander



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to