Page 2 of 3 FirstFirst 123 LastLast
Results 21 to 40 of 43
Like Tree9Likes
  1.    #21  
    ok,

    please check com.palm.app.help/app/models/url-manager.jsjsjs

    for
    baseUrlWithInfo: "#{baseUrl}/#{locale}/#{carrier}/#{device}",
    baseUrlWithLocale: "#{baseUrl}/#{locale}",
    baseUrlNoInfo: "http://help.palm.com",

    tipsUrl: "#{baseUrl}/index.json",
    clipsUrl: "#{baseUrl}/clips/index.json",

    tipsMenuUrl: "#{baseUrl}/index.json?from=menu",
    clipsMenuUrl: "#{baseUrl}/clips/index.json?from=menu",

    searchUrl: "http://help.palm.com/search/results.cgi",
    featuredUrl: "#{baseUrl}/index_features.json",
  2. #22  
    Code:
    /**
     * UrlManager is the component in charge of generating the proper URL
     * for the different topics in the Help application.
     * 
     * Copyright 2011 HP, Inc.  All rights reserved.
     */
    enyo.kind({
    	name: "help.UrlManager",
    	kind: "Component",
    	published: {
    		/**
    		 * Help URL
    		 */
    		helpUrl: "http://help.palm.com"
    	},
    	/**
    	 * Returns the Base URL given including locale, device and carrier
    	 */
    	getBaseUrl: function() {
    		var baseUrl = this.helpUrl;
    		if (this.locale) {
    			baseUrl += "/" + this.locale;
    			
    			// Remove device code from URL
    			/* 
    			if (this.carrier && this.device) {
    				baseUrl += "/" + this.carrier + "/" + this.device;
    			}
    			*/	
    			
    			if (this.carrier) {
    				baseUrl += "/" + this.carrier;
    			}
    			
    		}
    		return baseUrl;
    	},
    	/**
    	 * Log when the Help URL is changed
    	 */
    	helpUrlChanged: function() {
    		this.log("Help URL changed to " + this.helpUrl);
    	},
    	//@ public
    	/**
    	 * Return the Tips URL
    	 */
    	getTipsUrl: function() {
    		return this.getBaseUrl() + "/index.json";
    	},
    	/**
    	 * Return the Clips URL
    	 */
    	getClipsUrl: function() {
    		return this.getBaseUrl() + "/clips/index.json";
    	},
    	/**
    	 * Returns the Featured URL
    	 */
    	getFeaturedUrl: function() {
    		return this.getBaseUrl() + "/index_features.json";
    	},
    	/**
    	 * Returns the Search URL with the added search terms
    	 */
    	getSearchUrl: function(terms) {
    		// TODO: escapeHTML maybe?? Could be fun to hack the search code...
    		terms = terms.trim().replace(/\s+/g, '+');
    		return this.helpUrl + "/search/results.cgi?q=" + terms;
    	},
    	/**
    	 * Set the device model
    	 */
    	setModel: function(model) {
    		this.model = model;
    	},
    	/**
    	 * Set the device ID
    	 */
    	setDeviceId: function(device) {
    		this.device = device;
    	},
    	/**
    	 * Set the locale
    	 */
    	setLocale: function(locale) {
    		this.locale = locale; 
    	},
    	/**
    	 * Set the carrier
    	 */
    	setCarrier: function(carrier) {
    		this.carrier = carrier;
    	},
    	/**
    	 * Returns the Chat Base URL given including locale, device and carrier
    	 */
    	getChatBaseUrl: function() {
    		var baseUrl = this.helpUrl + "/HelpSiteViewer/chat";
    		if (this.locale) {
    			baseUrl += "/" + this.locale;
    			
    			// Remove device code from URL
    			/*
    			if (this.carrier && this.device) {
    				baseUrl += "/" + this.carrier + "/" + this.device;
    			}
    			*/
    			
    			if (this.carrier) {
    				baseUrl += "/" + this.carrier;
    			}			
    		}
    		return baseUrl;
    	},
    	/**
    	 * Returns the URL of the JSON info file for Chat 
    	 */
    	getChatInfoUrl: function(application) {
    		return this.getChatBaseUrl() + "/chat.do" + (application ? "?application=" + application : "");
    	},
    	/**
    	 * Returns the URL of the JSON file for Hours of Operation 
    	 */
    	getChatHoursUrl: function(application) {
    		return this.getChatBaseUrl() + "/chatHoursOfOperation.do";
    	}
    });
    Last edited by Remy X; 11/03/2014 at 03:22 PM.
    ...
  3. hrhoades's Avatar
    Posts
    67 Posts
    Global Posts
    68 Global Posts
    #23  
    I get a "No Network Connection" message when I try to access any of the Help App categories (Tips, etc.) on my TP (wifi only) in Airplane Mode.
    Palm III, Palm T3, Palm Treo 650, Palm Pre+, hp Pre 3, Touchpad
  4. #24  
    Just tested, for the hell of it: http://help.palm.com/en-us/c000-01/d500-01/index.json works!

    It seems that d500-02 didn't make it to production, so both WiFi and 4G use the same Help URLs
    ...
  5.    #25  
    ahah, good good.

    I'm effectively dumping ALL the help system... will take a bit to snatch all the extra pages for each device / carrier / locale ... ( de-de fr-fr fr-ca en-us en-gb en-ie en-ca es-es es-us es-mx it-it ) (if a locale with data is missing, let me know)

    I'll add the touchpad to the skeleton once the first automated test of en-us/c000-01/d400-01/toc ends.

    These 2 are not anywhere I can see under c000-01 , c001-01 , c027-01 , so we are missing some carrier
    device = 'd100-01'; // Castle aka Pre
    device = 'd200-01'; // Pixie
  6. #26  
    Quote Originally Posted by mazzinia View Post
    ahah, good good.

    I'm effectively dumping ALL the help system... will take a bit to snatch all the extra pages for each device / carrier / locale ... ( de-de fr-fr fr-ca en-us en-gb en-ie en-ca es-es es-us es-mx it-it ) (if a locale with data is missing, let me know)

    I'll add the touchpad to the skeleton once the first automated test of en-us/c000-01/d400-01/toc ends.

    These 2 are not anywhere I can see under c000-01 , c001-01 , c027-01 , so we are missing some carrier
    device = 'd100-01'; // Castle aka Pre
    device = 'd200-01'; // Pixie
    Those are Sprint Pre- and Pixi-

    I have dozens of Doctors that i've downloaded ahead of the shutdown, so hopefully i'll find the carrier IDs for Sprint, Bell Mobility (Canada), and TelCel (Mexico), all of which had offered the Pre-

    Maybe the Doctors have nothing, but still worth a try
    ...
  7.    #27  
    is

    help.palm.com

    down ? suddenly I get "server not found", also with ping
  8. #28  
    Hmm... palm.com, help.palm.com and their CDN doesn't resolve again...

    More DNS issues...

    [Edit] Update your hosts file!

    23.4.17.24 cdn.downloads.palm.com

    15.217.96.16 help.palm.com
    Last edited by Remy X; 11/04/2014 at 05:28 PM.
    ...
  9. #29  
    Try this: http://h10184.www1.hp.com/en-us/c000...-01/index.json It works!

    help.palm.com is an alias for h10184.www1.hp.com
    ...
  10.    #30  
    wew... I was thinking they "blocked" me. The funny thing is that on this pc doesn't resolve, on another does, on the phone does.

    Put the phone dns, resolves in firefox.. then if I try wget :host not found
  11. #31  
    Quote Originally Posted by mazzinia View Post
    wew... I was thinking they "blocked" me. The funny thing is that on this pc doesn't resolve, on another does, on the phone does.

    Put the phone dns, resolves in firefox.. then if I try wget :host not found
    For me, wget works with this added to my hosts file...

    15.217.96.16 help.palm.com

    YMMV..

    i do however send Pre+ headers with every wget request
    ...
  12.    #32  
    I don't send any headers, and with a different continent dns, things are back working
  13.    #33  
    dns issues again... now obviously also the phone is affected. Suppose we are all having the help system down ?
  14. #34  
    I'd imagine it affects everyone. I never liked the idea of online help for when your phone was offline.. Hadn't occurred to me then that they might shut it down - duh. Then again, the help here on the forum was always better anyway.
    60RH likes this.
  15.    #35  
    They didn't shut it down, but they're messing with moving / keeping the dns

    Quick and dirty workaround (works on phones/tablets/windows/cats.. ok maybe not cats)

    Go to your hosts file , edit it

    15.192.32.33 help.palm.com

    add the above line , save, and that's all (as long as that ip doesn't change, that is)
    More elegant would be a free dns service like openDNS , but that allows also to define aliases. If you know of one, I'm interested
  16. #36  
    Quote Originally Posted by Grabber5.0 View Post
    Then again, the help here on the forum was always better anyway.
    Ditto ^
    I always curse when I hit help link on phone or TP the same way I do on windows. Never helped me
  17.    #37  
    On a side note, the whole help pages for all the devices are well under 150mb (plus the videos). (and no, I've not yet finished, I'm missing part of es-us , all fr-* and it-it , then have to rescan again due to a damn trick they added) (and no, missing pre and normal pixi due to not knowing the carrier code/s .. one or more are unknown)
    Having 20 or 30mb of help on the device (mp4 included) was not going to be a dealbreaker, but maybe they wanted to collect analitics ( all pages have them... )
    Remy X and Preemptive like this.
  18. #38  
    Quote Originally Posted by Grabber5.0 View Post
    I'd imagine it affects everyone. I never liked the idea of online help for when your phone was offline.. Hadn't occurred to me then that they might shut it down - duh. Then again, the help here on the forum was always better anyway.
    I was recently wondering if those little 'on-device' help videos were actually part of the installation or were stored remotely - I think maybe there was a problem connecting lately, so maybe the latter.

    In defence of the HP/Palm materials, they tend to be easy, 'first-line' maintenance materials (e.g. 6Ts) for consumers. Of course later, when you want to 'improve' your device (and now they are unsupported), this and similar forums are the place to go.

    You'll note that now you can't really get a webOS device working 'fresh out of the box', we are producing some introductory guide material on pivotCE to walk less techy users through the set up.

    @mazzinia: Thanks for preserving this material. I was planning to get to grips with wget myself just in case. There's no official word I've seen about the fate of support sites, but this changing DNS stuff is worrying me again.
  19.    #39  
    All videos are safely saved for
    d100-00
    d200-00
    d200-03
    d400-01 (around 32mb for each locale)
    d500-00 (around 110mb for each locale)

    You cannot use wget directly, because there are no html pages to follow, and the links inside the jsons are in good part fake and require adjusting.

    On a side note, the Help App is hardlinked to help.palm.com and on top of this, does a check, later, about connecting to an *.palm.com.
    Both can be changed easily with a patch, or a hosts tweak if we have a fix stable ip.
    Preemptive likes this.
  20. #40  
    OK, yes I was sort of confusing/conflating the help app & help pages anyway, so I'll try to look at the actual sites, but I think someone may also be doing that too.

    I hope they don't close - at least not for a while.

    If they do close, I hope HP make us a gift of it...

    Or least permission to re-host it somewhere!
Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions