pier: rendering a file contents.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

pier: rendering a file contents.

sergio_101-2
i have uploaded the javascript files i would like rendered in one of
my pages, but no matter how i slice it, it is rendered as a link to
the file, rather than just spitting out the file's contents..

any idea on how i can have it just render the contents of that file?

thanks!

--
----
peace,
sergio
photographer, journalist, visionary

http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: pier: rendering a file contents.

John McKeon
If you rename the file with a .txt extension before you upload it, Pier will render its contents as text.

On Fri, May 7, 2010 at 9:13 PM, sergio_101 <[hidden email]> wrote:
i have uploaded the javascript files i would like rendered in one of
my pages, but no matter how i slice it, it is rendered as a link to
the file, rather than just spitting out the file's contents..

any idea on how i can have it just render the contents of that file?

thanks!

--
----
peace,
sergio
photographer, journalist, visionary

http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki



--
http://john-mckeon.us/seaside

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: pier: rendering a file contents.

sergio_101-2
On Sat, May 8, 2010 at 1:50 AM, John McKeon <[hidden email]> wrote:
> If you rename the file with a .txt extension before you upload it, Pier will
> render its contents as text.

hmmm...

this puts it in a pre tag, then escapes out the html entities..

what would like it to do is just render the html as is, so that the
javascript will execute..


--
----
peace,
sergio
photographer, journalist, visionary

http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki