From 5588bc15c6df5eb225c315ed82e2a8239ef26d36 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 4 Apr 2021 21:57:11 -0400 Subject: headers: copyright, license, year; also https --- misc/util/rb/cgi/spine.search.cgi | 60 ++++++++++++++++++--------------------- misc/util/rb/tex/dr_tex.rb | 50 ++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+), 33 deletions(-) (limited to 'misc/util/rb') diff --git a/misc/util/rb/cgi/spine.search.cgi b/misc/util/rb/cgi/spine.search.cgi index cfe9d73..ff2bfc2 100755 --- a/misc/util/rb/cgi/spine.search.cgi +++ b/misc/util/rb/cgi/spine.search.cgi @@ -2,8 +2,8 @@ =begin * Name: SiSU information Structuring Universe * Author: Ralph Amissah - * http://www.jus.uio.no/sisu - * http://www.jus.uio.no/sisu/SiSU/download + * https://sisudoc.org + * https://git.sisudoc.org * Description: generates naive cgi search form for search of sisu database (sqlite) * Name: SiSU generated sample cgi search form @@ -32,13 +32,12 @@ more details. You should have received a copy of the GNU General Public License along with - this program. If not, see . + this program. If not, see . If you have Internet connection, the latest version of the GPL should be available at these locations: - - - + + * SiSU uses: * Standard SiSU markup syntax, @@ -46,8 +45,7 @@ * Standard SiSU object citation numbering and system * Hompages: - - + * Ralph Amissah @@ -62,13 +60,13 @@ rescue LoadError puts 'cgi, fcgi or sqlite3 NOT FOUND (LoadError)' end @stub_default = 'search' -@image_src = "http://#{ENV['HTTP_HOST']}/image_sys" -@hosturl_cgi = "http://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}" -@hosturl_files = "http://#{ENV['HTTP_HOST']}" +@image_src = "https://#{ENV['HTTP_HOST']}/image_sys" +@hosturl_cgi = "https://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}" +@hosturl_files = "https://#{ENV['HTTP_HOST']}" @output_dir_structure_by = 'language' @lingual = 'multi' @db_name_prefix = 'spine.' -@base = "http://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}#{ENV['SCRIPT_NAME']}" +@base = "https://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}#{ENV['SCRIPT_NAME']}" #Common TOP @@offset = 0 @@canned_search_url = @base @@ -95,8 +93,8 @@ class Form SiSU search form (sample): SiSU information Structuring Universe - - + + @@ -104,10 +102,10 @@ class Form @@ -488,10 +486,10 @@ def tail
-
+
SiSU -
+
git
@@ -503,22 +501,18 @@ def tail Generated by SiSU 6.3.1 2014-10-19 (2014w41/7)
- + SiSU© Ralph Amissah 1993, current 2014. All Rights Reserved.
SiSU is software for document structuring, publishing and search,
- - www.jus.uio.no/sisu - - and - + www.sisudoc.org sources - + git.sisudoc.org
@@ -528,8 +522,8 @@ def tail
mailing list subscription - - http://lists.sisudoc.org/listinfo/sisu + + https://lists.sisudoc.org/listinfo/sisu
@@ -550,27 +544,27 @@ def tail
-
+
SiSU -
+
git

- + .:

SiSU is released under - GPL v3 + GPL v3 or later, - - http://www.gnu.org/licenses/gpl.html + + https://www.gnu.org/licenses/gpl.html

SiSU, developed using - + Ruby on - + Debian/Gnu/Linux software infrastructure, diff --git a/misc/util/rb/tex/dr_tex.rb b/misc/util/rb/tex/dr_tex.rb index 767742c..b71d8c1 100755 --- a/misc/util/rb/tex/dr_tex.rb +++ b/misc/util/rb/tex/dr_tex.rb @@ -1,4 +1,54 @@ #!/usr/bin/env ruby +# /+ +# - Name: Spine, Doc Reform [a part of] +# - Description: documents, structuring, processing, publishing, search +# - static content generator +# +# - Author: Ralph Amissah +# [ralph.amissah@gmail.com] +# +# - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights +# Reserved. +# +# - License: AGPL 3 or later: +# +# Spine (SiSU), a framework for document structuring, publishing and +# search +# +# Copyright (C) Ralph Amissah +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU AFERO General Public License as published by the +# Free Software Foundation, either version 3 of the License, or (at your +# option) any later version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along with +# this program. If not, see [https://www.gnu.org/licenses/]. +# +# If you have Internet connection, the latest version of the AGPL should be +# available at these locations: +# [https://www.fsf.org/licensing/licenses/agpl.html] +# [https://www.gnu.org/licenses/agpl.html] +# +# - Spine (by Doc Reform, related to SiSU) uses standard: +# - docReform markup syntax +# - standard SiSU markup syntax with modified headers and minor modifications +# - docReform object numbering +# - standard SiSU object citation numbering & system +# +# - Hompages: +# [https://www.doc_reform.org] +# [https://www.sisudoc.org] +# +# - Git +# [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary] +# +# +/ require 'fileutils' pwd = Dir.pwd argv,texfiles_with_path,flags=[],[],[] -- cgit v1.2.3