diff --git a/lib/WebGUI/Help/HttpProxy.pm b/lib/WebGUI/Help/HttpProxy.pm index 00de55949..d8c9abb64 100644 --- a/lib/WebGUI/Help/HttpProxy.pm +++ b/lib/WebGUI/Help/HttpProxy.pm @@ -6,11 +6,35 @@ our $HELP = { body => '11', related => [ { - tag => 'wobjects using', + tag => 'asset fields', + namespace => 'Asset' + }, + { + tag => 'wobjects add/edit', namespace => 'WebGUI' - } + }, + { + tag => 'http proxy template', + namespace => 'HttpProxy' + }, ] }, + + 'http proxy template' => { + title => 'http proxy template title', + body => 'http proxy template body', + related => [ + { + tag => 'http proxy add/edit', + namespace => 'HttpProxy' + }, + { + tag => 'template language', + namespace => 'Template' + }, + ] + }, + }; 1; diff --git a/lib/WebGUI/i18n/English/HttpProxy.pm b/lib/WebGUI/i18n/English/HttpProxy.pm index 2163991af..5fbb84e26 100644 --- a/lib/WebGUI/i18n/English/HttpProxy.pm +++ b/lib/WebGUI/i18n/English/HttpProxy.pm @@ -11,10 +11,14 @@ our $I18N = {

-URL
+URL to proxy
The starting URL for the proxy.

+Allow proxying of other domains?
+If you proxy a site like Yahoo! that links to other domains, do you wish to allow the user to follow the links to those other domains, or should the proxy stop them as they try to leave the original site you specified? +

+ Follow redirects?
Sometimes the URL to a page is actually a redirection to another page. Do you wish to follow those redirections when they occur?

@@ -23,8 +27,8 @@ Sometimes the URL to a page is actually a redirection to another page. Do you wi Switch this to No if you want to deep link an external page.

-Timeout
-The amount of time (in seconds) that WebGUI should wait for a connection before giving up on an external page. +Template
+Use this select list to choose a template to show the output of the proxied content.

Remove style?
@@ -35,6 +39,10 @@ Do you wish to remove the stylesheet from the proxied content in favor of the st Choose the level of HTML filtering you wish to apply to the proxied content.

+Timeout
+The amount of time (in seconds) that WebGUI should wait for a connection before giving up on an external page. +

+ Search for
A search string used as starting point. Use this when you want to display only a part of the proxied content. Content before this point is not displayed

@@ -42,14 +50,41 @@ A search string used as starting point. Use this when you want to display only a Stop at
A search string used as ending point. Content after this point is not displayed.

-Note: The Search for and Stop at strings are included in the content. You can change this by editing the template for HttpProxy. +Note: The Search for and Stop at strings are included in the content in the default template. You can change this by creating your own template.

-Allow proxying of other domains?
-If you proxy a site like Yahoo! that links to other domains, do you wish to allow the user to follow the links to those other domains, or should the proxy stop them as they try to leave the original site you specified? -

|, - lastUpdated => 1101773206 + lastUpdated => 1109715109, + }, + + 'http proxy template title' => { + message => q|HTTP Proxy Template|, + lastUpdated => 1109714266, + }, + + 'http proxy template body' => { + message => q|

The following variables are available in templates for HTTP Proxies:

+

header
+The header from the proxied URL. + +

content
+The content from the proxied URL. If the Search for or Stop at properties are used, then the content will not contain either of those. + +

search.for
+The string used to start the content search. + +

stop.at
+The string used to stop the content search. + +

content.leading
+Any text before the Search For string. + +

content.trailing
+Any text after the Stop At string. + +

+|, + lastUpdated => 1109714266, }, '3' => { @@ -83,7 +118,7 @@ If you proxy a site like Yahoo! that links to other domains, do you wish to allo }, '1' => { - message => q|URL|, + message => q|URL to proxy|, lastUpdated => 1031510000 },