Menu

#501 Hardcoded url to help and website from help-menu

open
nobody
Docs (53)
1
2005-01-26
2004-03-15
Kimmo Varis
No

in CMainFrame::OnHelpContents():

CString url =
_T("http://winmerge.sourceforge.net/docs20/index.html");

This should be in resource? Or?

Discussion

  • Kimmo Varis

    Kimmo Varis - 2004-03-15
    • summary: Hardcoded url to help in website from help-menu --> Hardcoded url to help and website from help-menu
     
  • Kimmo Varis

    Kimmo Varis - 2004-03-15

    Logged In: YES
    user_id=631874

    Tweaking summary, WinMerge homepage is also hardcoded into
    CAboutDlg::OnInitDialog():
    m_ctlWWW.m_link = _T("http://winmerge.sourceforge.net");

     
  • Christian List

    Christian List - 2004-03-15

    Logged In: YES
    user_id=609728

    If we imagine that someone might actually translate the
    user's guide at some point, then yes we should move them to
    the resources.

    At the very least I guess these should really be changed to:
    http://winmerge.org/docs20/index.html
    and
    http://winmerge.org

    And for 2.2 it should even be:
    http://winmerge.org/docs22/index.html
    But that doesn't exist yet.
    I imagine we put the new DocBook version up there when it's
    ready.

     
  • Kimmo Varis

    Kimmo Varis - 2004-03-15

    Logged In: YES
    user_id=631874

    I fixed URLs. Leaving bug open for moving to resource later.

    Checking in MainFrm.cpp;
    /cvsroot/winmerge/WinMerge/Src/MainFrm.cpp,v <-- MainFrm.cpp
    new revision: 1.153; previous revision: 1.152
    done
    Checking in Merge.cpp;
    /cvsroot/winmerge/WinMerge/Src/Merge.cpp,v <-- Merge.cpp
    new revision: 1.60; previous revision: 1.59
    done

     
  • Tim Gerundt

    Tim Gerundt - 2004-03-15

    Logged In: YES
    user_id=652377

    > And for 2.2 it should even be:
    > http://winmerge.org/docs22/index.html

    I think a other good URL could be:
    http://winmerge.org/2.2/docs/index.html

    All "2.2" stuff could go into this subdirectory. Like
    screenshots, changelogs, ...
    For the current version we could use "winmerge.org/2.0/" and
    later "/2.4/" and so on. ;)
    So the stuff remains online, after a new WinMerge version.
    Good for people, who use older version.

    With an Apache Redirect <http://httpd.apache.org/docs-
    2.0/mod/mod_alias.html#redirect> we could move
    the "/docs20/" directory to the new URL.

    Regards,
    Tim

     
  • Christian List

    Christian List - 2004-03-15

    Logged In: YES
    user_id=609728

    In the SourceForge documentation I found this:
    One of the benefits of our use of the Apache web server
    software is that your project may override some of the
    defaults used in our configuration through the use of
    an .htaccess file. It should be noted that we only support a
    subset of these directives, specifically those overrides in
    these categories: AuthConfig, Limit, FileInfo, Options.

    The redirect stuff is in the FileInfo category, so we can
    indeed make an Apache override for this if we want to.
    I am no Apache wizard, so if you could suggest the content
    of an .htaccess file, then I would be gratefull.

    Please also remember we still have the old WinMerge 1.7 stuff
    out there on these URL's
    http://winmerge.sourceforge.net/docs/index.html
    http://winmerge.sourceforge.net/WinMerge17/index.html

    They should be included in any new scheme we think of.

     
  • Kimmo Varis

    Kimmo Varis - 2005-01-26
    • labels: --> Docs
    • priority: 3 --> 1
     
  • Tim Gerundt

    Tim Gerundt - 2008-09-29

    Kimmo, you moved all URLs to the file "Constants.h". Do you still think we should move the URLs to resources?

     
  • Kimmo Varis

    Kimmo Varis - 2008-09-29

    The point to have manual URL in the resource is for the case we support translated manual. Or perhaps translate some web pages?

     

Log in to post a comment.

MongoDB Logo MongoDB