Re: Access to unprocessed file content
Wari Wahab <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Robert Leftwich wrote: > I am looking at adding thru-the-web editing support to a PyBlosxom > install and would like to be able to access the raw, unparsed file > content to populate a text area. A quick look at the source didn't > highlight a way to do this, have I missed something or is this not > possible? Are you going to do the wikieditish type of plugin? If yes, then something like this is actually possible, but it involves updating every entryparser plugins and the default entryparser (for .txt files) to read everything and dump it to a $raw_text. Not difficult to do. And for those entryparsers what gets data from word documents for example, should not produce $raw_text at all for very very obvious reasons :) So this plugin, must be $raw_text aware (or the lack of it). This is a feature that involves modifying at least 5 plugins and the main pyblosxom.py (I forsee at least 2 lines per mod), if you are up to it, you could send me a patch and I'd should be able to release it in 0.8, else if you want me to do it, it'd be in the next version (0.9++). FYI, $raw_text (or something similar to that) is available in blosxom 2.0, and IMO, it's a worthwhile feature to have. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf