Tags:
create new tag
, view all tags

This Interface to Google is very different from other Google interfaces in TWiki, the search results are formatted in XML. The result content can be filtered and combined. The links provided from Google can even be accessed and used in the page formation process. The QueryString? formed to pass to Google can specify to look for XML/RDF content. Other Web Services can be accessed in the same way.

Edit drawing `untitled` (requires a Java 1.1 enabled browser)

Attached files below represent 'executable stylesheets' in the form of XSL.

XslSample is the next version (0.2) of search, its goal is to make search available to any page and separate source files with a core set in a base directory, and 1 or 2 files attached to the users page. It currently searches on source from TWiki.WebHome(configured in its attached somekeys.xml). Soon it will use the local page content.

Next version of search will send WikiNames (with spaces added) to Google.

Use version of search on page: Google search demo(need to be a TWiki user)

Google's REST interface (Xoomle)is accessed from a TWiki edit session. This eliminates the need for SOAP to access WebService s. It shows the mix of Twiki edit page mixed with searches on wiki content, returned to the textarea control. but if you have TWiki tags marked with ---++++++, the link below points to a working search interface. ---+++++ The location change to the Sandbox has caused some failures. If you cannot access, come back later and retry.
Page lock is a problem, after attempting a search cancel edit window.
RDFWeb access tool, which is a simple blend with TWikiThe? The TWiki edit form is valid XHTML, therefore it is a valid document to process with the XSL document function. When the edit form is processed with XSL, other sources can be mixed to form a edit form with REST type interface. This interface allows requests to WebService to be encode into the URL, and XML to be returned. in the example here.

Search content format needs more adjustment.

Mozilla 1.3a/ NOT SUPPORTED There is one MS shortcut that is used. (This is fixable), but first effort is to define scope of XSL/Wiki options. -- JC

This version is safer, because it writes to a different page than it reads from.(GoogleResultXslWiki) and makes the current page its TopicParent? . -- JC XslREST will display the search result.

XslWiki Google Search.

Here is the textarea from the edit form. >

UDDI can be accessed as a REST data source this demo has UDDI data at the bottom of the edit form that was fetched at the time of the edit form page creation.

* UDDIAccess.xml: trigger a UDDI search(and Amazon) on topic of current page results are formated with count of results and 2 links for each topic.

* Visual TWiki Navigator Should work on all browsers, but needs a SVG plugin. * Some Green dots are not all working yet. * node position will be made to not overlap and produce tree structures. * Fitzpatrick1789.rdf: Family structure of a man born in 1789.

Genealogy UDDI SurName index

* BookSearchAmazon? is a book information access from a REST data source,(NOT YET WORKING,data hase been accessed, but Wiki data access is still a problem) this demo will get image and author at the time of the edit form creation.

please send comment on formatting results to: johncoe42@yahooSTOPSPAMPLEASENOSPAM.com

GoogleML: Email: johncoe42@yahooPLEASENOSPAM.com Company Name: Forth Party Software

-- JohnCoe - 11 Mar 2004

-- JohnCoe - 12 Mar 2004

going to http://twiki.org/p/pub/Codev/XslWiki/GoogleML.xml crashes Mozilla 1.3a/Win.

-- MattWilkie - 14 Mar 2004

There could be a autoexec.xsl to your page. -- JC

