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 <meta> tag in the served content can direct the robot as well: see http://www.robotstxt.org/meta.html
--Ned. http://nedbatchelder.com Mordy Ovits 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/slug > http://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 -~----------~----~----~----~------~----~------~--~---