473,386 Members | 1,763 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Using the same HTML help in a .NET desktop app & .NET website.

nukefusion
221 Expert 100+
Hi all,
I'm trying to think of the best way to achieve a certain goal and thought I would draw on the experience here.

What I am currently doing is compiling a set of HTML files that form the help guide of an application I am working on.
The help guide needs to be integrated into both a C# .NET desktop app AND a .NET based website using master pages.

The requirements are that:

(a) The same set of files are to be accessible through both my desktop application and my website, so that I only have to update one set of help files.

(b) The website copy is search engine friendly, i.e. the pages must be indexable by a seach engine spider/robot.

(c) The website copy utilises the master page feature of ASP.NET so that there is a consistent look and feel across the whole site.

Originally, I was going to compile the help for my desktop app using HTMLHelp but I don't know if the Java based or ActiveX HTMLHelp viewer provided by Microsoft for websites is search engine friendly.

There are other problems, i.e. page links between different parts of the help files - currently these all end in .HTML and this compiles fine for HTMLHelp, but how will this work with an .ASPX website?

Does anybody have any experience of producing help in a format usable by both a desktop and web application? Any ideas on a simple and maintainable approach?

Thanks,
Matt.
Aug 18 '09 #1
7 1949
Plater
7,872 Expert 4TB
What if you got really sneaky with it?
And created something to the effect of:
MasterPage.aspx?page=helppage1.html
or
MasterPage.aspx?page=helppage2.html

etc. The MasterPage.aspx takes the page attribute and fetches its contents from some webservice.

That leaves the trouble with the html links, here's where I see some tricky business coming in.
You can map the url for:
MasterPage.aspx?page=helppage2.html
to look like this I think
MasterPage/page/helppage2.html

So anytime it sees a URL in that 2nd format, it knows to execute as if it were in the first format. Then you let all your html links be relative "helppage2.html" vs "http://whatever.com/helppage2.html"
Aug 18 '09 #2
nukefusion
221 Expert 100+
Thanks Plater,

That's the sort of solution my mind is leaning towards. I've been toying with the idea of writing out the help files in a more neutral XML format so I could then apply a stylesheet transformation to create any HTML format I want. It's not a requirement that my app use HTMLHelp - a custom viewer will do. The online help will have a central page with a TOC and any topics can be loaded via the querystring.
The code behind can handle the processing of the XML file and control the resultant output.

I think that pretty much covers all the requirements. Thanks again for your help Plater. :)
Aug 18 '09 #3
Frinavale
9,735 Expert Mod 8TB
I only glanced at your problem but off the top of my head I'd recommend looking into compiled Help files.

Compiled help files are actually composed of HTML pages. You won't be able to use ASPX pages for this...because well you aren't going to have a web server at your disposal in the desktop application.

So, in theory, you should be able to create a help website and then use something like HTML Help Workshop (I think this comes with Windows but I can't remember) to create a compiled help package that can be used in the desktop application....

There are some expensive applications that I know will produce both desktop and web help.

Are you creating HTML help for your code? Or for the application?
Aug 18 '09 #4
nukefusion
221 Expert 100+
Hi Frinavale,

It's end-user help. The application is a program as opposed to a class library so it's a standard user guide.

My website is an ASP.NET site using master pages so without doing some sort of magic I don't think HTML Help Workshop is going to compile anything I write specifically for the website. Conversely, I know I can create an .CHM file for the desktop app and then use that on the website but AFAIK that isn't going to be search engine friendly.

I think Platers suggestion is the way forward, just wondered if anyone else knew of a ready made or well practised solution.
Aug 18 '09 #5
Frinavale
9,735 Expert Mod 8TB
Is your help only available online then?
Aug 18 '09 #6
nukefusion
221 Expert 100+
No, the help needs to be available off-line within the desktop app and on-line via my website. I only want to update one set of files though so I need a format that allows me to have one set of source files that can be used for both the offline desktop app and the online help.
Aug 18 '09 #7
Frinavale
9,735 Expert Mod 8TB
I've done both desktop and web help but I used a tool (called RoboHelp) but it's not cheep (starting at almost $1000.00 USD).

If your doing this as a side project then I couldn't see spending this type of money for the product...but if it's for a company and you can claim it as an expense then I'd say that it's almost worth it.

This tool will let you create compiled help and web based help. It's a little frustrating but does the job nicely (professional looking outcome).

Maybe try searching for a free RoboBot alternative :)
Aug 18 '09 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Mike | last post by:
Sites using thumbnail preview for world wide web file navigation and searching. Below are list of sites that are either researching or providing thumbnail preview images for online web...
2
by: Mamatha | last post by:
Hi I developed one website in ASP and i am developing desktop application in VB.Both MS-Access databases(website and desktop) are maintained on the website,then how can i connect to the remote...
133
by: Alan Silver | last post by:
Hello, Just wondered what range of browsers, versions and OSs people are using to test pages. Also, since I don't have access to a Mac, will I have problems not being able to test on any Mac...
0
by: dhruba.bandopadhyay | last post by:
I know that it's possible to mix ASP & ASP.NET 1.1 in the same website/application so long as they are in separate frames (iframes). This also holds for mixing ASP & ASP.NET 2.0 pages. But what I...
8
by: Fred Flintstone | last post by:
I have an odd problem. I'm beating myself bloody trying to get debugging to work. I have VS.Net 2005 installed on a Windows XP SP2 workstation and on a W2003 Server. The asp.net application is...
21
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
9
by: Anic297 | last post by:
Hello, I'm a newbie in php. I would like to show a popup menu on my website and update the page when the user has changed its selection. I have looked over the Internet but haven't found what I...
1
by: bido | last post by:
I am designing a typical N tier system, that will be used from windows desktop clients and web browsers. So basically, I was thinking of building a central WCF that abstracts user authentication,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.