├── .gitignore
├── htdocs
└── app
│ ├── rawindex
│ ├── screenshot.png
│ ├── app.json
│ └── index.html
│ ├── _
│ ├── img
│ │ └── YaCyLogo2011_60.png
│ ├── js
│ │ ├── t.min.js
│ │ └── conf.js
│ └── css
│ │ └── lit.css
│ ├── facetpiechart
│ ├── screenshot.png
│ ├── app.json
│ └── index.html
│ ├── snippetlines
│ ├── screenshot.png
│ ├── app.json
│ └── index.html
│ ├── websearch_lit
│ ├── screenshot.png
│ ├── README.md
│ ├── app.json
│ └── index.html
│ ├── websearch_yaml4
│ ├── screenshot.png
│ ├── yaml
│ │ ├── add-ons
│ │ │ ├── microformats
│ │ │ │ └── icons
│ │ │ │ │ ├── hcard.png
│ │ │ │ │ ├── icon-geo.png
│ │ │ │ │ ├── icon-xfn.png
│ │ │ │ │ ├── hcalendar.png
│ │ │ │ │ ├── icon-hatom.png
│ │ │ │ │ ├── icon-haudio.png
│ │ │ │ │ ├── icon-hcard.png
│ │ │ │ │ ├── xfn
│ │ │ │ │ ├── xfn-me.png
│ │ │ │ │ ├── xfn-child.png
│ │ │ │ │ ├── xfn-small.png
│ │ │ │ │ ├── xfn-friend.png
│ │ │ │ │ ├── xfn-parent.png
│ │ │ │ │ ├── xfn-spouse.png
│ │ │ │ │ ├── xfn-colleague.png
│ │ │ │ │ ├── xfn-friend-met.png
│ │ │ │ │ ├── xfn-sweetheart.png
│ │ │ │ │ ├── xfn-colleague-met.png
│ │ │ │ │ └── xfn-sweetheart-met.png
│ │ │ │ │ ├── external_link.png
│ │ │ │ │ ├── icon-hresume.png
│ │ │ │ │ ├── icon-rel-tag.png
│ │ │ │ │ ├── icon-hcalendar.png
│ │ │ │ │ ├── icon-hcard-add.png
│ │ │ │ │ ├── icon-hcalendar-add.png
│ │ │ │ │ ├── icon-hcard-download.png
│ │ │ │ │ └── icon-hcalendar-download.png
│ │ │ ├── rtl-support
│ │ │ │ ├── screen
│ │ │ │ │ └── typography-rtl.css
│ │ │ │ ├── navigation
│ │ │ │ │ ├── hlist-rtl.css
│ │ │ │ │ └── vlist-rtl.css
│ │ │ │ ├── forms
│ │ │ │ │ └── gray-theme-rtl.css
│ │ │ │ └── core
│ │ │ │ │ ├── base-rtl.min.css
│ │ │ │ │ └── base-rtl.css
│ │ │ ├── syncheight
│ │ │ │ └── jquery.syncheight.js
│ │ │ └── accessible-tabs
│ │ │ │ └── tabs.css
│ │ ├── print
│ │ │ └── print.css
│ │ ├── core
│ │ │ ├── js
│ │ │ │ └── yaml-focusfix.js
│ │ │ ├── iehacks.min.css
│ │ │ ├── base.min.css
│ │ │ └── iehacks.css
│ │ ├── screen
│ │ │ ├── grid-960gs-12.css
│ │ │ ├── grid-fluid-12col.css
│ │ │ ├── grid-960gs-16.css
│ │ │ ├── grid-blueprint.css
│ │ │ ├── screen-FULLPAGE-layout.css
│ │ │ ├── screen-PAGE-layout.css
│ │ │ └── typography.css
│ │ └── navigation
│ │ │ ├── hlist.css
│ │ │ └── vlist.css
│ ├── app.json
│ ├── css
│ │ ├── yacysearch-yaml.css
│ │ ├── yacysearch-portal.css
│ │ └── yacysearch-result.css
│ ├── js
│ │ ├── setup.js
│ │ ├── navigation.js
│ │ └── search.js
│ ├── usage.html
│ ├── index.html
│ └── about.html
│ └── websearch_bootstrap
│ ├── screenshot.png
│ ├── img
│ └── external.png
│ ├── css
│ ├── ie6.css
│ ├── oldie.css
│ ├── jumbotron.css
│ ├── ie7.css
│ ├── yacysearch-yaml.css
│ ├── yacysearch-portal.css
│ ├── yacysearch-result.css
│ ├── dashboard.css
│ ├── bootstrap-base.css
│ └── style.css
│ ├── bootstrap
│ ├── fonts
│ │ ├── glyphicons-halflings-regular.eot
│ │ ├── glyphicons-halflings-regular.ttf
│ │ ├── glyphicons-halflings-regular.woff
│ │ └── glyphicons-halflings-regular.woff2
│ └── js
│ │ ├── ie10-viewport-bug-workaround.js
│ │ ├── html5shiv.js
│ │ └── respond.min.js
│ ├── js
│ └── setup.js
│ ├── app.json
│ ├── README.md
│ ├── navigation.js
│ ├── usage.html
│ ├── about.html
│ └── index.html
├── .project
├── README.md
└── LICENSE
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .gitignore~
3 |
--------------------------------------------------------------------------------
/htdocs/app/rawindex/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/rawindex/screenshot.png
--------------------------------------------------------------------------------
/htdocs/app/_/img/YaCyLogo2011_60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/_/img/YaCyLogo2011_60.png
--------------------------------------------------------------------------------
/htdocs/app/facetpiechart/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/facetpiechart/screenshot.png
--------------------------------------------------------------------------------
/htdocs/app/snippetlines/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/snippetlines/screenshot.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_lit/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_lit/screenshot.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/screenshot.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_bootstrap/screenshot.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/img/external.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_bootstrap/img/external.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/css/ie6.css:
--------------------------------------------------------------------------------
1 | /* Fixes for IE 6 and lower */
2 |
3 | /* API icon - IE6 does not support position:fixed
4 | div#api {
5 | position:absolute;
6 | } */
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/css/oldie.css:
--------------------------------------------------------------------------------
1 | /* Fixes for IE 5 and lower */
2 |
3 | /* IE 5 and lower can't display favicons, so hide them */
4 | img.favicon {
5 | display: none;
6 | }
7 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/hcard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/hcard.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/css/jumbotron.css:
--------------------------------------------------------------------------------
1 | /* Move down content because we have a fixed navbar that is 50px tall */
2 | body {
3 | padding-top: 50px;
4 | padding-bottom: 20px;
5 | }
6 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-geo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-geo.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-xfn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-xfn.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/hcalendar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/hcalendar.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hatom.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hatom.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-haudio.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-haudio.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hcard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hcard.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-me.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-me.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/external_link.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/external_link.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hresume.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hresume.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-rel-tag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-rel-tag.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-child.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-child.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-small.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/bootstrap/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_bootstrap/bootstrap/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/bootstrap/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_bootstrap/bootstrap/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/css/ie7.css:
--------------------------------------------------------------------------------
1 | /* Fixes for IE 7 and lower */
2 |
3 | /* A class for elements that should get layout because this fixes many things */
4 | .gainlayout {
5 | height: 1%;
6 | }
7 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hcalendar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hcalendar.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hcard-add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hcard-add.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-friend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-friend.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-parent.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-parent.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-spouse.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-spouse.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/bootstrap/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_bootstrap/bootstrap/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/bootstrap/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_bootstrap/bootstrap/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hcalendar-add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hcalendar-add.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-colleague.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-colleague.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-friend-met.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-friend-met.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-sweetheart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-sweetheart.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hcard-download.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hcard-download.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-colleague-met.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-colleague-met.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hcalendar-download.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/icon-hcalendar-download.png
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-sweetheart-met.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yacy/searchlab_apps/HEAD/htdocs/app/websearch_yaml4/yaml/add-ons/microformats/icons/xfn/xfn-sweetheart-met.png
--------------------------------------------------------------------------------
/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | searchlab_apps
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/js/setup.js:
--------------------------------------------------------------------------------
1 | /*
2 | * setup.js
3 | * customization values for the yacy_webclient_bootstrap templates
4 | * (C) 2014, 2015 by Michael Peter Christen, licensed by CC0
5 | */
6 |
7 | var homepage="http://yacy.net";
8 | var logo="../_/img/YaCyLogo2011_60.png";
9 | var headline="Search Portal";
10 | var greeting="Document Search";
11 | var queryplaceholder="Document Retrieval";
12 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_lit/README.md:
--------------------------------------------------------------------------------
1 | This application serves as a template for creating a new
2 | loklak app by simply editing the necessary files.This application can be used as a template to get started with
3 | **loklak app development** quickly.
4 | Just create a copy of this app, rename this app, configure
5 | app.json and edit the files to create your own app. This app
6 | serves as an alternative of usng loklakinit tool for creating an
7 | app structure and app.json manually
8 |
--------------------------------------------------------------------------------
/htdocs/app/rawindex/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "@context":"http://schema.org",
3 | "@type":"SoftwareApplication",
4 | "name":"Raw Index",
5 | "headline":"JSON Document from Search Index",
6 | "alternativeHeadline":"To view documents as they are stored",
7 | "applicationCategory":"Web Search",
8 | "applicationSubCategory":"Minimalistic",
9 | "license": "https://creativecommons.org/publicdomain/zero/1.0/",
10 | "dateCreated": "2022-03-28",
11 | "dateModified": "2022-03-28",
12 | "version": "1.0",
13 | "author":{
14 | "@type":"Person",
15 | "name":"Michael Peter Christen",
16 | "url":"http://yacy.net",
17 | "sameAs":"https://github.com/orbiterlab"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/htdocs/app/snippetlines/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "@context":"http://schema.org",
3 | "@type":"SoftwareApplication",
4 | "name":"Snippet Lines",
5 | "headline":"Search Results as Snippet Lines",
6 | "alternativeHeadline":"Consider this as a text generator",
7 | "applicationCategory":"Web Search",
8 | "applicationSubCategory":"Minimalistic",
9 | "license": "https://creativecommons.org/publicdomain/zero/1.0/",
10 | "dateCreated": "2022-03-28",
11 | "dateModified": "2022-03-28",
12 | "version": "1.0",
13 | "author":{
14 | "@type":"Person",
15 | "name":"Michael Peter Christen",
16 | "url":"http://yacy.net",
17 | "sameAs":"https://github.com/orbiterlab"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "@context":"http://schema.org",
3 | "@type":"SoftwareApplication",
4 | "name":"websearch_yaml4",
5 | "headline":"Web Search App with YAML 4",
6 | "alternativeHeadline":"Rich Faceted Search Front-End",
7 | "applicationCategory":"Web Search",
8 | "applicationSubCategory":"Faceted Search",
9 | "license": "https://creativecommons.org/publicdomain/zero/1.0/",
10 | "dateCreated": "2022-02-25",
11 | "dateModified": "2022-02-25",
12 | "version": "1.0",
13 | "author":{
14 | "@type":"Person",
15 | "name":"Michael Peter Christen",
16 | "url":"http://yacy.net",
17 | "sameAs":"https://github.com/orbiterlab"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/htdocs/app/facetpiechart/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "@context":"http://schema.org",
3 | "@type":"SoftwareApplication",
4 | "name":"Facet Piecharts",
5 | "headline":"Pie Charts for Search Facets",
6 | "alternativeHeadline":"Statistical Evaluation of Search Context",
7 | "applicationCategory":"Web Search",
8 | "applicationSubCategory":"Minimalistic",
9 | "license": "https://creativecommons.org/publicdomain/zero/1.0/",
10 | "dateCreated": "2022-02-02",
11 | "dateModified": "2022-02-25",
12 | "version": "1.0",
13 | "author":{
14 | "@type":"Person",
15 | "name":"Michael Peter Christen",
16 | "url":"http://yacy.net",
17 | "sameAs":"https://github.com/orbiterlab"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "@context":"http://schema.org",
3 | "@type":"SoftwareApplication",
4 | "name":"websearch_bootstrap",
5 | "headline":"Web Search App with Bootstrap",
6 | "alternativeHeadline":"Same Search Web Front-End like YaCy P2P",
7 | "applicationCategory":"Web Search",
8 | "applicationSubCategory":"Faceted Search",
9 | "license": "https://creativecommons.org/publicdomain/zero/1.0/",
10 | "dateCreated": "2022-02-25",
11 | "dateModified": "2022-02-25",
12 | "version": "1.0",
13 | "author":{
14 | "@type":"Person",
15 | "name":"Michael Peter Christen",
16 | "url":"http://yacy.net",
17 | "sameAs":"https://github.com/orbiterlab"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/htdocs/app/_/js/t.min.js:
--------------------------------------------------------------------------------
1 | // t.min.js from https://github.com/jasonmoo/t.js (C) MIT License by Jason Mooberry
2 | (function(){function c(a){this.t=a}function l(a,b){for(var e=b.split(".");e.length;){if(!(e[0]in a))return!1;a=a[e.shift()]}return a}function d(a,b){return a.replace(h,function(e,a,i,f,c,h,k,m){var f=l(b,f),j="",g;if(!f)return"!"==i?d(c,b):k?d(m,b):"";if(!i)return d(h,b);if("@"==i){e=b._key;a=b._val;for(g in f)f.hasOwnProperty(g)&&(b._key=g,b._val=f[g],j+=d(c,b));b._key=e;b._val=a;return j}}).replace(k,function(a,c,d){return(a=l(b,d))||0===a?"%"==c?(new Option(a)).innerHTML.replace(/"/g,"""):a:""})}var h=/\{\{(([@!]?)(.+?))\}\}(([\s\S]+?)(\{\{:\1\}\}([\s\S]+?))?)\{\{\/\1\}\}/g,k=/\{\{([=%])(.+?)\}\}/g;c.prototype.render=function(a){return d(this.t,a)};window.t=c})();
3 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_lit/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "@context":"http://schema.org",
3 | "@type":"SoftwareApplication",
4 | "name":"websearch_lit",
5 | "headline":"Minimalistic Boilerplate Web Search",
6 | "alternativeHeadline":"The 'hello world' app that you want to copy-paste for your own web search app",
7 | "applicationCategory":"Web Search",
8 | "applicationSubCategory":"Minimalistic",
9 | "license": "https://creativecommons.org/publicdomain/zero/1.0/",
10 | "dateCreated": "2022-02-02",
11 | "dateModified": "2022-02-25",
12 | "version": "1.0",
13 | "author":{
14 | "@type":"Person",
15 | "name":"Michael Peter Christen",
16 | "url":"http://yacy.net",
17 | "sameAs":"https://github.com/orbiterlab"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/bootstrap/js/ie10-viewport-bug-workaround.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * IE10 viewport hack for Surface/desktop Windows 8 bug
3 | * Copyright 2014 Twitter, Inc.
4 | * Licensed under the Creative Commons Attribution 3.0 Unported License. For
5 | * details, see http://creativecommons.org/licenses/by/3.0/.
6 | */
7 |
8 | // See the Getting Started docs for more information:
9 | // http://getbootstrap.com/getting-started/#support-ie10-width
10 |
11 | (function () {
12 | 'use strict';
13 | if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
14 | var msViewportStyle = document.createElement('style')
15 | msViewportStyle.appendChild(
16 | document.createTextNode(
17 | '@-ms-viewport{width:auto!important}'
18 | )
19 | )
20 | document.querySelector('head').appendChild(msViewportStyle)
21 | }
22 | })();
23 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/README.md:
--------------------------------------------------------------------------------
1 | # yacy_webclient_bootstrap
2 | This is a YaCy Search Client using Bootstrap which can be used as a template for your own search portal!
3 |
4 | This can be hosted on github pages. Here is the example link to this repository:
5 | http://yacy.github.io/yacy_webclient_bootstrap/
6 |
7 | The search result from the default cofiguration is retrieved either from http://search.yacy.net (the demo portal of YaCy)
8 | if you open the web pages from a http-hosted location like github pages) or the search results are retrieved from your
9 | local YaCy installation at ```http://localhost:8090``` if you open the pages from a ```file://```-path.
10 |
11 | To run your own search portal with your own search index, just change the ```server``` setting in ```js/setup.js```.
12 |
13 | To download the YaCy search server, go to http://yacy.net
14 |
15 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/rtl-support/screen/typography-rtl.css:
--------------------------------------------------------------------------------
1 | /**
2 | * "Yet Another Multicolumn Layout" - YAML CSS Framework
3 | *
4 | * (en) Uniform design of standard content elements
5 | * (de) Einheitliche Standardformatierungen für die wichtigten Inhalts-Elemente
6 | *
7 | * @copyright © 2005-2013, Dirk Jesse
8 | * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
9 | * YAML-CDL (http://www.yaml.de/license.html)
10 | * @link http://www.yaml.de
11 | * @package yaml
12 | * @version 4.1.2
13 | */
14 | @media all {
15 | /* --- Lists | Listen -------------------------------------------------------------------------------- */
16 | ul,
17 | ol,
18 | dl {
19 | margin-left: 0;
20 | margin-right: 1em;
21 | }
22 |
23 | li {
24 | margin-left: 0;
25 | margin-right: 0.8em;
26 | }
27 |
28 | dd {
29 | margin-left: 0;
30 | margin-right: 0.8em;
31 | }
32 |
33 | /* --- general text formatting | Allgemeine Textauszeichnung ------------------------------------------ */
34 | blockquote {
35 | margin-left: 0;
36 | margin-right: 1.5em;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/css/yacysearch-yaml.css:
--------------------------------------------------------------------------------
1 | /*
2 | * yacysearch.css
3 | * Style for the searchpage_template_yaml4 web-page template
4 | * First published 6.3.2013 at https://gitorious.org/yacy/searchpage_template_yaml4
5 | * (C) by Michael Peter Christen, licensed under a
6 | * Creative Commons Attribution 2.0 Generic License (CC-BY 2.0)
7 | * If you enhance this, please clone the repository and give us a pull request!
8 | */
9 |
10 | /* import core styles | Basis-Stylesheets einbinden */
11 | @import url(../yaml/core/base.css);
12 |
13 | /* import screen layout | Screen-Layout einbinden */
14 | @import url(../yaml/forms/gray-theme.css);
15 |
16 | @import url(../yaml/screen/typography.css);
17 | /* @import url(../yaml/screen/screen-PAGE-layout.css); */
18 | @import url(../yaml/screen/screen-FULLPAGE-layout.css);
19 |
20 | /* import screen layout | Screen-Layout einbinden */
21 | @import url(../yaml/navigation/vlist.css);
22 | @import url(../yaml/navigation/hlist.css);
23 | @import url(../yaml/add-ons/accessible-tabs/tabs.css);
24 | @import url(../yaml/add-ons/microformats/microformats.css);
25 |
26 | @import url(screen.css);
27 |
28 | /* import print layout | Druck-Layout einbinden */
29 | @import url(../yaml/print/print.css);
30 |
31 | /* import print layout | Druck-Layout einbinden */
32 | @import url(../yaml/print/print.css);
33 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/css/yacysearch-yaml.css:
--------------------------------------------------------------------------------
1 | /*
2 | * yacysearch.css
3 | * Style for the searchpage_template_yaml4 web-page template
4 | * First published 6.3.2013 at https://gitorious.org/yacy/searchpage_template_yaml4
5 | * (C) by Michael Peter Christen, licensed under a
6 | * Creative Commons Attribution 2.0 Generic License (CC-BY 2.0)
7 | * If you enhance this, please clone the repository and give us a pull request!
8 | */
9 |
10 | /* import core styles | Basis-Stylesheets einbinden */
11 | @import url(../yaml/core/base.css);
12 |
13 | /* import screen layout | Screen-Layout einbinden */
14 | @import url(../yaml/forms/gray-theme.css);
15 |
16 | @import url(../yaml/screen/typography.css);
17 | /* @import url(../yaml/screen/screen-PAGE-layout.css); */
18 | @import url(../yaml/screen/screen-FULLPAGE-layout.css);
19 |
20 | /* import screen layout | Screen-Layout einbinden */
21 | @import url(../yaml/navigation/vlist.css);
22 | @import url(../yaml/navigation/hlist.css);
23 | @import url(../yaml/add-ons/accessible-tabs/tabs.css);
24 | @import url(../yaml/add-ons/microformats/microformats.css);
25 |
26 | /*@import url(screen.css);*/
27 |
28 | /* import print layout | Druck-Layout einbinden */
29 | @import url(../yaml/print/print.css);
30 |
31 | /* import print layout | Druck-Layout einbinden */
32 | @import url(../yaml/print/print.css);
33 |
--------------------------------------------------------------------------------
/htdocs/app/_/css/lit.css:
--------------------------------------------------------------------------------
1 | /*- CSS (C) MIT License by Arham Jain from https://github.com/ajusa/lit.git, slightly modified */
2 | :root { --font: Arial; --primary-color: #2B3E50; --light: #f5f5f5; }
3 | * { box-sizing: border-box; } *+* { margin: .5em 0; } pre { overflow: auto }
4 | @media(min-width:35em) {
5 | .col { display: table-cell; } .row { display: table; border-spacing: 1em 0; }
6 | .\31 { width: 5%; } .\32 { width: 15%; } .\33 { width: 22%; } .\34 { width: 30%; } .\35 { width: 40%; } .\36 { width: 50%; }
7 | }
8 | .w-100, .row { width: 100%; } .w-75, .row { width: 75%; } a:hover, .btn:hover { opacity: .6; }
9 | .card:focus, hr { outline: 0; border: solid var(--primary-color); }
10 | .card, pre { padding: 1em; border: solid var(--light); }
11 | .c { max-width: 60em; padding: 1em; margin: auto; font: 1em/1.6 var(--font); }
12 | h1 { font: 100 2.5em var(--font); } h2 { font: 100 2.2em var(--font); } h3 { font: 100 2em var(--font); }
13 | h4 { font: 100 1.5em var(--font); } h5 { font: 100 1.2em var(--font); } h6 { font: 100 1em var(--font); }
14 | a { color: var(--primary-color); text-decoration: none; }
15 | .btn.primary { color: white; background: var(--primary-color); border: solid var(--primary-color); }
16 | td, th { padding: 1em; text-align: left; border-bottom: solid var(--light); }
17 | .btn { padding: 1em; text-transform: uppercase; background: white; border: solid; font: .7em var(--font); }
18 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/print/print.css:
--------------------------------------------------------------------------------
1 | /**
2 | * "Yet Another Multicolumn Layout" - YAML CSS Framework
3 | *
4 | * default print stylesheet
5 | *
6 | * @copyright © 2005-2013, Dirk Jesse
7 | * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
8 | * YAML-CDL (http://www.yaml.de/license.html)
9 | * @link http://www.yaml.de
10 | * @package yaml
11 | * @version 4.1.2
12 | */
13 | @media print {
14 | /**
15 | * @section basic layout preparation
16 | */
17 | /* (en) change font size unit to [pt] - avoids problems with [px] in Gecko based browsers */
18 | /* (de) Wechsel der der Schriftgrößen-Maßheinheit zu [pt] - Probleme mit [px] in Gecko-Browsern vermeiden */
19 | body {
20 | font-size: 10pt;
21 | padding: 0 5px;
22 | }
23 |
24 | /* (en) Hide unneeded container of the screenlayout in print layout */
25 | /* (de) Für den Druck nicht benötigte Container des Layouts abschalten */
26 | nav,
27 | .ym-searchform {
28 | display: none;
29 | }
30 |
31 | /*------------------------------------------------------------------------------------------------------*/
32 | /* (en) Avoid page breaks right after headings */
33 | /* (de) Vermeidung von Seitenumbrüchen direkt nach einer Überschrift */
34 | h1,
35 | h2,
36 | h3,
37 | h4,
38 | h5,
39 | h6 {
40 | page-break-after: avoid;
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/htdocs/app/_/js/conf.js:
--------------------------------------------------------------------------------
1 | // Searchlab Apps Settings
2 | //
3 | // Modify these settings according to the location of your Searchlab or Yacy instance.
4 | // Because Searchlab and YaCy ("YaCy P2p", "Legacy YaCy") have the same API endpoints (just at different paths)
5 | // it is possible to run the Searchlab Apps also against a YaCy P2P instance.
6 | // This applies also for YaCy Grid.
7 |
8 | var host = "https://searchlab.eu/";
9 | //var host = "http://localhost:8400/";
10 |
11 | // the user must be overwritten with the current user
12 | var user = "en";
13 |
14 | // parse the location url to overwrite the user id
15 | var path = window.location.pathname.split("/");
16 | if (path.length > 2 && !isNaN(path[1])) user = path[1];
17 |
18 | // ### Search API
19 | // ## Searchlab Paths
20 | var search_api = host + user + "/api/yacysearch.json";
21 |
22 | // ## YaCy Grid Paths
23 | //var search_api = "http://searchlab.eu/yacy/grid/mcp/index/yacysearch.json";
24 |
25 | // ## YaCy P2P Paths
26 | //var search_api = "http://localhost:8090/yacysearch.json";
27 |
28 | // ### Index API
29 | // ## Searchlab Paths
30 | var index_api = host + user + "/api/index.json";
31 |
32 | // Suggest API
33 | // ## Searchlab Paths
34 | var suggest_api = host + user + "/api/suggest.json";
35 |
36 | // ## YaCy Grid Paths
37 | //var suggest_api = "http://searchlab.eu/yacy/grid/mcp/index/suggest.json";
38 |
39 | // ## YaCy P2P Paths
40 | //var suggest_api = "http://localhost:8090/suggest.json";
41 |
42 |
43 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/rtl-support/navigation/hlist-rtl.css:
--------------------------------------------------------------------------------
1 | /**
2 | * "Yet Another Multicolumn Layout" - YAML CSS Framework
3 | *
4 | * (en) RTL Horizontal list navigation "hlist"
5 | * (de) RTL Horizontale Navigationsliste "hlist"
6 | *
7 | * @note: Many thanks to Alexander Hass (http://www.yaml-fuer-drupal.de/) for contribution
8 | *
9 | * @copyright © 2005-2013, Dirk Jesse
10 | * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
11 | * YAML-CDL (http://www.yaml.de/license.html)
12 | * @link http://www.yaml.de
13 | * @package yaml
14 | * @version 4.1.2
15 | */
16 | @media all {
17 | /**
18 | * (en) Workaround disappearing list elements on hover
19 | * (de) Workaround verhindert das Verschwinden der Listenelemente beim Hovern
20 | *
21 | * @workaround
22 | * @affected IE 5.x/Win, IE6, IE7
23 | * @css-for IE 5.x/Win, IE6, IE7
24 | * @valid yes
25 | */
26 | .ym-hlist * {
27 | direction: ltr !important;
28 | }
29 | .ym-hlist a,
30 | .ym-hlist strong {
31 | direction: rtl !important;
32 | }
33 | .ym-hlist ul {
34 | position: relative;
35 | float: right;
36 | margin-left: 0;
37 | }
38 | .ym-hlist ul li {
39 | float: right;
40 | text-align: right !important;
41 | }
42 |
43 | /* change back direction to RTL for child elements */
44 | .ym-searchform {
45 | direction: rtl !important;
46 | float: left;
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/rtl-support/forms/gray-theme-rtl.css:
--------------------------------------------------------------------------------
1 | /**
2 | * "Yet Another Multicolumn Layout" - YAML CSS Framework
3 | *
4 | * (en) RTL support for forms (gray-theme)
5 | * (de) RTL Unterstützung für das Gray-Theme des Formularbaukastens
6 | *
7 | * @copyright © 2005-2013, Dirk Jesse
8 | * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
9 | * YAML-CDL (http://www.yaml.de/license.html)
10 | * @link http://www.yaml.de
11 | * @package yaml
12 | * @version 4.1.2
13 | */
14 | @media screen {
15 | .ym-form select {
16 | padding: 3px 1px 3px 2px;
17 | }
18 |
19 | /* adjust buttons */
20 | .ym-button,
21 | .ym-form button,
22 | .ym-form input[type="button"],
23 | .ym-form input[type="reset"],
24 | .ym-form input[type="submit"] {
25 | margin: 0 0 0 0.75em;
26 | }
27 |
28 | .ym-form button:before,
29 | .ym-button:before {
30 | float: right;
31 | margin: 0 -1em 0 1em;
32 | border-radius: 0;
33 | border-top-right-radius: 0.15em;
34 | border-bottom-right-radius: 0.15em;
35 | -webkit-box-shadow: -1px 0 0 rgba(0, 0, 0, 0.5), -2px 0 0 rgba(255, 255, 255, 0.5);
36 | box-shadow: -1px 0 0 rgba(0, 0, 0, 0.5), -2px 0 0 rgba(255, 255, 255, 0.5);
37 | }
38 |
39 | /* ie6 support styles - redefined buttons, because of missing support for attribute selectors */
40 | * html .ym-button,
41 | * html .ym-form button {
42 | margin: 1.5em 0 0 0.75em;
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/rtl-support/core/base-rtl.min.css:
--------------------------------------------------------------------------------
1 | /*! yamlcss v4.1.2 (2013-07-28) */
2 |
3 | @media all{option{padding:0 .4em 0 0}body{text-align:right;direction:rtl}ul,ol,dl{margin:0 1em 1em 0}li{margin-left:0;margin-right:.8em}dd{margin:0 .8em 1em 0}blockquote,cite{margin:0 .8em 1em 0}.ym-form{direction:rtl}.ym-form *{text-align:right}.ym-form input,.ym-form textarea{display:inline-block}.ym-form select{display:inline-block}.ym-form .ym-fbox-check input,.ym-form input[type=radio],.ym-form input[type=checkbox]{margin-left:.5ex;margin-right:0}.ym-form .ym-inline{margin-left:0}.ym-fbox-wrap input[type=radio],.ym-fbox-wrap input[type=checkbox]{margin-left:.5ex;margin-right:0}.ym-columnar input,.ym-columnar textarea,.ym-columnar select{float:right;margin-right:0;margin-left:-3px}.ym-columnar label,.ym-columnar .ym-label{display:inline;float:right}.ym-columnar input+label{margin-right:.5ex}.ym-columnar .ym-fbox-check input,.ym-columnar .ym-message{margin-left:0;margin-right:30%}.ym-columnar .ym-fbox-wrap{margin-left:0;margin-right:30%;margin-left:-3px}.ym-columnar .ym-fbox-wrap .ym-message{margin-right:0}.ym-columnar .ym-fbox-wrap label{margin-right:0}.ym-columnar .ym-fbox-wrap input{margin-right:0}.ym-columnar .ym-fbox-wrap input[type=radio],.ym-columnar .ym-fbox-wrap input[type=checkbox]{margin-left:.5ex;margin-right:0}.ym-columnar .ym-fbox-button input{float:none;margin-left:1em;margin-right:0}.ym-skiplinks{left:32768px!important}.ym-skiplinks .ym-skip:focus,.ym-skiplinks .ym-skip:active{left:-32768px!important}.ym-skip,.ym-hideme,.ym-print{left:32768px!important}.ym-text-ltr{direction:ltr;text-align:left}}
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/css/yacysearch-portal.css:
--------------------------------------------------------------------------------
1 | /*
2 | * yacysearch-portal.css
3 | * Style for the searchpage_template_yaml4 web-page template
4 | * First published 6.3.2013 at https://gitorious.org/yacy/searchpage_template_yaml4
5 | * (C) by Michael Peter Christen, licensed under a
6 | * Creative Commons Attribution 2.0 Generic License (CC-BY 2.0)
7 | * If you enhance this, please clone the repository and give us a pull request!
8 | */
9 |
10 | .headerbackgroundcolor, header {
11 | background-color:#444;
12 | }
13 |
14 | .boxbackgroundcolor, .search-fieldset, .ym-vlist dl, footer .ym-gl {
15 | background-color:#eee;
16 | }
17 |
18 | .headlinecolor, h1, h2, h3, h4 {
19 | color: #2080C0;
20 | }
21 |
22 | .headlineaccentcolor, .reversedcolor, .ym-vtitle, .search-button {
23 | color: #E9F3F9;
24 | }
25 |
26 | .navigationbackground, nav, .ym-hlist {
27 | background: #222;
28 | }
29 |
30 | .linkcolor, a {
31 | color: #EA672E;
32 | }
33 |
34 | .reversedcolor, .ym-vtitle, .search-button {
35 | background-color:#2080C0;
36 | }
37 |
38 | .sans, .ym-hlist {
39 | font-family: "Droid Sans",Arial,Helvetica,sans-serif;
40 | }
41 |
42 | header {
43 | height: 6em;
44 | }
45 |
46 | h1 {
47 | margin: -0.14em 0 0;
48 | font-size: 320%;
49 | }
50 |
51 | .ym-wrapper {
52 | max-width: 84em;
53 | }
54 | .ym-wbox {
55 | padding: 12px;
56 | }
57 |
58 | .ym-hlist ul li a, .ym-hlist ul li strong {
59 | text-shadow: none;
60 | padding: 0 0.21em;
61 | }
62 |
63 | .ym-hlist ul {
64 | padding-right: 0.5em;
65 | }
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/css/yacysearch-portal.css:
--------------------------------------------------------------------------------
1 | /*
2 | * yacysearch-portal.css
3 | * Style for the searchpage_template_yaml4 web-page template
4 | * First published 6.3.2013 at https://gitorious.org/yacy/searchpage_template_yaml4
5 | * (C) by Michael Peter Christen, licensed under a
6 | * Creative Commons Attribution 2.0 Generic License (CC-BY 2.0)
7 | * If you enhance this, please clone the repository and give us a pull request!
8 | */
9 |
10 | .headerbackgroundcolor, header {
11 | background-color:#444;
12 | }
13 |
14 | .boxbackgroundcolor, .search-fieldset, .ym-vlist dl, footer .ym-gl {
15 | background-color:#eee;
16 | }
17 |
18 | .headlinecolor, h1, h2, h3, h4 {
19 | color: #2080C0;
20 | }
21 |
22 | .headlineaccentcolor, .reversedcolor, .ym-vtitle, .search-button {
23 | color: #E9F3F9;
24 | }
25 |
26 | .navigationbackground, nav, .ym-hlist {
27 | background: #222;
28 | }
29 |
30 | .linkcolor, a {
31 | color: #EA672E;
32 | }
33 |
34 | .reversedcolor, .ym-vtitle, .search-button {
35 | background-color:#2080C0;
36 | }
37 |
38 | .sans, .ym-hlist {
39 | font-family: "Droid Sans",Arial,Helvetica,sans-serif;
40 | }
41 |
42 | header {
43 | height: 6em;
44 | }
45 |
46 | h1 {
47 | margin: -0.14em 0 0;
48 | font-size: 320%;
49 | }
50 |
51 | .ym-wrapper {
52 | max-width: 84em;
53 | }
54 | .ym-wbox {
55 | padding: 12px;
56 | }
57 |
58 | .ym-hlist ul li a, .ym-hlist ul li strong {
59 | text-shadow: none;
60 | padding: 0 0.21em;
61 | }
62 |
63 | .ym-hlist ul {
64 | padding-right: 0.5em;
65 | }
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/rtl-support/navigation/vlist-rtl.css:
--------------------------------------------------------------------------------
1 | /**
2 | * "Yet Another Multicolumn Layout" - YAML CSS Framework
3 | *
4 | * (en) Vertical RTL list navigation "vlist"
5 | * (de) Vertikale RTL-Navigationsliste "vlist"
6 | *
7 | * @note: Many thanks to Alexander Hass (http://www.yaml-fuer-drupal.de/) for contribution
8 | *
9 | * @copyright © 2005-2013, Dirk Jesse
10 | * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
11 | * YAML-CDL (http://www.yaml.de/license.html)
12 | * @link http://www.yaml.de
13 | * @package yaml
14 | * @version 4.1.2
15 | */
16 | @media all {
17 | /* menu title */
18 | .ym-vtitle {
19 | padding-left: 0px;
20 | padding-right: 10%;
21 | }
22 |
23 | /* 4 navigation levels defined */
24 | .ym-vlist {
25 | text-align: right;
26 | }
27 | .ym-vlist li {
28 | float: right;
29 | }
30 | .ym-vlist li a,
31 | .ym-vlist li strong,
32 | .ym-vlist li span {
33 | padding-left: 0px;
34 | padding-right: 10%;
35 | }
36 | .ym-vlist li ul li a,
37 | .ym-vlist li ul li strong,
38 | .ym-vlist li ul li span {
39 | padding-left: 0px;
40 | padding-right: 20%;
41 | }
42 | .ym-vlist li ul li ul li a,
43 | .ym-vlist li ul li ul li strong,
44 | .ym-vlist li ul li ul li span {
45 | padding-left: 0px;
46 | padding-right: 30%;
47 | }
48 | .ym-vlist li ul li ul li ul li a,
49 | .ym-vlist li ul li ul li ul li strong,
50 | .ym-vlist li ul li ul li ul li span {
51 | padding-left: 0px;
52 | padding-right: 40%;
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/js/setup.js:
--------------------------------------------------------------------------------
1 | /*
2 | * setup.js
3 | * customization values for the searchpage_template_yaml4 web-page templates
4 | * First published 16.3.2014 at https://gitorious.org/yacy/searchpage_template_yaml4
5 | * (C) by Michael Peter Christen, licensed under a
6 | * Creative Commons Attribution 2.0 Generic License (CC-BY 2.0)
7 | *
8 | * HOW TO USE:
9 | * Just change the server address to your own search server address!
10 | * The address may be different from the place where this wab pages application is hosted
11 | * because the content is fetched using JSONP.
12 | *
13 | * After each update, you must change this again or save the address before doing an update.
14 | */
15 |
16 | var server="localhost:8090";
17 | //var server="141.52.175.63";
18 |
19 | var homepage="http://yacy.net";
20 | var logo="../_/img/YaCyLogo2011_60.png";
21 | var greeting="Search Portal";
22 | var footnote="Made with searchpage_template_yaml4,"+
23 | "YaCy, the YAML4 CSS Framework and"+
24 | "backbone.js."+
25 | "Please clone our work and join in!";
26 |
27 | function fillHeader() {
28 | /* set the values */
29 | document.getElementById("greeting").innerHTML = greeting;
30 | document.getElementById("homepage").setAttribute("href", homepage);
31 | document.getElementById("logo").setAttribute("src", logo);
32 | }
33 | function fillFooter() {
34 | /* set the values */
35 | document.getElementById("footnote").innerHTML = footnote;
36 | }
37 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/css/yacysearch-result.css:
--------------------------------------------------------------------------------
1 | /*
2 | * yacysearch-result.css
3 | * Style for the searchpage_template_yaml4 web-page template
4 | * First published 6.3.2013 at https://gitorious.org/yacy/searchpage_template_yaml4
5 | * (C) by Michael Peter Christen, licensed under a
6 | * Creative Commons Attribution 2.0 Generic License (CC-BY 2.0)
7 | * If you enhance this, please clone the repository and give us a pull request!
8 | */
9 |
10 |
11 | .ym-col1 { float: left; width: 250px; } /* sidebar */
12 | .ym-col3 { margin: 0 0 0 250px; } /* content */
13 | .ym-vtitle {
14 | border-top:none;
15 | border-bottom:none;
16 | }
17 |
18 | .ym-vlist dl {
19 | list-style-type:none;
20 | margin:0;
21 | padding:0;
22 | width:100%;
23 | overflow:hidden;
24 | }
25 | .ym-vlist dt {
26 | clear:both;
27 | padding-left:9%;
28 | width:11%;
29 | float:left;
30 | }
31 | .ym-vlist dd {
32 | margin:0;
33 | padding:0;
34 | width:80%;
35 | float:left;
36 | }
37 |
38 | .search-fieldset {
39 | padding-top:10px;
40 | padding-bottom:10px;
41 | border:0;
42 | margin-top:4px;
43 | }
44 |
45 | .search-textfield {
46 | width:100%;
47 | border:1px solid #ddd;
48 | font-size:x-large;
49 | }
50 |
51 | .search-button {
52 | height:32px;
53 | width:108px;
54 | border:1px solid #ddd;
55 | font-size:x-large;
56 | }
57 |
58 | footer {
59 | position:absolute;
60 | bottom:0px;
61 | width:100%;
62 | background-color:transparent;
63 | }
64 | footer .ym-wbox {
65 | padding-left:0.9em;
66 | padding-right:6.9em;
67 | padding-top:0;
68 | padding-bottom:0;
69 | }
70 |
71 | footer .ym-gl {
72 | height: 5em;
73 | }
74 |
75 | footer .ym-gl p {
76 | padding: 1em;
77 | }
78 |
79 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/css/yacysearch-result.css:
--------------------------------------------------------------------------------
1 | /*
2 | * yacysearch-result.css
3 | * Style for the searchpage_template_yaml4 web-page template
4 | * First published 6.3.2013 at https://gitorious.org/yacy/searchpage_template_yaml4
5 | * (C) by Michael Peter Christen, licensed under a
6 | * Creative Commons Attribution 2.0 Generic License (CC-BY 2.0)
7 | * If you enhance this, please clone the repository and give us a pull request!
8 | */
9 |
10 |
11 | .ym-col1 { float: left; width: 250px; } /* sidebar */
12 | .ym-col3 { margin: 0 0 0 250px; } /* content */
13 | .ym-vtitle {
14 | border-top:none;
15 | border-bottom:none;
16 | }
17 |
18 | .ym-vlist dl {
19 | list-style-type:none;
20 | margin:0;
21 | padding:0;
22 | width:100%;
23 | overflow:hidden;
24 | }
25 | .ym-vlist dt {
26 | clear:both;
27 | padding-left:9%;
28 | width:11%;
29 | float:left;
30 | }
31 | .ym-vlist dd {
32 | margin:0;
33 | padding:0;
34 | width:80%;
35 | float:left;
36 | }
37 |
38 | .search-fieldset {
39 | padding-top:10px;
40 | padding-bottom:10px;
41 | border:0;
42 | margin-top:4px;
43 | }
44 |
45 | .search-textfield {
46 | width:100%;
47 | border:1px solid #ddd;
48 | font-size:x-large;
49 | }
50 |
51 | .search-button {
52 | height:32px;
53 | width:108px;
54 | border:1px solid #ddd;
55 | font-size:x-large;
56 | }
57 |
58 | footer {
59 | position:absolute;
60 | bottom:0px;
61 | width:100%;
62 | background-color:transparent;
63 | }
64 | footer .ym-wbox {
65 | padding-left:0.9em;
66 | padding-right:6.9em;
67 | padding-top:0;
68 | padding-bottom:0;
69 | }
70 |
71 | footer .ym-gl {
72 | height: 5em;
73 | }
74 |
75 | footer .ym-gl p {
76 | padding: 1em;
77 | }
78 |
79 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/css/dashboard.css:
--------------------------------------------------------------------------------
1 | /*
2 | * Base structure
3 | */
4 |
5 | /* Move down content because we have a fixed navbar that is 50px tall */
6 | body {
7 | padding-top: 50px;
8 | }
9 |
10 |
11 | /*
12 | * Global add-ons
13 | */
14 |
15 | .sub-header {
16 | padding-bottom: 10px;
17 | border-bottom: 1px solid #eee;
18 | }
19 |
20 | /*
21 | * Top navigation
22 | * Hide default border to remove 1px line.
23 | */
24 | .navbar-fixed-top {
25 | border: 0;
26 | }
27 |
28 | /*
29 | * Sidebar
30 | */
31 |
32 | /* Hide for mobile, show later */
33 | .sidebar {
34 | display: none;
35 | }
36 | @media (min-width: 768px) {
37 | .sidebar {
38 | position: fixed;
39 | top: 51px;
40 | bottom: 0;
41 | left: 0;
42 | z-index: 1000;
43 | display: block;
44 | padding: 20px;
45 | overflow-x: hidden;
46 | overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
47 | background-color: #f5f5f5;
48 | border-right: 1px solid #eee;
49 | }
50 | }
51 |
52 | /* Sidebar navigation */
53 | .nav-sidebar {
54 | margin-right: -21px; /* 20px padding + 1px border */
55 | margin-bottom: 20px;
56 | margin-left: -20px;
57 | }
58 | .nav-sidebar > li > a {
59 | padding-right: 20px;
60 | padding-left: 20px;
61 | }
62 | .nav-sidebar > .active > a,
63 | .nav-sidebar > .active > a:hover,
64 | .nav-sidebar > .active > a:focus {
65 | color: #fff;
66 | background-color: #428bca;
67 | }
68 |
69 |
70 | /*
71 | * Main content
72 | */
73 |
74 | .main {
75 | padding: 20px;
76 | }
77 | @media (min-width: 768px) {
78 | .main {
79 | padding-right: 40px;
80 | padding-left: 40px;
81 | }
82 | }
83 | .main .page-header {
84 | margin-top: 0;
85 | }
86 |
87 |
88 | /*
89 | * Placeholder dashboard ideas
90 | */
91 |
92 | .placeholders {
93 | margin-bottom: 30px;
94 | text-align: center;
95 | }
96 | .placeholders h4 {
97 | margin-bottom: 0;
98 | }
99 | .placeholder {
100 | margin-bottom: 20px;
101 | }
102 | .placeholder img {
103 | display: inline-block;
104 | border-radius: 50%;
105 | }
106 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/core/js/yaml-focusfix.js:
--------------------------------------------------------------------------------
1 | /**
2 | * "Yet Another Multicolumn Layout" - YAML CSS Framework
3 | *
4 | * (en) Workaround for IE8 und Webkit browsers to fix focus problems when using skiplinks
5 | * (de) Workaround für IE8 und Webkit browser, um den Focus zu korrigieren, bei Verwendung von Skiplinks
6 | *
7 | * @note inspired by Paul Ratcliffe's article
8 | * http://www.communis.co.uk/blog/2009-06-02-skip-links-chrome-safari-and-added-wai-aria
9 | * Many thanks to Mathias Schäfer (http://molily.de/) for his code improvements
10 | *
11 | * @copyright © 2005-2013, Dirk Jesse
12 | * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
13 | * YAML-CDL (http://www.yaml.de/license.html)
14 | * @link http://www.yaml.de
15 | * @package yaml
16 | * @version 4.0+
17 | */
18 |
19 | (function () {
20 | var YAML_focusFix = {
21 | skipClass : 'ym-skip',
22 |
23 | init : function () {
24 | var userAgent = navigator.userAgent.toLowerCase();
25 | var is_webkit = userAgent.indexOf('webkit') > -1;
26 | var is_ie = userAgent.indexOf('msie') > -1;
27 |
28 | if (is_webkit || is_ie) {
29 | var body = document.body,
30 | handler = YAML_focusFix.click;
31 | if (body.addEventListener) {
32 | body.addEventListener('click', handler, false);
33 | } else if (body.attachEvent) {
34 | body.attachEvent('onclick', handler);
35 | }
36 | }
37 | },
38 |
39 | trim : function (str) {
40 | return str.replace(/^\s\s*/, '').replace(/\s\s*$/, '');
41 | },
42 |
43 | click : function (e) {
44 | e = e || window.event;
45 | var target = e.target || e.srcElement;
46 | var a = target.className.split(' ');
47 |
48 | for (var i=0; i < a.length; i++) {
49 | var cls = YAML_focusFix.trim(a[i]);
50 | if ( cls === YAML_focusFix.skipClass) {
51 | YAML_focusFix.focus(target);
52 | break;
53 | }
54 | }
55 | },
56 |
57 | focus : function (link) {
58 | if (link.href) {
59 | var href = link.href,
60 | id = href.substr(href.indexOf('#') + 1),
61 | target = document.getElementById(id);
62 | if (target) {
63 | target.setAttribute("tabindex", "-1");
64 | target.focus();
65 | }
66 | }
67 | }
68 | };
69 | YAML_focusFix.init();
70 | })();
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/core/iehacks.min.css:
--------------------------------------------------------------------------------
1 | /*! yamlcss v4.1.2 (2013-07-28) */
2 |
3 | @media all{body{o\verflow:visible}article,aside,details,figcaption,figure,footer,header,main,nav,section{zoom:1}audio,canvas,video{*display:inline;*zoom:1}img{-ms-interpolation-mode:bicubic;zoom:1}* html iframe,* html frame{overflow:auto}* html input,* html frameset{overflow:hidden}* html textarea{overflow:scroll;overflow-x:hidden}body,#main{position:relative}* html body{position:static}.ym-clearfix{zoom:1}* html .ym-col1,* html .ym-col2,* html .ym-col3{position:relative}body{height:1%}.ym-wrapper,.ym-wbox,#header,#nav,#main,#footer{zoom:1}* html .ym-wrapper,* html .ym-wbox{height:1%;hei\ght:auto}* html #header,* html #nav,* html #main,* html #footer{width:100%;wid\th:auto}.ym-gbox,.ym-gbox-left,.ym-gbox-right{height:1%}* html ul,* html ol,* html dl{position:relative}body ol li{display:list-item}* html .flexible{zoom:1}button,input{*overflow:visible!important}table button,table input{*overflow:auto}fieldset,legend{position:relative}.ym-form,.ym-form div,.ym-form div *{zoom:1}.ym-form input,.ym-form textarea{width:68%;padding-left:1%!important;padding-right:1%!important}.ym-form select{width:70%;padding-left:1%!important;padding-right:1%!important}.ym-form .ym-fbox-wrap{display:block;overflow:hidden;margin-right:-5px}.ym-fbox-wrap input,.ym-fbox-wrap textarea,.ym-full input,.ym-full textarea{width:98%;margin-right:-3px}.ym-fbox-wrap select,.ym-full select{width:100%;margin-right:-3px}* html .ym-form .ym-fbox-check input{display:inline!important;width:auto!important;background:transparent!important;border:0 none!important;padding:0!important}* html .ym-form .ym-fbox-wrap .ym-fbox-check input{margin-left:0}html .ym-ie-clearing{position:static;display:block;\clear:both;width:100%;line-height:0;font-size:0;margin:-2px 0 -1em 1px}* html .ym-ie-clearing{margin:-2px 0 -1em 0}.ym-cbox{margin-bottom:-2px}html{margin-right:1px}* html{margin-right:0}.ym-col3{position:relative}}@media screen,projection{.ym-col1,.ym-col2{display:inline}.ym-grid{overflow:hidden;display:block}* html .ym-grid{overflow:visible}.ym-gl,.ym-gr{display:inline}.ym-equalize .ym-gl{float:left;display:inline;padding-bottom:32767px;margin-bottom:-32767px}.ym-equalize .ym-gr{float:right;margin-left:-5px;display:inline;padding-bottom:32767px;margin-bottom:-32767px}.no-ie-padding .ym-gl,.no-ie-padding .ym-gr{padding-bottom:0;margin-bottom:0}* html .ym-cbox-left,* html .ym-cbox-right,* html .ym-cbox{word-wrap:break-word}* html .ym-gbox,* html .ym-gbox-left,* html .ym-gbox-right{word-wrap:break-word;o\verflow:hidden}}@media print{.ym-gbox,.ym-gbox-left,.ym-gbox-right,.ym-col3{height:1%}}
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/screen/grid-960gs-12.css:
--------------------------------------------------------------------------------
1 | /**
2 | * "Yet Another Multicolumn Layout" - YAML CSS Framework
3 | *
4 | * 960.gs port for YAML: 960px - 12 columns
5 | *
6 | * @copyright © 2005-2013, Dirk Jesse
7 | * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
8 | * YAML-CDL (http://www.yaml.de/license.html)
9 | * @link http://www.yaml.de
10 | * @package yaml
11 | * @version 4.1.2
12 | */
13 | .ym-wrapper {
14 | width: 960px;
15 | margin: 0 auto;
16 | }
17 |
18 | .ym-gbox {
19 | padding-left: 0;
20 | padding-right: 0;
21 | margin-left: 10px;
22 | margin-right: 10px;
23 | }
24 |
25 | [class*="ym-push-"],
26 | [class*="ym-pull-"] {
27 | position: relative;
28 | }
29 |
30 | .ym-g960-1 {
31 | width: 80px;
32 | }
33 |
34 | .ym-g960-2 {
35 | width: 160px;
36 | }
37 |
38 | .ym-g960-3 {
39 | width: 240px;
40 | }
41 |
42 | .ym-g960-4 {
43 | width: 320px;
44 | }
45 |
46 | .ym-g960-5 {
47 | width: 400px;
48 | }
49 |
50 | .ym-g960-6 {
51 | width: 480px;
52 | }
53 |
54 | .ym-g960-7 {
55 | width: 560px;
56 | }
57 |
58 | .ym-g960-8 {
59 | width: 640px;
60 | }
61 |
62 | .ym-g960-9 {
63 | width: 720px;
64 | }
65 |
66 | .ym-g960-10 {
67 | width: 800px;
68 | }
69 |
70 | .ym-g960-11 {
71 | width: 880px;
72 | }
73 |
74 | .ym-g960-12 {
75 | width: 960px;
76 | }
77 |
78 | .ym-push-1 {
79 | left: 80px;
80 | }
81 |
82 | .ym-push-2 {
83 | left: 160px;
84 | }
85 |
86 | .ym-push-3 {
87 | left: 240px;
88 | }
89 |
90 | .ym-push-4 {
91 | left: 320px;
92 | }
93 |
94 | .ym-push-5 {
95 | left: 400px;
96 | }
97 |
98 | .ym-push-6 {
99 | left: 480px;
100 | }
101 |
102 | .ym-push-7 {
103 | left: 560px;
104 | }
105 |
106 | .ym-push-8 {
107 | left: 640px;
108 | }
109 |
110 | .ym-push-9 {
111 | left: 720px;
112 | }
113 |
114 | .ym-push-10 {
115 | left: 800px;
116 | }
117 |
118 | .ym-push-11 {
119 | left: 880px;
120 | }
121 |
122 | .ym-pull-1 {
123 | left: -80px;
124 | }
125 |
126 | .ym-pull-2 {
127 | left: -160px;
128 | }
129 |
130 | .ym-pull-3 {
131 | left: -240px;
132 | }
133 |
134 | .ym-pull-4 {
135 | left: -320px;
136 | }
137 |
138 | .ym-pull-5 {
139 | left: -400px;
140 | }
141 |
142 | .ym-pull-6 {
143 | left: -480px;
144 | }
145 |
146 | .ym-pull-7 {
147 | left: -560px;
148 | }
149 |
150 | .ym-pull-8 {
151 | left: -640px;
152 | }
153 |
154 | .ym-pull-9 {
155 | left: -720px;
156 | }
157 |
158 | .ym-pull-10 {
159 | left: -800px;
160 | }
161 |
162 | .ym-pull-11 {
163 | left: -880px;
164 | }
165 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/screen/grid-fluid-12col.css:
--------------------------------------------------------------------------------
1 | /**
2 | * "Yet Another Multicolumn Layout" - YAML CSS Framework
3 | *
4 | * Fluid 12 column grid
5 | *
6 | * @copyright © 2005-2013, Dirk Jesse
7 | * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
8 | * YAML-CDL (http://www.yaml.de/license.html)
9 | * @link http://www.yaml.de
10 | * @package yaml
11 | * @version 4.1.2
12 | */
13 | .ym-wrapper {
14 | width: 100%;
15 | margin: 0 auto;
16 | }
17 |
18 | .ym-gbox {
19 | padding-left: 0;
20 | padding-right: 0;
21 | margin-left: 0;
22 | margin-right: 10px;
23 | }
24 |
25 | [class*="ym-push-"],
26 | [class*="ym-pull-"] {
27 | position: relative;
28 | }
29 |
30 | .ym-span-1 {
31 | width: 8.33333%;
32 | }
33 |
34 | .ym-span-2 {
35 | width: 16.66667%;
36 | }
37 |
38 | .ym-span-3 {
39 | width: 25%;
40 | }
41 |
42 | .ym-span-4 {
43 | width: 33.33333%;
44 | }
45 |
46 | .ym-span-5 {
47 | width: 41.66667%;
48 | }
49 |
50 | .ym-span-6 {
51 | width: 50%;
52 | }
53 |
54 | .ym-span-7 {
55 | width: 58.33333%;
56 | }
57 |
58 | .ym-span-8 {
59 | width: 66.66667%;
60 | }
61 |
62 | .ym-span-9 {
63 | width: 75%;
64 | }
65 |
66 | .ym-span-10 {
67 | width: 83.33333%;
68 | }
69 |
70 | .ym-span-11 {
71 | width: 91.66667%;
72 | }
73 |
74 | .ym-span-12 {
75 | width: 100%;
76 | }
77 |
78 | .ym-push-1 {
79 | left: 8.33333%;
80 | }
81 |
82 | .ym-push-2 {
83 | left: 16.66667%;
84 | }
85 |
86 | .ym-push-3 {
87 | left: 25%;
88 | }
89 |
90 | .ym-push-4 {
91 | left: 33.33333%;
92 | }
93 |
94 | .ym-push-5 {
95 | left: 41.66667%;
96 | }
97 |
98 | .ym-push-6 {
99 | left: 50%;
100 | }
101 |
102 | .ym-push-7 {
103 | left: 58.33333%;
104 | }
105 |
106 | .ym-push-8 {
107 | left: 66.66667%;
108 | }
109 |
110 | .ym-push-9 {
111 | left: 75%;
112 | }
113 |
114 | .ym-push-10 {
115 | left: 83.33333%;
116 | }
117 |
118 | .ym-push-11 {
119 | left: 91.66667%;
120 | }
121 |
122 | .ym-pull-1 {
123 | left: -8.33333%;
124 | }
125 |
126 | .ym-pull-2 {
127 | left: -16.66667%;
128 | }
129 |
130 | .ym-pull-3 {
131 | left: -25%;
132 | }
133 |
134 | .ym-pull-4 {
135 | left: -33.33333%;
136 | }
137 |
138 | .ym-pull-5 {
139 | left: -41.66667%;
140 | }
141 |
142 | .ym-pull-6 {
143 | left: -50%;
144 | }
145 |
146 | .ym-pull-7 {
147 | left: -58.33333%;
148 | }
149 |
150 | .ym-pull-8 {
151 | left: -66.66667%;
152 | }
153 |
154 | .ym-pull-9 {
155 | left: -75%;
156 | }
157 |
158 | .ym-pull-10 {
159 | left: -83.33333%;
160 | }
161 |
162 | .ym-pull-11 {
163 | left: -91.66667%;
164 | }
165 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/bootstrap/js/html5shiv.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
3 | */
4 | !function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.3",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b),"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:this,document);
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/navigation.js:
--------------------------------------------------------------------------------
1 | /*
2 | * navigation.js
3 | * Functions for the searchpage_template_yaml4 web-page templates
4 | * First published 7.3.2013 at https://gitorious.org/yacy/searchpage_template_yaml4
5 | * (C) by Michael Peter Christen, licensed under a
6 | * Creative Commons Attribution 2.0 Generic License (CC-BY 2.0)
7 | * If you enhance this, please clone the repository and give us a pull request!
8 | */
9 |
10 |
11 | var menulist = new Array(
12 | "Usage:usage.html",
13 | "Search:index.html",
14 | "About:about.html"
15 | );
16 |
17 | String.prototype.endsWith = function(suffix) {
18 | return this.indexOf(suffix, this.length - suffix.length) !== -1;
19 | };
20 |
21 | function menu() {
22 | document.writeln("
");
23 | var doc = document.URL;
24 | if (doc.endsWith("/")) doc += "index.html"
25 | for (var i = 0; i < menulist.length; ++i) {
26 | var entry = menulist[i];
27 | var pos = entry.indexOf(":");
28 | var link;
29 | var name;
30 | if (pos >= 0) {link = entry.substring(pos + 1); name = entry.substring(0, pos);} else {link = entry + ".html"; name = entry;}
31 | var doccheck = (p = doc.indexOf('?')) >= 0 ? doc.substring(0, p) : doc;
32 | if (doccheck.endsWith(link)) {
33 | document.writeln("- " + name + "
");
34 | } else {
35 | document.writeln("- " + name + "
");
36 | }
37 | }
38 | document.writeln("
");
39 | }
40 |
41 | function context() {
42 | document.writeln("");
43 | searchform();
44 | document.writeln("
");
45 | }
46 |
47 | function searchform() {
48 | document.writeln("");
52 | }
53 |
54 | function footer() {
55 | document.writeln("Search Portal for a YaCy Search Engine (GPL2) based on the searchpage_template_yaml4 (CC-BY 2.0) template and the YAML4 CSS Framework (CC-BY 2.0)
");
56 | }
57 |
58 | if (top != self) top.location.replace(location); // this will remove the google translate header if this page is rendered with the google translator
59 |
60 | window.onscroll = function() {
61 | var footer = document.getElementById('footer');
62 | if (footer) {
63 | footer.style.position = 'fixed';
64 | footer.style.bottom = '0';
65 | }
66 | }
67 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/js/navigation.js:
--------------------------------------------------------------------------------
1 | /*
2 | * navigation.js
3 | * Functions for the searchpage_template_yaml4 web-page templates
4 | * First published 7.3.2013 at https://gitorious.org/yacy/searchpage_template_yaml4
5 | * (C) by Michael Peter Christen, licensed under a
6 | * Creative Commons Attribution 2.0 Generic License (CC-BY 2.0)
7 | * If you enhance this, please clone the repository and give us a pull request!
8 | */
9 |
10 |
11 | var menulist = new Array(
12 | "Usage:usage.html",
13 | "Search:index.html",
14 | "About:about.html"
15 | );
16 |
17 | String.prototype.endsWith = function(suffix) {
18 | return this.indexOf(suffix, this.length - suffix.length) !== -1;
19 | };
20 |
21 | function menu() {
22 | document.writeln("");
23 | var doc = document.URL;
24 | if (doc.endsWith("/")) doc += "index.html"
25 | for (var i = 0; i < menulist.length; ++i) {
26 | var entry = menulist[i];
27 | var pos = entry.indexOf(":");
28 | var link;
29 | var name;
30 | if (pos >= 0) {link = entry.substring(pos + 1); name = entry.substring(0, pos);} else {link = entry + ".html"; name = entry;}
31 | var doccheck = (p = doc.indexOf('?')) >= 0 ? doc.substring(0, p) : doc;
32 | if (doccheck.endsWith(link)) {
33 | document.writeln("- " + name + "
");
34 | } else {
35 | document.writeln("- " + name + "
");
36 | }
37 | }
38 | document.writeln("
");
39 | }
40 |
41 | function context() {
42 | document.writeln("");
43 | searchform();
44 | document.writeln("
");
45 | }
46 |
47 | function searchform() {
48 | document.writeln("");
52 | }
53 |
54 | function footer() {
55 | document.writeln("Search Portal for a YaCy Search Engine (GPL2) based on the searchpage_template_yaml4 (CC-BY 2.0) template and the YAML4 CSS Framework (CC-BY 2.0)
");
56 | }
57 |
58 | if (top != self) top.location.replace(location); // this will remove the google translate header if this page is rendered with the google translator
59 |
60 | window.onscroll = function() {
61 | var footer = document.getElementById('footer');
62 | if (footer) {
63 | footer.style.position = 'fixed';
64 | footer.style.bottom = '0';
65 | }
66 | }
67 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/css/bootstrap-base.css:
--------------------------------------------------------------------------------
1 | /*
2 | * Base bootstrap structure, this should become part of base.css later
3 | */
4 |
5 | /* Move down content because we have a fixed navbar that is 50px tall */
6 | body {
7 | padding-top: 57px;
8 | }
9 |
10 | /*
11 | * Top navigation
12 | * Hide default border to remove 1px line.
13 | */
14 | .navbar-fixed-top {
15 | border: 0;
16 | }
17 |
18 | /*
19 | * Sidebar
20 | */
21 |
22 | /* Hide for mobile, show later */
23 | .sidebar {
24 | display: none;
25 | margin-top: -14px;
26 | }
27 | @media (min-width: 768px) {
28 | .sidebar {
29 | position: fixed;
30 | top: 51px;
31 | bottom: 0;
32 | left: 0;
33 | z-index: 1000;
34 | display: block;
35 | padding: 20px;
36 | overflow-x: hidden;
37 | overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
38 | }
39 | }
40 |
41 | /* Sidebar navigation */
42 | .nav-sidebar {
43 | margin-right: -21px; /* 20px padding + 1px border */
44 | margin-bottom: 10px;
45 | margin-left: -20px;
46 | }
47 | .nav-sidebar > li > a {
48 | padding-right: 10px;
49 | padding-left: 16px;
50 | padding-top: 0px;
51 | padding-bottom: 0px;
52 | }
53 | .nav-sidebar > li {
54 | padding: 0px;
55 | margin-left: 6px;
56 | margin-right: 6px;
57 | }
58 | .nav-sidebar > .active > a,
59 | .nav-sidebar > .active > a:hover,
60 | .nav-sidebar > .active > a:focus {
61 | color: #fff;
62 | background-color: #428bca;
63 | }
64 | .nav-sidebar h3 {
65 | padding-right: 10px;
66 | padding-left: 16px;
67 | padding-top: 4px;
68 | padding-bottom: 1px;
69 | margin: 0px;
70 | font-size: 14px;
71 | }
72 | .navbar-header a:link, .navbar-collapse a:link {
73 | text-decoration:none;
74 | }
75 | .navbar-right {
76 | padding-right:20px;
77 | font-size: 14px;
78 | }
79 | legend {
80 | width: auto;
81 | margin: 0px;
82 | line-height: 16px;
83 | border: 0;
84 | }
85 | label {
86 | font-weight:normal;
87 | padding-left:6px;
88 | }
89 | ul.nav li.dropdown:hover ul.dropdown-menu{
90 | display: block;
91 | margin-top:0px
92 | }
93 |
94 | /*
95 | * typeahead
96 | * sets the following classes:
97 | * twitter-typeahead, tt-dropdown-menu, tt-dataset-%CLASS%, tt-suggestions, tt-suggestion
98 | * tt-hint, tt-input, tt-cursor
99 | */
100 |
101 | .tt-dropdown-menu {
102 | width: 396px;
103 | margin-top: 4px;
104 | padding: 4px 0;
105 | background-color: #f8f8f8;
106 | border: 1px solid #ccc;
107 | }
108 |
109 | .tt-suggestion {
110 | padding: 3px 10px;
111 | font-size: 16px;
112 | }
113 |
114 | .tt-suggestion.tt-cursor {
115 | color: #fff;
116 | background-color: #428bca;
117 | }
118 |
119 | .tt-suggestion p {
120 | margin: 0;
121 | }
122 | .popover {
123 | z-index: 1600;
124 | }
125 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/navigation/hlist.css:
--------------------------------------------------------------------------------
1 | /**
2 | * "Yet Another Multicolumn Layout" - YAML CSS Framework
3 | *
4 | * (en) Horizontal list navigation "hlist"
5 | * (de) Horizontale Navigationsliste "hlist"
6 | *
7 | * @copyright © 2005-2013, Dirk Jesse
8 | * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
9 | * YAML-CDL (http://www.yaml.de/license.html)
10 | * @link http://www.yaml.de
11 | * @package yaml
12 | * @version 4.1.2
13 | */
14 | @media all {
15 | .ym-hlist {
16 | /* (en) containing floats in IE */
17 | /* (de) Einfassen der Floats im IE */
18 | width: 100%;
19 | overflow: hidden;
20 | position: relative;
21 | line-height: 1em;
22 | background: #222;
23 | }
24 | .ym-hlist ul {
25 | margin: 0;
26 | padding: 0.5em 1.5em;
27 | display: inline;
28 | float: left;
29 | }
30 | .ym-hlist ul li {
31 | display: inline;
32 | float: left;
33 | font-size: 1.0em;
34 | line-height: 1;
35 | list-style-type: none;
36 | margin: 0 .25em 0 0;
37 | padding: 0;
38 | }
39 | .ym-hlist ul li a, .ym-hlist ul li strong {
40 | background: transparent;
41 | color: #aaa;
42 | display: block;
43 | font-size: 1em;
44 | line-height: 2em;
45 | padding: 0 0.5em;
46 | font-weight: normal;
47 | text-decoration: none;
48 | text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
49 | width: auto;
50 | }
51 | .ym-hlist ul li a:focus,
52 | .ym-hlist ul li a:hover,
53 | .ym-hlist ul li a:active {
54 | color: #ccc;
55 | background: #666;
56 | background: rgba(255, 255, 255, 0.25);
57 | border-radius: 0.2em;
58 | text-decoration: none;
59 | outline: 0 none;
60 | }
61 | .ym-hlist ul li.active {
62 | background: #666;
63 | background: rgba(255, 255, 255, 0.3);
64 | border-radius: 0.2em;
65 | color: #fff;
66 | }
67 | .ym-hlist ul li.active strong,
68 | .ym-hlist ul li.active a:focus,
69 | .ym-hlist ul li.active a:hover,
70 | .ym-hlist ul li.active a:active {
71 | background: transparent;
72 | color: #fff;
73 | text-decoration: none;
74 | }
75 |
76 | /* ------- search form -------- */
77 | .ym-searchform {
78 | float: right;
79 | display: inline;
80 | line-height: 2;
81 | padding: 0.5em 1.5em;
82 | }
83 | .ym-searchform .ym-searchfield {
84 | -webkit-appearance: none;
85 | background: #fff;
86 | line-height: 1;
87 | padding: 0.25em;
88 | width: 12em;
89 | border: solid 1px #888;
90 | border: solid 1px rgba(255, 255, 255, 0.1);
91 | outline: none;
92 | -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
93 | box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
94 | }
95 | .ym-searchform .ym-searchbutton {
96 | -webkit-appearance: none;
97 | background: #5f5f5f;
98 | background: rgba(255, 255, 255, 0.2);
99 | border-radius: .2em;
100 | color: #fff;
101 | cursor: pointer;
102 | display: inline-block;
103 | font-size: 1em;
104 | line-height: 1.25;
105 | padding: 0.25em;
106 | border: solid 1px transparent;
107 | text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
108 | }
109 | }
110 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/screen/grid-960gs-16.css:
--------------------------------------------------------------------------------
1 | /**
2 | * "Yet Another Multicolumn Layout" - YAML CSS Framework
3 | *
4 | * 960.gs port for YAML: 960px - 16 columns
5 | *
6 | * @copyright © 2005-2013, Dirk Jesse
7 | * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
8 | * YAML-CDL (http://www.yaml.de/license.html)
9 | * @link http://www.yaml.de
10 | * @package yaml
11 | * @version 4.1.2
12 | */
13 | .ym-wrapper {
14 | width: 960px;
15 | margin: 0 auto;
16 | }
17 |
18 | .ym-gbox {
19 | padding-left: 0;
20 | padding-right: 0;
21 | margin-left: 10px;
22 | margin-right: 10px;
23 | }
24 |
25 | [class*="ym-push-"],
26 | [class*="ym-pull-"] {
27 | position: relative;
28 | }
29 |
30 | .ym-g960-1 {
31 | width: 60px;
32 | }
33 |
34 | .ym-g960-2 {
35 | width: 120px;
36 | }
37 |
38 | .ym-g960-3 {
39 | width: 180px;
40 | }
41 |
42 | .ym-g960-4 {
43 | width: 240px;
44 | }
45 |
46 | .ym-g960-5 {
47 | width: 300px;
48 | }
49 |
50 | .ym-g960-6 {
51 | width: 360px;
52 | }
53 |
54 | .ym-g960-7 {
55 | width: 420px;
56 | }
57 |
58 | .ym-g960-8 {
59 | width: 480px;
60 | }
61 |
62 | .ym-g960-9 {
63 | width: 540px;
64 | }
65 |
66 | .ym-g960-10 {
67 | width: 600px;
68 | }
69 |
70 | .ym-g960-11 {
71 | width: 660px;
72 | }
73 |
74 | .ym-g960-12 {
75 | width: 720px;
76 | }
77 |
78 | .ym-g960-13 {
79 | width: 780px;
80 | }
81 |
82 | .ym-g960-14 {
83 | width: 840px;
84 | }
85 |
86 | .ym-g960-15 {
87 | width: 900px;
88 | }
89 |
90 | .ym-g960-16 {
91 | width: 960px;
92 | }
93 |
94 | .ym-push-1 {
95 | left: 60px;
96 | }
97 |
98 | .ym-push-2 {
99 | left: 120px;
100 | }
101 |
102 | .ym-push-3 {
103 | left: 180px;
104 | }
105 |
106 | .ym-push-4 {
107 | left: 240px;
108 | }
109 |
110 | .ym-push-5 {
111 | left: 300px;
112 | }
113 |
114 | .ym-push-6 {
115 | left: 360px;
116 | }
117 |
118 | .ym-push-7 {
119 | left: 420px;
120 | }
121 |
122 | .ym-push-8 {
123 | left: 480px;
124 | }
125 |
126 | .ym-push-9 {
127 | left: 540px;
128 | }
129 |
130 | .ym-push-10 {
131 | left: 600px;
132 | }
133 |
134 | .ym-push-11 {
135 | left: 660px;
136 | }
137 |
138 | .ym-push-12 {
139 | left: 720px;
140 | }
141 |
142 | .ym-push-13 {
143 | left: 780px;
144 | }
145 |
146 | .ym-push-14 {
147 | left: 840px;
148 | }
149 |
150 | .ym-push-15 {
151 | left: 900px;
152 | }
153 |
154 | .ym-pull-1 {
155 | left: -60px;
156 | }
157 |
158 | .ym-pull-2 {
159 | left: -120px;
160 | }
161 |
162 | .ym-pull-3 {
163 | left: -180px;
164 | }
165 |
166 | .ym-pull-4 {
167 | left: -240px;
168 | }
169 |
170 | .ym-pull-5 {
171 | left: -300px;
172 | }
173 |
174 | .ym-pull-6 {
175 | left: -360px;
176 | }
177 |
178 | .ym-pull-7 {
179 | left: -420px;
180 | }
181 |
182 | .ym-pull-8 {
183 | left: -480px;
184 | }
185 |
186 | .ym-pull-9 {
187 | left: -540px;
188 | }
189 |
190 | .ym-pull-10 {
191 | left: -600px;
192 | }
193 |
194 | .ym-pull-11 {
195 | left: -660px;
196 | }
197 |
198 | .ym-pull-12 {
199 | left: -720px;
200 | }
201 |
202 | .ym-pull-13 {
203 | left: -780px;
204 | }
205 |
206 | .ym-pull-14 {
207 | left: -840px;
208 | }
209 |
210 | .ym-pull-15 {
211 | left: -900px;
212 | }
213 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/syncheight/jquery.syncheight.js:
--------------------------------------------------------------------------------
1 | /**
2 | * syncHeight - jQuery plugin to automagically Sync the heights of columns
3 | * Made to seemlessly work with the CCS-Framework YAML (yaml.de)
4 | * @requires jQuery v1.0.3 or newer
5 | *
6 | * http://blog.ginader.de/dev/syncheight/
7 | *
8 | * Copyright (c) 2007-2013
9 | * Dirk Ginader (ginader.de)
10 | * Dirk Jesse (yaml.de)
11 | * Dual licensed under the MIT and GPL licenses:
12 | * http://www.opensource.org/licenses/mit-license.php
13 | * http://www.gnu.org/licenses/gpl.html
14 | *
15 | * Version: 1.5
16 | *
17 | * Changelog
18 | * * v1.5 fixes issue with box-sizing: border-box
19 | * * v1.4: new Method unSyncHeight() that removes previously added syncs i.e. for responsive layouts
20 | * * v1.3: compatibility fix for jQuery 1.9.x (removed $.browser)
21 | *
22 | * Usage sync:
23 | $(window).load(function(){
24 | $('p').syncHeight();
25 | });
26 | * Usage unsync:
27 | $(window).resize(function(){
28 | if($(window).width() < 500){
29 | $('p').unSyncHeight();
30 | }
31 | });
32 | */
33 |
34 | (function($) {
35 | var getHeightProperty = function() {
36 | var browser_id = 0;
37 | var property = [
38 | // To avoid content overflow in synchronised boxes on font scaling, we
39 | // use 'min-height' property for modern browsers ...
40 | ['min-height','0px'],
41 | // and 'height' property for Internet Explorer.
42 | ['height','1%']
43 | ];
44 |
45 | var bMatch = /(msie) ([\w.]+)/.exec(navigator.userAgent.toLowerCase()) || [],
46 | browser = bMatch[1] || "",
47 | browserVersion = bMatch[2] || "0";
48 |
49 | // check for IE6 ...
50 | if(browser === 'msie' && browserVersion < 7){
51 | browser_id = 1;
52 | }
53 |
54 | return {
55 | 'name': property[browser_id][0],
56 | 'autoheightVal': property[browser_id][1]
57 | };
58 | };
59 |
60 | $.getSyncedHeight = function(selector) {
61 | var max = 0;
62 | var heightProperty = getHeightProperty();
63 | // get maximum element height ...
64 | $(selector).each(function() {
65 | // fallback to auto height before height check ...
66 | $(this).css(heightProperty.name, heightProperty.autoheightVal);
67 | var val = parseInt($(this).css('height'),10);
68 | if(val > max){
69 | max = val;
70 | }
71 | });
72 | return max;
73 | };
74 |
75 | $.fn.syncHeight = function(config) {
76 | var defaults = {
77 | updateOnResize: false, // re-sync element heights after a browser resize event (useful in flexible layouts)
78 | height: false
79 | };
80 |
81 | var options = $.extend(defaults, config);
82 | var e = this;
83 | var max = 0;
84 | var heightPropertyName = getHeightProperty().name;
85 |
86 | if(typeof(options.height) === "number") {
87 | max = options.height;
88 | } else {
89 | max = $.getSyncedHeight(this);
90 | }
91 |
92 | // set synchronized element height ...
93 | $(this).each(function() {
94 | $(this).css(heightPropertyName, max+'px');
95 | });
96 |
97 | // optional sync refresh on resize event ...
98 | if (options.updateOnResize === true) {
99 | $(window).resize(function(){
100 | $(e).syncHeight();
101 | });
102 | }
103 | return this;
104 | };
105 |
106 | $.fn.unSyncHeight = function() {
107 | var heightPropertyName = getHeightProperty().name;
108 | $(this).each(function() {
109 | $(this).css(heightPropertyName, '');
110 | });
111 | };
112 | })(jQuery);
113 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Searchlab Apps
2 |
3 |
4 | ## What is this?
5 | If you ever asked "How can I integrate a search function in my web page" then
6 | this repository is for you.
7 |
8 | This is a collection of Search Widgets and Dashboards that can be used
9 | with the Searchlab at https://searchlab.eu and in your own web pages.
10 |
11 | Most of these apps are also usable with YaCy because the searchlab implements
12 | the exact same search API as YaCy. Just change the API endpoint in
13 | https://github.com/yacy/searchlab_apps/blob/main/htdocs/app/_/js/conf.js
14 |
15 | For an instant demo of these search apps just go to https://searchlab.eu
16 | and click on "Apps".
17 |
18 | ## Hacking
19 | This is very easy!
20 |
21 | If you want to develop your own search apps, you can easily modify/extend
22 | any of the given app. We recommend to start with the `websearch_lit` app,
23 | just make a copy of it!
24 |
25 | To start hacking, just clone this repository and open any of the `index.html`
26 | files within the app project inside the `htdocs/app/` folder.
27 |
28 | Each of those apps should work fine without hosting the html pages with
29 | a web server. Just open the corresponding `index.html` in your browser for
30 | testing.
31 |
32 | ## Contributing Your Own Apps
33 | If you like please give us a pull request with your new app!
34 | We love to extend the searchlab apps with community-created content.
35 |
36 | To do so, please..
37 | - Create a new subfolder within `htdocs/app/` with the name of your app
38 | - Create a app.json and fill it with an app description using at least
39 | the same fields as used in `htdocs/app/websearch_lit/app.json`.
40 | The app.json is used within https://searchlab.eu to show a proper visualization
41 | of your app.
42 | - You must create a `index.html` file within your app folder.
43 | - You must create a `screenshot.png` file with the exact size of 1024x1024.
44 | The image should not contain any transparency and it should show a mostly
45 | proper screenshot of your app when it is producing something useful for the user.
46 | - You can use all `css` and `js` code as given in `htdocs/app/_/css` and `htdocs/app/_/js`,
47 | but you *MUST NOT* add any files to those directories. If you need any other
48 | `css` and `js` code, please link them directly from the internet or add those
49 | to your app folder in a separate `css`/`js`-path within your app folder.
50 | - Your App must be published under the CC0 license.
51 | - Make a pull request where only files within your app folder is added/modified,
52 | not anything else.
53 |
54 | Everything that is merged to this repository will be pushed to https://searchlab.eu
55 | and can then be used there.
56 |
57 | ## Installation
58 | There are several options to install these apps:
59 | - For Searchlab development and/or packaging, clone this repository aside the
60 | repository of searchlab. The build process will expect that the searchlab_apps
61 | path is in parallel.
62 | - For integration of single apps inside your own web pages, just copy the
63 | corresponding app inside your own content. Because of the CC0 license you don't
64 | need to mention the source, just go ahead and use what you can find here.
65 | You will probably need to integrate `css` and `js` code from the `htdocs/app/_/css`
66 | and `htdocs/app/_/js` as well.
67 | - To use your own search server, run a searchlab instance and modify the path
68 | to your instance in `htdocs/app/_/js/config.js`.
69 |
70 | ## Support this project!
71 | Please become a Searchlab patron by joining us at
72 | https://www.patreon.com/orbiterlab
73 |
74 | ## Get Support from the Searchlab Community
75 | You can ask for help and discuss other search engine related topics
76 | at https://community.searchlab.eu
77 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/add-ons/accessible-tabs/tabs.css:
--------------------------------------------------------------------------------
1 | /**
2 | * "Yet Another Multicolumn Layout" - YAML CSS Framework
3 | * (en) Styles for Accessible-Tabs plugin for jQuery
4 | * (de) Gestaltung des Acessible-Tabs Plugins für jQuery
5 | *
6 | * @copyright © 2005-2013, Dirk Jesse
7 | * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
8 | * YAML-CDL (http://www.yaml.de/license.html)
9 | * @link http://www.yaml.de
10 | * @package yaml
11 | * @version 4.1.2
12 | */
13 | @media screen, projection {
14 | .jquery_tabs {
15 | margin: 0 0 1.5em 0;
16 | }
17 | .jquery_tabs ul.tabs-list {
18 | font-size: 1em;
19 | display: table;
20 | table-layout: fixed;
21 | list-style-type: none;
22 | margin: 0;
23 | position: relative;
24 | z-index: 1;
25 | }
26 | .jquery_tabs ul.tabs-list li {
27 | margin: 0 4px 0 0;
28 | border: 0 none;
29 | display: inline;
30 | float: left;
31 | padding: 0;
32 | }
33 | .jquery_tabs ul.tabs-list li a {
34 | font-size: 1em;
35 | line-height: 1.5;
36 | padding: 0.75em;
37 | background: transparent;
38 | display: block;
39 | float: left;
40 | font-weight: normal;
41 | margin: 0;
42 | }
43 | .jquery_tabs ul.tabs-list li a:focus, .jquery_tabs ul.tabs-list li a:hover, .jquery_tabs ul.tabs-list li a:active {
44 | background: #eee;
45 | border-radius: 0.2em 0.2em 0 0;
46 | color: #000;
47 | font-weight: normal;
48 | outline: 0 none;
49 | text-decoration: none;
50 | }
51 | .jquery_tabs ul.tabs-list li.current a,
52 | .jquery_tabs ul.tabs-list li.current a:focus,
53 | .jquery_tabs ul.tabs-list li.current a:hover,
54 | .jquery_tabs ul.tabs-list li.current a:active {
55 | background: #fff;
56 | border: 1px #ccc solid;
57 | border-radius: 0.2em 0.2em 0 0;
58 | color: #000;
59 | border-bottom: 0 none;
60 | font-weight: bold;
61 | text-decoration: none;
62 | }
63 | .jquery_tabs .content {
64 | border-top: 1px #ccc solid;
65 | clear: both;
66 | padding: 0;
67 | position: relative;
68 | top: -1px;
69 | margin-bottom: -1px;
70 | }
71 |
72 | /* hiding texts visually */
73 | .jquery_tabs .tabhead {
74 | position: absolute;
75 | left: -32768px;
76 | }
77 |
78 | .jquery_tabs .current-info,
79 | .jquery_tabs .accessibletabsanchor {
80 | left: -999em;
81 | position: absolute;
82 | }
83 |
84 | /** Avoid margin collapsing to enable correct sync of all tabs
85 | *
86 | * @workaround
87 | * @affected all browsers
88 | * @css-for all browsers
89 | * @valid yes
90 | */
91 | .jquery_tabs .tab-content {
92 | border-bottom: 1px transparent solid;
93 | border-top: 1px transparent solid;
94 | padding-top: 1.5em;
95 | *overflow: hidden;
96 | }
97 |
98 | /** Containing floats adjustment and stability fixes for Internet Explorer
99 | *
100 | * @workaround
101 | * @affected IE 5.x/Win, IE6, IE7
102 | * @css-for IE 5.x/Win, IE6, IE7
103 | * @valid no
104 | */
105 | * html .jquery_tabs {
106 | zoom: 1;
107 | width: auto;
108 | position: relative;
109 | }
110 | * html .jquery_tabs .tab-content {
111 | border-bottom: 1px #fff solid;
112 | border-top: 1px #fff solid;
113 | }
114 | * html .jquery_tabs .content {
115 | z-index: -1;
116 | }
117 |
118 | * + html .jquery_tabs {
119 | zoom: 1;
120 | width: auto;
121 | }
122 |
123 | .jquery_tabs * {
124 | zoom: 1;
125 | }
126 | }
127 | /* Make tabs printable */
128 | @media print {
129 | .jquery_tabs .tabs-list {
130 | display: none !important;
131 | }
132 | .jquery_tabs .tabbody,
133 | .jquery_tabs .tabhead {
134 | display: block !important;
135 | }
136 | }
137 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_yaml4/yaml/navigation/vlist.css:
--------------------------------------------------------------------------------
1 | /**
2 | * "Yet Another Multicolumn Layout" - YAML CSS Framework
3 | *
4 | * (en) Vertical list navigation "vlist"
5 | * (de) Vertikale Navigationsliste "vlist"
6 | *
7 | * @copyright © 2005-2013, Dirk Jesse
8 | * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
9 | * YAML-CDL (http://www.yaml.de/license.html)
10 | * @link http://www.yaml.de
11 | * @package yaml
12 | * @version 4.1.2
13 | */
14 | @media all {
15 | /* 4 navigation levels defined */
16 | .ym-vlist {
17 | margin: 0 0 1.5em 0;
18 | list-style-type: none;
19 | background: transparent;
20 | border: 0 none;
21 | }
22 | .ym-vlist ul {
23 | list-style-type: none;
24 | margin: 0;
25 | padding: 0;
26 | width: 100%;
27 | overflow: hidden;
28 | border-top: 2px #ddd solid;
29 | border-bottom: 2px #ddd solid;
30 | }
31 | .ym-vlist ul ul {
32 | border: 0 none;
33 | }
34 | .ym-vlist li {
35 | float: left;
36 | width: 100%;
37 | margin: 0;
38 | padding: 0;
39 | background-color: #fff;
40 | }
41 | .ym-vlist a,
42 | .ym-vlist strong,
43 | .ym-vlist span {
44 | display: block;
45 | padding: 3px 0px 3px 10%;
46 | text-decoration: none;
47 | border-bottom: 1px #ddd solid;
48 | }
49 | .ym-vlist a,
50 | .ym-vlist a:visited {
51 | color: #444;
52 | }
53 | .ym-vlist li span {
54 | display: block;
55 | font-weight: bold;
56 | border-bottom: 1px #ddd solid;
57 | }
58 | .ym-vlist li.active {
59 | color: #fff;
60 | background-color: #444;
61 | }
62 | .ym-vlist li.active strong {
63 | font-weight: bold;
64 | }
65 | .ym-vlist li a,
66 | .ym-vlist li strong,
67 | .ym-vlist li span {
68 | width: 90%;
69 | padding-left: 10%;
70 | }
71 | .ym-vlist li a:focus,
72 | .ym-vlist li a:hover,
73 | .ym-vlist li a:active {
74 | background-color: #888;
75 | color: #fff;
76 | outline: 0 none;
77 | }
78 | .ym-vlist li ul li a,
79 | .ym-vlist li ul li strong,
80 | .ym-vlist li ul li span {
81 | width: 80%;
82 | padding-left: 20%;
83 | }
84 | .ym-vlist li ul li a,
85 | .ym-vlist li ul li a:visited {
86 | background-color: #f8f8f8;
87 | color: #333;
88 | }
89 | .ym-vlist li ul li a:focus,
90 | .ym-vlist li ul li a:hover,
91 | .ym-vlist li ul li a:active {
92 | background-color: #888;
93 | color: #fff;
94 | }
95 | .ym-vlist li ul li ul li a,
96 | .ym-vlist li ul li ul li strong,
97 | .ym-vlist li ul li ul li span {
98 | width: 70%;
99 | padding-left: 30%;
100 | }
101 | .ym-vlist li ul li ul li a,
102 | .ym-vlist li ul li ul li a:visited {
103 | background-color: #f0f0f0;
104 | color: #222;
105 | }
106 | .ym-vlist li ul li ul li a:focus,
107 | .ym-vlist li ul li ul li a:hover,
108 | .ym-vlist li ul li ul li a:active {
109 | background-color: #888;
110 | color: #fff;
111 | }
112 | .ym-vlist li ul li ul li ul li a,
113 | .ym-vlist li ul li ul li ul li strong,
114 | .ym-vlist li ul li ul li ul li span {
115 | width: 60%;
116 | padding-left: 40%;
117 | }
118 | .ym-vlist li ul li ul li ul li a,
119 | .ym-vlist li ul li ul li ul li a:visited {
120 | background-color: #e8e8e8;
121 | color: #111;
122 | }
123 | .ym-vlist li ul li ul li ul li a:focus,
124 | .ym-vlist li ul li ul li ul li a:hover,
125 | .ym-vlist li ul li ul li ul li a:active {
126 | background-color: #888;
127 | color: #fff;
128 | }
129 |
130 | /* title */
131 | .ym-vtitle {
132 | font-weight: bold;
133 | font-size: 100%;
134 | width: 90%;
135 | padding: 3px 0px 3px 10%;
136 | margin: 0;
137 | color: #444;
138 | background-color: #fff;
139 | border-top: 2px #ddd solid;
140 | }
141 | .ym-vtitle + ul {
142 | border-top: 4px #888 solid;
143 | }
144 | }
145 |
--------------------------------------------------------------------------------
/htdocs/app/snippetlines/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Searchlab Search Template
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
Snippet Lines
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
31 |
32 |
33 |
34 |
41 |
42 |
43 |
44 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/htdocs/app/rawindex/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Raw Index Retrieval
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
Raw Index Retrieval
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
36 |
37 |
38 |
39 |
46 |
47 |
48 |
49 |
81 |
82 |
83 |
--------------------------------------------------------------------------------
/htdocs/app/websearch_bootstrap/bootstrap/js/respond.min.js:
--------------------------------------------------------------------------------
1 | /*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl
2 | * Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT
3 | * */
4 |
5 | !function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){u(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))};if(c.ajax=f,c.queue=d,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var g,h,i,j=a.document,k=j.documentElement,l=[],m=[],n=[],o={},p=30,q=j.getElementsByTagName("head")[0]||k,r=j.getElementsByTagName("base")[0],s=q.getElementsByTagName("link"),t=function(){var a,b=j.createElement("div"),c=j.body,d=k.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=j.createElement("body"),c.style.background="none"),k.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&k.insertBefore(c,k.firstChild),a=b.offsetWidth,f?k.removeChild(c):c.removeChild(b),k.style.fontSize=d,e&&(c.style.fontSize=e),a=i=parseFloat(a)},u=function(b){var c="clientWidth",d=k[c],e="CSS1Compat"===j.compatMode&&d||j.body[c]||d,f={},o=s[s.length-1],r=(new Date).getTime();if(b&&g&&p>r-g)return a.clearTimeout(h),h=a.setTimeout(u,p),void 0;g=r;for(var v in l)if(l.hasOwnProperty(v)){var w=l[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?i||t():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?i||t():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(m[w.rules]))}for(var C in n)n.hasOwnProperty(C)&&n[C]&&n[C].parentNode===q&&q.removeChild(n[C]);n.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=j.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,q.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(j.createTextNode(F)),n.push(E)}},v=function(a,b,d){var e=a.replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var g=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},h=!f&&d;b.length&&(b+="/"),h&&(f=1);for(var i=0;f>i;i++){var j,k,n,o;h?(j=d,m.push(g(a))):(j=e[i].match(c.regex.findStyles)&&RegExp.$1,m.push(RegExp.$2&&g(RegExp.$2))),n=j.split(","),o=n.length;for(var p=0;o>p;p++)k=n[p],l.push({media:k.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:m.length-1,hasquery:k.indexOf("(")>-1,minw:k.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:k.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},w=function(){if(d.length){var b=d.shift();f(b.href,function(c){v(c,b.href,b.media),o[b.href]=!0,a.setTimeout(function(){w()},0)})}},x=function(){for(var b=0;b
2 |
3 |
4 |
5 |
6 | Searchlab Search Template
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
48 |
49 |
81 |
82 |