I've started getting a decent outline where I have template and content data separated. I'm running into a problem when the output files are created with the @file directive, though. Turns out HTML doesn't like it when the page title has comments in it, and since the page title was a << title >> node with the actual title in the content of the node, it ends up being surrounding by comments in the output file.
Is there a way to create an output file that doesn't have any of the Leo metadata in it? On Wed, Oct 12, 2011 at 5:25 PM, Largo84 <[email protected]> wrote: > Sure. Keep in mind that just the .leo file won't mean much without all > of the @files it needs to run. Send PM and I will be more than glad to > share what I can. > > Rob.......... > > > On Oct 12, 6:09 pm, Jeff Aigner <[email protected]> wrote: > > Could I possibly get a copy of the .leo file that generates one of the > > sites? This is very much like what I'm talking about, and I'd like to > > explore ways of making it easier and more robust. > > > > > > > > > > > > > > > > On Wed, Oct 12, 2011 at 5:04 PM, Largo84 <[email protected]> wrote: > > > Not sure if this is relevant but I manage several web sites, two of > > > which are 100% static xhtml written and maintained using Leo (both > > > html and css). One of the other sites I manage is WordPress and I > > > don't like it (I didn't set it up, I just maintain it). The static > > > site loads very fast and I get a lot of good feedback from our > > > audience. We don't do anything requiring a database backend like user > > > logins. In case you're curious, it's here: > > > > >http://www.northgeorgiamodurail.org/ > > > > > If you view the page source you'll see the Leo sentinels. I find > > > maintaining this site extremely easy and fast. All duplicated code > > > that shows up on multiple pages are clones. I simply update the Leo > > > file, then FTP the changes to the site. Regards, > > > > > Rob................ > > > > > PS The content on the WP site is also written in Leo but is then copy/ > > > pasted into the edit boxes. That site is here:http://www.stormvb.org/ > > > > > On Oct 12, 9:59 am, Terry Brown <[email protected]> wrote: > > > > On Tue, 11 Oct 2011 22:20:18 -0700 (PDT) > > > > > > jeff aigner <[email protected]> wrote: > > > > > I mentioned this in a previous post, but I don't believe I gave > enough > > > > > details to make what I was thinking clear. I'll try to explain here > in > > > > > more detail. > > > > > > I've used Leo that way in conjunction with the Genshi templating > > > > language, where the site is a bunch of HTML (XML) pages edited in > Leo, > > > > with about a page worth of script to crunch them through Leo. It > > > > included some Leo nodes as data base records for an event listing for > > > > the site (events as in classes and fairs), simple key/value listing > in > > > > the body text turned into a python structure and fed into the > templates > > > > for rendering. > > > > > > Now I'm using Django so much I'd be inclined to use that, but a > lighter > > > > weight approach like the above can certainly work. > > > > > > Cheers -Terry > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "leo-editor" 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/leo-editor?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" 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/leo-editor?hl=en. > > -- You received this message because you are subscribed to the Google Groups "leo-editor" 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/leo-editor?hl=en.
