From 6532732de738924cf77cd0e94c714de8939f8edf Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 9 Feb 2016 14:32:51 -0500 Subject: headers, year set 2016 --- lib/sisu/urls.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sisu/urls.rb') diff --git a/lib/sisu/urls.rb b/lib/sisu/urls.rb index 68b492e0..aec0dbd0 100644 --- a/lib/sisu/urls.rb +++ b/lib/sisu/urls.rb @@ -11,7 +11,7 @@ ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ralph Amissah, + 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ralph Amissah, All Rights Reserved. ** License: GPL 3 or later: -- cgit v1.2.3 From feffc6a1df005873a2d8bafcacce5e025a156971 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 12 Feb 2016 11:08:00 -0500 Subject: header hyperlink delimiters, now square brackets --- lib/sisu/urls.rb | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'lib/sisu/urls.rb') diff --git a/lib/sisu/urls.rb b/lib/sisu/urls.rb index aec0dbd0..86eb2e33 100644 --- a/lib/sisu/urls.rb +++ b/lib/sisu/urls.rb @@ -7,8 +7,8 @@ *** urls for output files ** Author: Ralph Amissah - - + [ralph@amissah.com] + [ralph.amissah@gmail.com] ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ralph Amissah, @@ -31,14 +31,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 [http://www.gnu.org/licenses/]. If you have Internet connection, the latest version of the GPL should be available at these locations: - - - - + [http://www.fsf.org/licensing/licenses/gpl.html] + [http://www.gnu.org/licenses/gpl.html] ** SiSU uses: * Standard SiSU markup syntax, @@ -46,12 +44,12 @@ * Standard SiSU object citation numbering and system ** Hompages: - - + [http://www.jus.uio.no/sisu] + [http://www.sisudoc.org] ** Git - - + [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary] + [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/urls.rb;hb=HEAD] =end module SiSU_Urls -- cgit v1.2.3 From ee91e6282464321d5f1e8694c048c24abf8d15d7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 24 Feb 2016 23:21:06 -0500 Subject: json, an output representation, first pass --- lib/sisu/urls.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lib/sisu/urls.rb') diff --git a/lib/sisu/urls.rb b/lib/sisu/urls.rb index 86eb2e33..b2674fc4 100644 --- a/lib/sisu/urls.rb +++ b/lib/sisu/urls.rb @@ -335,6 +335,15 @@ module SiSU_Urls end self end + def json + { + cmd: '--js (json)', + viewer: @prog.web_browser, + f_pth: @md.file.output_path.json.dir + '/' \ + + @md.file.base_filename.json, + fn: @fn[:json], + } + end def pdf def landscape { @@ -620,6 +629,10 @@ module SiSU_Urls show.report(report_info.xml.scaffold_collapse) #show.maintenance(report_info.xml.scaffold_collapse) end + if @opt.act[:json][:set]==:on + show.report(report_info.json) + #show.maintenance(report_info.json) + end if (@opt.act[:pdf][:set]==:on \ or @opt.act[:pdf_p][:set]==:on \ or @opt.act[:pdf_l][:set]==:on) -- cgit v1.2.3