l*******9 发帖数: 177 | 1 Is there any good way to automate the webblog archives. Say
I have a webblog, and I want to generate links of entries for
each month, for example:
http://webblog.lihao.com/archive.html?d=7
will fetch all entries in July. how can I do it automatically?
thanks.. |
l*******9 发帖数: 177 | 2 Today is the first day of August, I hope there is going
to be a new link
http://webblog.lihao.com/archive.html?d=8">August, 2007
automatocally shown up in my webblog. Howto?? //thanks
(BTW. I am using PHP5).
【在 l*******9 的大作中提到】![](/moin_static193/solenoid/img/up.png) : Is there any good way to automate the webblog archives. Say : I have a webblog, and I want to generate links of entries for : each month, for example: : http://webblog.lihao.com/archive.html?d=7 : will fetch all entries in July. how can I do it automatically? : thanks..
|
m******t 发帖数: 2416 | 3 The links you gave are boken, so I can't see which blog software you are
running. But all the major ones (wordpress, drupal etc.) support this. |
l*******9 发帖数: 177 | 4 Sorry that's just an example. What I really want is how to
add link entries automatically based on the date. I actually
hardcoded my blog, so dont have experience with wordpress
and dripal.. But do you know of any generic solutions or
designs for such kind of thing? thanks.
【在 m******t 的大作中提到】![](/moin_static193/solenoid/img/up.png) : The links you gave are boken, so I can't see which blog software you are : running. But all the major ones (wordpress, drupal etc.) support this.
|
g****n 发帖数: 3370 | 5 有什么特别要求所以不用现成的吗?
【在 l*******9 的大作中提到】![](/moin_static193/solenoid/img/up.png) : Sorry that's just an example. What I really want is how to : add link entries automatically based on the date. I actually : hardcoded my blog, so dont have experience with wordpress : and dripal.. But do you know of any generic solutions or : designs for such kind of thing? thanks.
|
l*******9 发帖数: 177 | 6 Just play for fun, I use a mixture of PHP and Perl
which make things not that hard although it might not
be as powerful as commercial stuff.. BTW. I've found a
solution which is actually easy I think. Just check the
localtime and compare it with the starting date and then
generate a list of link accordingly. I previously
though I need "crontab" or something. that was silly.
hehe.....
【在 g****n 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 有什么特别要求所以不用现成的吗?
|