Jacob wrote something like this a while ago 
http://toys.jacobian.org/misc/pirate.py.txt

On Sep 19, 5:26 am, Scott Benjamin <[EMAIL PROTECTED]> wrote:
> Today I was looking for some middleware that would allow changing of
> the text of a site into Pirate Talk  without effecting the content, as
> today was Talk like a Pirate day.http://www.talklikeapirate.com/.
> There wasn't anything available for Django that would change site text
> into "Pirate Talk".
>
> Being inspired by some conversations on the django IRC channel, I
> decided to dig into the Middleware and attempt it myself.   After
> about spending  an hour learning Django Middleware and BeautifulSoup,
> I've finished the Talk like a Pirate middleware! I wouldn't say it's
> the best thing since sliced bread but it does work, was a blast to
> write ;)  Writing middleware was very simple.
>
> You can find more information at:
>
> http://www.scott-benjamin.com/blog/2007/sep/19/django-talk-pirate-arr...
>
> Cheers!
> Scott


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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