5E Character Create Playlist
  1. #1
    trevorgall's Avatar
    Join Date
    Jul 2005
    Location
    Sydney, Australia
    Posts
    96
    Blog Entries
    2

    Printable - or character WEB page - from FG XML character files.

    Hey

    I wanted to use my FG XML character files, and display on my google site. Also have seen some people asking about printing a char sheet from FG XML file.

    Spent a few hours on Sunday creating this XSLT file.

    Maybe someone has done aready, but enjoy if you haven't.

    THIS IS FOR A PATHFINDER SHEET. HAVE NOT TRIED FOR OTHER PLATFORMS.

    Just take the XML file from the characters folder (copy it) and add after first line..


    <?xml-stylesheet href="char.xslt" type="text/xsl" ?>

    Download the attached zip file and extract char.xslt , put in same folder as your chars.

    Then open the copied/editted XML file in browser and VOILA!

    If you want the html output on your web site, I could not work out how to do with the XML and XSLT on the site. So just view source in your browser, copy and paste to your web page source.

    eg see example from my Google site below.

    This is a first draft of the xslt. Will clean up. Colours are a bit wonky.

    if you print the web page of course, you then have a printed char sheet.

    See attached...and web link below..

    https://sites.google.com/site/thegol...e-par/player-5


    If you find useful, let me know.

    Regards
    Trevor.
    Sydney Australia.
    GMT + 10
    DM 3.5

  2. #2

  3. #3
    trevorgall's Avatar
    Join Date
    Jul 2005
    Location
    Sydney, Australia
    Posts
    96
    Blog Entries
    2
    Nice. lot sexier than mine.. but first draft for me . something to aim at now
    Gunna be a late night tonight
    Last edited by trevorgall; November 3rd, 2014 at 14:48.
    Sydney Australia.
    GMT + 10
    DM 3.5

  4. #4
    trevorgall's Avatar
    Join Date
    Jul 2005
    Location
    Sydney, Australia
    Posts
    96
    Blog Entries
    2

    Modified Sheet

    Updated Sheet. A bit more sedate in terms of colours.

    Grab new zip below

    Trevor
    Sydney Australia.
    GMT + 10
    DM 3.5

  5. #5
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,684
    Blog Entries
    1
    Well done - keep up the great work.
    As an option to consider - you might want a layout that is print friendly - of course that is if print is of use to you!

  6. #6
    If you want help in figuring out the xml / xlst > html process talk to our OS guys at PCGen.

  7. #7
    trevorgall's Avatar
    Join Date
    Jul 2005
    Location
    Sydney, Australia
    Posts
    96
    Blog Entries
    2

    New version that is more print friendly, and bit sexier?

    New Version here.
    Print friendly from Browser. Attached is a PDF print sample as well.
    Rgds
    Axis
    Sydney Australia.
    GMT + 10
    DM 3.5

  8. #8

  9. #9
    trevorgall's Avatar
    Join Date
    Jul 2005
    Location
    Sydney, Australia
    Posts
    96
    Blog Entries
    2

    Talking New version - Happy with it now

    Latest version.
    The background image links to a URL, rather than a local image. You can just change the ref, to have a diff parchment if you wish.
    All Centered.
    Better Colours I think.
    Print Friendly

    Again if you did not see earlier post,
    1. export char from FG
    2. add on second line..
    <?xml-stylesheet href="char.xslt" type="text/xsl" ?>
    3. make sure the char.xslt is in same folder.
    4. Then simply open the XML in your browser.
    5. Print if you wish

    Its now google Sites Friendly (web page ) - example below

    https://sites.google.com/site/thegol...e-par/player-2

    If you want to put on a google site.. the trick I found, was to make a page and INSERT a 'HTML box' widget on the page.

    Attachment 7879

    Then view source on the character web view of the XML.
    Copy the source and paste on your web page.

    Enjoy..

    Now to think up some nasty encounters for my Sat night group..

    One of these in a 'desert' might be good...

    https://www.d20pfsrd.com/bestiary/mo...ll-lurker-tohc


    Trev.
    Last edited by trevorgall; November 6th, 2014 at 20:26.
    Sydney Australia.
    GMT + 10
    DM 3.5

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
FG Spreadshirt Swag

Log in

Log in