• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to include version via query string

New Here ,
Jun 02, 2010 Jun 02, 2010

Copy link to clipboard

Copied

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

Views

955

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 03, 2010 Jun 03, 2010

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 07, 2010 Jun 07, 2010

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 07, 2010 Jun 07, 2010

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp