Technical Support Forums

Technical Support Forums » Web Album Generator

Simple WAG output (body only) option? (3 posts)


About this Topic

  • Started 11 months ago by Anonymous
  • Latest reply from kevan

Tags

  1. Anonymous

    Posted 11 months ago

    G'day, me again...

    I use Expression Web 4.0 to design and manage my sites. I'm in the process of migrating all my sites (commercial and personal) as it works well for me.

    My sites also use what's called "Dynamic Web Templates". That basically creates all the html source, head and body preamble and postambles, and puts an "editable region" in the generated file, which I subsequently edit. This is a one-time-per-file process - once the hand-edited code is safely within the "editable region", EW automagically only updates the code AROUND that area, leaving all my edits alone. This is great for me.

    However... WAG currently generates an entire file, including all the head and body tags and associated magic.

    What I'd like is an option where I can specify that just the body code is generated. Then I can manually move that into my EW source file (which is the same name as the WAG generated file) in the "editable region". Hey presto! I have the excellent results of WAG, encapsulated within the look and feel of the rest of my site.

    (What I'd really like is to be able to generate the code right into the editable region in nominated files, but that's an awful lot of extra work for YOU, and it's a matter of 5-10 minutes for me with an excellent text editor like Textpad!)

    Maybe having a "bare" or "naked" (snigger) option would be helpful to those of us who need to work within security and design frameworks.

    It's fine to keep generating the CSS file, however it would be helpful if all the ids and classes were prefixed with "album-" or "WAG-" (which is what I do manually now). This lets me include the CSS selectors in my main CSS file without disturbing my current heading, table, background, and div classes and so on. That's just another minor suggestion...

    Thanks for listening. I hope this might be useful for more folks like me who'd like to be able to integrate WAG into our sites a bit more nicely.

    Keep up the great work!
    -PCPete

  2. Mark
    Administrator
    Posted 11 months ago

    Thanks for the suggestions, PCPete! I'm busy working on adding much more flexibility in the markup generation so anyone with a little HTML knowledge can make changes to the albums and better integrate into their sites. It's pretty flexible, and could definitely generate albums without the HTML head and body tags so that only the body content is there for integration into other templating systems. I also agree that the CSS selector names could be much more specific to WAG so that they don't conflict with other page styles.

  3. kevan
    Member
    Posted 3 months ago

    Hi, I think I'm wanting to do the same as PCPete. I have created a website using a proprietary web wizard builder. I'd love to install your gallery page into my own site, but keeping the look of the page the same as the rest of the pages. I have no HTML knowledge but use coffee cup to manually edit my pages (as the web wizard is too restrictive) and upload same with FTP. Is there a way I can copy the necessary code and paste one of my existing pages? Thank you


Reply

(required)