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 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 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/slughttp://www.site.com/articles/slug?page=print
>>
>> Each has issues.  The first one needs a robots.txt fix to prevent the
>> print versioned from being spidered, but at least it can be done.
>> The second one is not amenable to a robots.txt fix.  The second one
>> is also "ugly" in my subjective django-influenced opinion.
>>
>> So what do you folks suggest for printable versions of article pages?
>> Please don't suggest CSS, I know about it and it's not really an
>> option for me.
>>
>> Thanks,
>> Mordy
>>     
> >
>
>   

-- 
Ned Batchelder, http://nedbatchelder.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to