These notes are to map perl syntax terms to Xsl syntax.

    <xsl:templete match="token"> is roughly the same as if(/m/token

    <xsl:templete match="token"> is roughly the same as if(/s/token/replace
          <replace>

This looks very interesting, but I couldn't get any of the examples to work in IE 5.5 / Win 2000, or Mozilla Firefox 0.8. Can you post details of the browser you have used for testing? Also, screen shots would be useful so people can see a working example even if their browser doesn't support the demos.

I like the idea of auxiliary searches when editing a page, and using REST in innovative ways - could be very handy for public TWikis or intranet TWikis that have a good intranet search engine with a REST interface. I've recently been trying out the Amazon WebServices REST API using Perl (with CPAN:XML::Simple and CPAN:LWP::Simple), and it's really easy to do powerful searches without much code.

-- RichardDonkin - 17 Mar 2004

Most of the problems described by Richard have been fixed, the search still will not work in Mozilla, but the Visual TWiki Navigator will.JC

Fails for me with Security exception IE6/XP. -- MartinCleaver - 23 Mar 2004 This last logged failure was on the FOAF SVG utility. The security model for SVG is very different than the REST access above. I will create a seperate Codev area for it soon. There is a sandbox project GenealogyRDF? that is extending the FAOF viewer to RDF files. The sample files in this case is for genealogy. The RDF files are TWiki file attachments. some firewalls will block access for this interface. There are 2 levels of security that are in play here.

  • 1 This code uses JavaScript to parse the textarea content. System Security will block this from a non-trusted source. If you copy the files to your system, it should be within your trusted area. With some pathing changes,
most of the files could be left in TWiki, and referenced from the local xsl file inside your trust area.

If TWiki content were available in XML(or even XHTML) the script would not be needed. OpenWiki as XML source would work better. Maybe TWiki need a XmlSkin? ??

  • 2 XmlResolver object will limit trusted sources for the Xsl document("http...") access.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnexxml/html/xml07212003.asp more on this later.

-- JohnCoe - 24 Mar 2004

Hi John, I don't understand what you are working on here, but it looks very interesting. Hopefully with time my thick-headedness can be alleviated.

I just wanted to let you know that lack of response doesn't equate to lack of interest. smile

-- MattWilkie - 29 Mar 2004

Topic attachments
I Attachment Action Size Date Who Comment
xmlxml CodeView.xml manage 2.5 K 08 Jan 2005 - 18:14 JohnCoe main trigger file for c++ code extract
xslxsl CodeView.xsl manage 26.2 K 08 Oct 2006 - 23:33 JohnCoe code formatter
htmlhtml FOAF.html manage 0.8 K 19 Mar 2004 - 14:37 JohnCoe RDFWeb access
elserdf Fitzpatrick1789.rdf manage 3.7 K 25 Mar 2004 - 17:43 JohnCoe Family structure of a man born in 1789
xmlxml GoogleML.xml manage 0.1 K 12 Mar 2004 - 17:58 JohnCoe trigger a google search on topic of current page
gifgif MyImages.gif manage 0.4 K 08 Jan 2005 - 18:34 JohnCoe  
xmlxml UDDIAccess.xml manage 0.1 K 15 Mar 2004 - 21:32 JohnCoe trigger a UDDI search on topic of current page
xslxsl WikiGoogle.xsl manage 16.0 K 14 Mar 2004 - 20:47 JohnCoe Main compound web content builder for Google
xslxsl WikiUDDI.xsl manage 17.3 K 15 Mar 2004 - 21:31 JohnCoe Main compound web content builder for UDDI
htmlhtml XMLEdit.html manage 0.8 K 15 Mar 2004 - 23:38 JohnCoe Frame provider
xslxsl amazon.xsl manage 1.5 K 12 Mar 2004 - 18:06 JohnCoe Amazon Book data HTTP interface
gifgif computer.gif manage 0.6 K 08 Jan 2005 - 18:25 JohnCoe  
xslxsl foaf.xsl manage 1.7 K 12 Mar 2004 - 18:10 JohnCoe FOAF HTTP access for SVG & RDFWeb access
elsesvg foafWiki.svg manage 51.7 K 01 Apr 2004 - 06:15 JohnCoe VisualWiki?
gifgif folder.gif manage 0.6 K 08 Jan 2005 - 18:25 JohnCoe  
xslxsl google.xsl manage 8.1 K 14 Mar 2004 - 18:24 JohnCoe Google HTTP interface
gifgif harddrive.gif manage 0.4 K 08 Jan 2005 - 18:35 JohnCoe  
gifgif ie_link.gif manage 0.2 K 08 Jan 2005 - 18:31 JohnCoe  
xslxsl keys.xsl manage 0.2 K 12 Mar 2004 - 18:12 JohnCoe Configuration access
gifgif leaf.gif manage 0.5 K 08 Jan 2005 - 18:28 JohnCoe  
gifgif minus.gif manage 0.2 K 08 Jan 2005 - 18:22 JohnCoe  
gifgif network.gif manage 0.6 K 08 Jan 2005 - 18:27 JohnCoe  
gifgif plus.gif manage 0.2 K 08 Jan 2005 - 18:22 JohnCoe  
gifgif red_ball.gif manage 0.2 K 08 Jan 2005 - 18:20 JohnCoe  
xmlxml somekeys.xml manage 0.4 K 17 Mar 2004 - 19:34 JohnCoe local Configure file
elsecss treeview.css manage 0.8 K 08 Jan 2005 - 18:21 JohnCoe  
elsedtd treeview.dtd manage 1.3 K 08 Jan 2005 - 18:23 JohnCoe  
jsjs treeview.js manage 28.0 K 16 Jan 2005 - 22:55 JohnCoe  
gifgif twikiRobot46x50.gif manage 2.8 K 18 Mar 2004 - 20:49 JohnCoe  
xslxsl uddi.xsl manage 1.6 K 12 Mar 2004 - 18:08 JohnCoe UDDI HTTP content access
elsedraw untitled.draw manage 6.9 K 28 Mar 2004 - 18:18 JohnCoe  
gifgif untitled.gif manage 6.1 K 28 Mar 2004 - 18:18 JohnCoe  
xslxsl wiki.xsl manage 15.4 K 17 Mar 2004 - 19:36 JohnCoe TWiki XHTML reformat to add gathered content
Topic revision: r47 - 08 Oct 2006 - 23:33:35 - JohnCoe
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback