On 5/24/07, Aaron D. Marasco <[EMAIL PROTECTED]> wrote: > Oh. I assumed there are simplistic ways of doing (html) -> (txt) just > dropping all the wikilinks and whatnot. Or is it planned to be more > advanced than just the text dump? Maybe something like: > > [wiki:wikipage This page] shows... > > to HTML => > > <A HREF="http://server/trac/wiki/wikipage">This page</A> shows... > > to plaintext => > > [This page](1) shows... > > (At end of email:) > (1) http://server/trac/wiki/wikipage
Sadly, it's not that simple at the moment, as the parsing and formatting of wiki pages are combined in one large, difficult to separate out behemoth. I mean, one *could* hack the code directly to add some special cases for e-mail or something, but it would be terrible. There's work being done though to separate the two. See http://trac.edgewall.org/wiki/TracDev/Proposals/WikiParserFormatterSplit Basically, there will be a parser that generates a DOM tree for the wiki, and then it will be possible to create formatters to display it however necessary. I'd like to add +1 to the need for HTML e-mails. Personally, I prefer plain text, but we are under the crush of users who can't get any work done if their e-mails are in monochrome ;) Besides, sending multipart-encoded e-mails isn't hard, and any decent MUA should be able to hide the HTML part from you. Erik --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac 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/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
