3 Replies Latest reply on Jun 7, 2010 5:56 AM by Willam van Weelden

    How to include version via query string

    Supratik_goswami

      Hi

       

      I am using RoboHelp 7 and created a WebHelp project which contains my help documentation.

      My client browsers are behind a cache server (Squid). When I make any changes in my documentation file and

      after compilation when I upload the files in the server, the previous copy of the document is served.

      It requires manual clean up of the cache files.

       

      I like to have a version number in the query string like ?v=25 in all the links referenced in the documentation.

      Is there any way I can include the version so that after compilation all the links will have a  version in the query string.

       

       

      Warm Regards

       

      Supratik

        • 1. Re: How to include version via query string
          Willam van Weelden Adobe Community Professional & MVP

          Hi,

           

           

           

          With query string, do you mean an url-parameter, such as http://url.com/url.html?v=15 ?

           

           

           

          If so, you’ll need to write a script to handle this call and feed the correct help. Probably a page you parse all parameters needed for the help, which then calls the correct help page.

           

           

           

          Greet,

           

           

           

          Willam

           

          This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.

          • 2. Re: How to include version via query string
            Supratik_goswami Level 1

            Thanks for looking into this issue.

            With query string, do you mean an url-parameter, such as http://url.com/url.html?v=15 ?

             

             

             

            Yes

             

            If so, you’ll need to write a script to handle this call and feed the correct help. Probably a page you parse all parameters needed for the help, which then calls the correct help page.

             


             

            We normally add html files in the project and then compile it and we take the newly generated files from the SSL folder.

            Can you please tell me how I can integrate the script with my RoboHelp project ?

             

             

            Regards

             

            Supratik

            • 3. Re: How to include version via query string
              Willam van Weelden Adobe Community Professional & MVP

              Hi,

               

              As I see it, you shouldn't add the script in a project. Instead, you'll need an extra file that reads the version and then forwards you to the correct version of the help (correct output). If there's a new version, the file will forward you to a new url, one that isn't yet cached.

               

              For instance, version 25 is published in http://example.com/25. Version 26 is published in http://example.com/26, etc. The script reads the version string and calls the correct help. It's a new url and not yet cached.

              This method requires more disk space and you'll need to decide how many old versions you want to support.

               

              It might just be easier to add another step to your installation instructions, i.e. let the client clean up their cache after every update.

               

              Greet,

               

              Willam

               

              This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.