AnantLabs / google-enterprise-connector-sharepoint

Automatically exported from code.google.com/p/google-enterprise-connector-sharepoint
0 stars 0 forks source link

In configuration, use newline as a separator instead of a comma for include / exclude urls list #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In connector configuration, newline should be used as a separator for
specifying multiple values in Include/Do not Include url patterns instead
of comma since other Admin Console screens (for example Crawl and Index >
Crawl URLs) take newline as a separator. Documentation
(http://code.google.com/apis/searchappliance/documentation/50/connector_admin/sh
arepoint_connector.html#confconanch)
should be changed once this feature request has been implemented.

Original issue reported on code.google.com by mobe...@gmail.com on 13 Nov 2007 at 8:21

GoogleCodeExporter commented 9 years ago
We would intercept at validateForm, transform the \n\r to comma and then saved 
to 
disk. During makeForm we replace commas with \n

Original comment by mwarti...@gmail.com on 20 Nov 2007 at 4:15

GoogleCodeExporter commented 9 years ago
Although user enters newline separated entries in include\exclude urls, the 
SharePoint connector does not receive the newline separated values for 
include\exclude urls.

This is due to the xml parser used by connector manager removes all the new 
line 
entries (instead puts space separated values) while fetching SharePoint 
configuration values. Same is passed at the connector’s validateForm() and 
other 
such calls. We cannot use space as a delimiter due to URLs too can have spaces 
in it

Original comment by amit.per...@gmail.com on 22 Nov 2007 at 1:27

GoogleCodeExporter commented 9 years ago
Fix: Treat space as seperator. Document that any URL containing spaces should 
be URL 
escaped by using %20 for spaces in the URLs.

Original comment by mwarti...@gmail.com on 26 Nov 2007 at 5:09

GoogleCodeExporter commented 9 years ago

Original comment by mwarti...@gmail.com on 27 Nov 2007 at 6:58

GoogleCodeExporter commented 9 years ago

Original comment by mwarti...@gmail.com on 11 Dec 2007 at 11:39

GoogleCodeExporter commented 9 years ago
Verified with Google SharePoint Connector 1.1.0

Original comment by ndhi...@gmail.com on 18 Jan 2008 at 11:24