Notes on integrating Google Search and Google Friend Connect to my site. This includes some google code that never worked on snipsnap, and doesn’t work here. 28 June 2013

Google Search

Can I make a google search of the site?

I experimented with the snipsnap field macro and tried to make http://www.google.co.uk/search?q=$query+site%3Adavelevy.info, where $query is the results of the text box, and the URL is the search procedure but this didn’t render or work. This solution may need a new search macro which would be fun. If I need to write a macro, see http://snipsnap.org/comments/Macro+Tutorial. It would only be one word without a macro. Annoyingly I could write the procedure in Python.

However a bit of Googling found this? http://www.google.com/cse/?v

 

Experiment

Can I leave the config files on davelevy.info? Looks like not!

I have registered http://davelevy.info as a GFC site in implemented the signin, members and comments on http://davelevy.info/friends. I have seen prettier but I have time to work on it.

I have tried to see if the scripts will leverage the config files hosted on davelevy.info. It seems not. This might be a bit of a problem because of the amount of redirection involved. NB All references to snipsnap, through the host web server are redirected from port 80 to another port. Where do I install the config files? The webserver root, or the jetty server root or in the snipsnap trees. (Some files are rendered directly, such as the css files, so it may be possible to get jetty to serve it, but probably not necessary. The server root should work.).

I removed the web site static files, and display pages recently 28 June 2013

The google code is google.friendconnect.container.setParentUrl(‘/’ /* location of rpc_relay.html and canvas.html */); where does it constrain itself to the domain.

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.