> I have a file. 
> I want to read in the contents.

In what format? (how the controller will read/parse the data). Is it JSON, 
XML, HTML, MARKMIN, text, RTF, YAML, CSV, JPEG ...?

> I want to display those contents when a page is visited. 

What does it contain? Is it an image, text, multimedia, ... You ought to 
tell the browser what content you are using.
Do you want to guess automatically what's in the file (and handle the 
contents accordingly)? Will you need pagination?

If you plan to store documents as files, I think you could use the built-in 
MARKMIN engine. It is very powerful and easy to use.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to