由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
BuildingWeb版 - how to rotate the webblog archives
相关主题
PHP5+MYSQL的连接问题 undefined mysql_connect()请推荐好的web hosting service,要求如下:
Question about Apache & permission谁给推荐本学习php的书?
error in connecting PHP with MySQL请推荐PHP MVC的框架
有人用GeoIP吗?新浪互联星空网站的体系结构(转)
PHP 的有关问题‘How To Install Linux, Apache, MySQL, PHP (LAMP)
怎么在Apache tomcat6下装php5?显示文件列表在网页的一个
Apache PHP 和MySQL 的版本问题How to generate pictures from random number?
求教 php中的js语句不work帮我看看这个php函数问题
相关话题的讨论汇总
话题: webblog话题: archives话题: rotate话题: entries话题: just
进入BuildingWeb版参与讨论
1 (共1页)
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 的大作中提到】
: 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 的大作中提到】
: 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 的大作中提到】
: 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 的大作中提到】
: 有什么特别要求所以不用现成的吗?
1 (共1页)
进入BuildingWeb版参与讨论
相关主题
帮我看看这个php函数问题PHP 的有关问题‘
有没有人用过Nutch?怎么在Apache tomcat6下装php5?
网页内嵌apple的窗口大小问题Apache PHP 和MySQL 的版本问题
像dealsea那样的网站是怎么做的?求教 php中的js语句不work
PHP5+MYSQL的连接问题 undefined mysql_connect()请推荐好的web hosting service,要求如下:
Question about Apache & permission谁给推荐本学习php的书?
error in connecting PHP with MySQL请推荐PHP MVC的框架
有人用GeoIP吗?新浪互联星空网站的体系结构(转)
相关话题的讨论汇总
话题: webblog话题: archives话题: rotate话题: entries话题: just