New Tag
  1. New Tag
  2. NEWTAG-291

Allow 'SOURCEWEB' to be built up from sub tokens

    Details

    • Type: Modify Token Modify Token
    • Status: Proposed Proposed
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Subtype:
      None Taken

      Description

      From thread: http://tech.groups.yahoo.com/group/pcgen_experimental/message/14603

      Allow the SOURCEWEB token to be defined as (up to) 3 seperate subtokens, such as:

      HYPERROOT:www.paizo.com/pathfinderRPG/prd
      HYPERPATH:ultimateMagic/spells
      HYPERLINK:anticipatePeril

      So that the HYPERROOT can be defined in a PCC, at at the top of the LST file.
      The HYPERPATH can be specified likewise
      HYPERLINK be specified on each row within a LST.

      This allows a weblink to be defined for each entry (spells specifically) to refer to the full spell information and accessable from a HTML or PDF sheet used on a computer.

      The point of splitting up the token into 3 allows the minimum possible to be defined on each LST row, thus simplifying maintenance, and allowing homebrewers to easily MOD the HYPERROOT to point to a local (downloaded) copy of the relevant source.

        Issue Links

          Activity

          Hide
          Andrew Maitland
          added a comment -

          This is not a Code Feature Request, this is a NEWTAG modify token request.

          Show
          Andrew Maitland
          added a comment - This is not a Code Feature Request, this is a NEWTAG modify token request.
          Hide
          Henk Slaaf
          added a comment -

          I think it's easier to just add a URL to the PRD in each object. Yes, there is some data redundancy, but you will be able to support things that have a different reference document structure.

          Show
          Henk Slaaf
          added a comment - I think it's easier to just add a URL to the PRD in each object. Yes, there is some data redundancy, but you will be able to support things that have a different reference document structure.
          Hide
          Dave Griffin
          added a comment -

          Note that we already have SOURCEWEB - that would be the 'single' URL that you refer to?
          The point is, that rather than having a long SOURCEWEB that is almost the same for every row, this request is to enable us to define a value to be stored as SOURCEWEB, but with shorter tags in its definition

          I.E, in one file:

          SOURCELONG:Misc Spells
          SOURCEWEB:www.wotc/blah/blah/spelllist.html
          HYPERROOT:www.paizo/blah
          HYPERPATH=ultimatemagic

          Spell1<tab>Desc:standard spell
          Spell2<tab>SOURCEWEB:www.wotc/blah/blah/alternative_spelllist.html
          Spell3<tab>HYPERLINK:anticipatePeril.html
          Spell4<tab>HYPERPATH:ultimatecombat<tab>HYPERLINK:SomeOtherSpell.html

          So rather than having long SOURCEWEB entries for each spell, if one is not provided, it uses the various 'HYPERxxx' tags to determine it.

          Whole point is to make the .lst files smaller and easier to maintain.

          NOTE - absolutely no intention of referencing any of the HYPERxxxx tags anywhere, ever.
          Only the loader would need to know about them, and it populates the SOURCEWEB tag with the result of combining them.

          Show
          Dave Griffin
          added a comment - Note that we already have SOURCEWEB - that would be the 'single' URL that you refer to? The point is, that rather than having a long SOURCEWEB that is almost the same for every row, this request is to enable us to define a value to be stored as SOURCEWEB, but with shorter tags in its definition I.E, in one file: SOURCELONG:Misc Spells SOURCEWEB:www.wotc/blah/blah/spelllist.html HYPERROOT:www.paizo/blah HYPERPATH=ultimatemagic Spell1<tab>Desc:standard spell Spell2<tab>SOURCEWEB:www.wotc/blah/blah/alternative_spelllist.html Spell3<tab>HYPERLINK:anticipatePeril.html Spell4<tab>HYPERPATH:ultimatecombat<tab>HYPERLINK:SomeOtherSpell.html So rather than having long SOURCEWEB entries for each spell, if one is not provided, it uses the various 'HYPERxxx' tags to determine it. Whole point is to make the .lst files smaller and easier to maintain. NOTE - absolutely no intention of referencing any of the HYPERxxxx tags anywhere, ever. Only the loader would need to know about them, and it populates the SOURCEWEB tag with the result of combining them.

            People

            • Assignee:
              Unassigned
              Reporter:
              Dave Griffin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: