Hello,
I just added a rewrite rule to the http://news.php.net site which makes:
http://news.php.net/<group>/<articlenr> into:
http://news.php.net/article.php?group=<group>&article=<articlenr>
which gives much nicer URLs, like:
http://news.php.net/php.internals/9828
regards,
Derick
I just added a rewrite rule to the http://news.php.net site which makes:
http://news.php.net/<group>/<articlenr> into:
http://news.php.net/article.php?group=<group>&article=<articlenr>which gives much nicer URLs, like:
http://news.php.net/php.internals/9828
Should I update the code to emit these kind of URLs? I have not seen you
doing it...
Goba
I just added a rewrite rule to the http://news.php.net site which makes:
http://news.php.net/<group>/<articlenr> into:
http://news.php.net/article.php?group=<group>&article=<articlenr>which gives much nicer URLs, like:
http://news.php.net/php.internals/9828Should I update the code to emit these kind of URLs? I have not seen you
doing it...
I'm not sure how to. I think it involves changing the news grabbing code
and that's part of columbus.
Derick
I just added a rewrite rule to the http://news.php.net site which makes:
http://news.php.net/<group>/<articlenr> into:
http://news.php.net/article.php?group=<group>&article=<articlenr>which gives much nicer URLs, like:
http://news.php.net/php.internals/9828Should I update the code to emit these kind of URLs? I have not seen you
doing it...I'm not sure how to. I think it involves changing the news grabbing code
and that's part of columbus.
cvs.php.net/php-master-web has the code (index.php, group.php, etc).
These print out the links.
Goba
I just added a rewrite rule to the http://news.php.net site which
makes:
http://news.php.net/<group>/<articlenr> into:
http://news.php.net/article.php?group=<group>&article=<articlenr>which gives much nicer URLs, like:
http://news.php.net/php.internals/9828Should I update the code to emit these kind of URLs? I have not seen you
doing it...I'm not sure how to. I think it involves changing the news grabbing code
and that's part of columbus.cvs.php.net/php-master-web has the code (index.php, group.php, etc).
These print out the links.
Uhm, ehm, php-news-web
Goba
cvs.php.net/php-master-web has the code (index.php, group.php, etc).
These print out the links.Uhm, ehm, php-news-web
I see. Well, go ahead i'd say ;-)
Derick
cvs.php.net/php-master-web has the code (index.php, group.php, etc).
These print out the links.Uhm, ehm, php-news-web
I see. Well, go ahead i'd say ;-)
Could you please make the rewrite work without the post number (ie. only
the group name: http://news.php.net/php.internals) to map to the gruop
post list. It does not seem to work now.
Goba
cvs.php.net/php-master-web has the code (index.php, group.php, etc).
These print out the links.Uhm, ehm, php-news-web
I see. Well, go ahead i'd say ;-)
Could you please make the rewrite work without the post number (ie. only
the group name: http://news.php.net/php.internals) to map to the gruop
post list. It does not seem to work now.
How should we do the prev and next for post listings with short urls?
regards,
Derick
cvs.php.net/php-master-web has the code (index.php, group.php, etc).
These print out the links.Uhm, ehm, php-news-web
I see. Well, go ahead i'd say ;-)
Could you please make the rewrite work without the post number (ie. only
the group name: http://news.php.net/php.internals) to map to the gruop
post list. It does not seem to work now.How should we do the prev and next for post listings with short urls?
And we also need to change the templates to use the stylesheet and
images from / ...
Derick
cvs.php.net/php-master-web has the code (index.php, group.php, etc).
These print out the links.Uhm, ehm, php-news-web
I see. Well, go ahead i'd say ;-)
Could you please make the rewrite work without the post number (ie. only
the group name: http://news.php.net/php.internals) to map to the gruop
post list. It does not seem to work now.How should we do the prev and next for post listings with short urls?
Currently the code passes over a post number from which the page lists
the 20 next entries. So it can be something like
/<group-name>/page/<start-number> or similar...
Goba
cvs.php.net/php-master-web has the code (index.php, group.php, etc).
These print out the links.Uhm, ehm, php-news-web
I see. Well, go ahead i'd say ;-)
Could you please make the rewrite work without the post number (ie. only
the group name: http://news.php.net/php.internals) to map to the gruop
post list. It does not seem to work now.How should we do the prev and next for post listings with short urls?
Currently the code passes over a post number from which the page lists
the 20 next entries. So it can be something like
/<group-name>/page/<start-number> or similar...
why?
just set it up to use a parameter.
http://lists.php.net/php.internals?start=10653
jim
cvs.php.net/php-master-web has the code (index.php, group.php, etc).
These print out the links.Uhm, ehm, php-news-web
I see. Well, go ahead i'd say ;-)
Could you please make the rewrite work without the post number (ie. only
the group name: http://news.php.net/php.internals) to map to the gruop
post list. It does not seem to work now.How should we do the prev and next for post listings with short urls?
Currently the code passes over a post number from which the page lists
the 20 next entries. So it can be something like
/<group-name>/page/<start-number> or similar...why?
just set it up to use a parameter.
http://news.php.net/php.internals/start/10653 it is :)
Derick
cvs.php.net/php-master-web has the code (index.php, group.php, etc).
These print out the links.Uhm, ehm, php-news-web
I see. Well, go ahead i'd say ;-)
Done with this now.
regards,
Derick