summaryrefslogtreecommitdiff
path: root/gsearch/context.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-06-01 13:17:54 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-06-01 13:17:54 +0000
commit05602d9aaf42e2e678182b02d091c07434ea614d (patch)
tree30a0a0944c4d3e84716d6abbd888daa727eebd68 /gsearch/context.php
parente15b77aa6e74cb88e7a094a95e5173d961096641 (diff)
downloadsemanticscuttle-05602d9aaf42e2e678182b02d091c07434ea614d.tar.gz
semanticscuttle-05602d9aaf42e2e678182b02d091c07434ea614d.tar.bz2
New feature: add Google Custom Search into gsearch folder
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@133 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'gsearch/context.php')
-rw-r--r--gsearch/context.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/gsearch/context.php b/gsearch/context.php
new file mode 100644
index 0000000..a48179f
--- /dev/null
+++ b/gsearch/context.php
@@ -0,0 +1,20 @@
+<?php require_once('../header.inc.php');?>
+
+<!--?xml version="1.0" encoding="UTF-8" ?-->
+<GoogleCustomizations>
+ <CustomSearchEngine>
+ <Title><?php echo $GLOBALS['sitename'] ?></Title>
+ <Description><?php echo $GLOBALS['welcomeMessage'] ?></Description>
+ <Context>
+ <BackgroundLabels>
+ <Label name="include" mode="FILTER" />
+ </BackgroundLabels>
+ </Context>
+ <LookAndFeel nonprofit="false">
+ </LookAndFeel>
+ </CustomSearchEngine>
+
+ <Include type="Annotations" href="<?php echo $GLOBALS['root'];?>api/export_gcs.php?xml=1" />
+
+
+</GoogleCustomizations>