Re: Printable article page URLs?

2008-01-03 Thread Mordy Ovits
On Wednesday 02 January 2008 06:15 pm, Alex Koshelev wrote: > The second variant with GET query is the best. One resouce has one > uri but with query you specify it's display properties. I agree, and have modified my dev site to match that, using Ned Batchelder's tip of meta tags to solve the ro

Re: Printable article page URLs?

2008-01-03 Thread Ned Batchelder
D'oh! Sorry. I hate those kind of replies! (At least I also contributed answering the asked questions in another post...) --Ned. Tim Chase wrote: >> You could try not serving a different page at all: CSS can >> apply a different stylesheet when printing than when on the >> screen. See http://w

Re: Printable article page URLs?

2008-01-02 Thread Tim Chase
> You could try not serving a different page at all: CSS can > apply a different stylesheet when printing than when on the > screen. See http://www.alistapart.com/stories/goingtoprint/ > for an introduction. While I agree with Ned that CSS is an excellent if not the best way to go...The OP (Mord

Re: Printable article page URLs?

2008-01-02 Thread Ned Batchelder
I also like /articles/slug/print, in that print modifies the articles/slug url that precedes it. Also, you can prevent robot spidering other ways than robots.txt. A tag in the served content can direct the robot as well: see http://www.robotstxt.org/meta.html --Ned. http://nedbatchelder.com

Re: Printable article page URLs?

2008-01-02 Thread Ned Batchelder
You could try not serving a different page at all: CSS can apply a different stylesheet when printing than when on the screen. See http://www.alistapart.com/stories/goingtoprint/ for an introduction. --Ned. http://nedbatchelder.com Alex Koshelev wrote: > The second variant with GET query is th

Re: Printable article page URLs?

2008-01-02 Thread Alex Koshelev
The second variant with GET query is the best. One resouce has one uri but with query you specify it's display properties. On 3 янв, 01:52, Mordy Ovits <[EMAIL PROTECTED]> wrote: > I really like Django's policy of readable URLs and one authoritative > page. My question is how do I do printable v

Printable article page URLs?

2008-01-02 Thread Mordy Ovits
I really like Django's policy of readable URLs and one authoritative page. My question is how do I do printable versions of those nice and authoritative urls? Say I have this: http://www.site.com/articles/slug I can think of two general ways: http://www.site.com/print_articles/slug http://www