xmltv2html 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/COPYING +99 -0
- data/ChangeLog +776 -0
- data/README +41 -0
- data/bin/xmltv2html.rb +1155 -0
- data/contrib/README +3 -0
- data/contrib/kvh/generate_html +68 -0
- data/contrib/kvh/tvlistings +15 -0
- data/contrib/kvh/tvlistings_index +82 -0
- data/contrib/kvh/update-tvlistings +136 -0
- data/popup.js +227 -0
- data/xmltv2html.css +75 -0
- data/xmltv2htmlrc +102 -0
- metadata +64 -0
data/xmltv2htmlrc
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
######################################################################
|
2
|
+
###
|
3
|
+
### Auto-generated by create_rc
|
4
|
+
###
|
5
|
+
### Edit this file to suit your needs and then copy it somewhere.
|
6
|
+
### Then use xmltv2html.rb --config-file=FILE
|
7
|
+
###
|
8
|
+
### Note that this file is actually Ruby code.
|
9
|
+
###
|
10
|
+
######################################################################
|
11
|
+
|
12
|
+
### BEGIN CONFIGURATION
|
13
|
+
#
|
14
|
+
|
15
|
+
# Will output info to STDERR
|
16
|
+
@verbose = true
|
17
|
+
|
18
|
+
# Number of channels to repeat times horizontally; 0 to disable
|
19
|
+
@times_interval = 4
|
20
|
+
|
21
|
+
# Number of hours to repeat channels vertically; 0 to disable
|
22
|
+
@channels_interval = 4
|
23
|
+
|
24
|
+
# true = 12 hour format; false = 24 hour format
|
25
|
+
@time_format_12 = true
|
26
|
+
|
27
|
+
# Use channel favorites?
|
28
|
+
@use_favorites = true
|
29
|
+
|
30
|
+
# List favorite channels below (seperate by a ',')
|
31
|
+
# The titles must be exact, not regular expressions.
|
32
|
+
@favorite_list = [
|
33
|
+
"CSI: Crime Scene Investigation",
|
34
|
+
"Law & Order: Special Victims Unit", "Angel", "Law & Order",
|
35
|
+
"The Shield", "Law & Order: Criminal Intent",
|
36
|
+
"Charmed", "The West Wing"
|
37
|
+
]
|
38
|
+
|
39
|
+
# Name of CSS file
|
40
|
+
@css_filename = 'xmltv2html.css'
|
41
|
+
|
42
|
+
# Categories - use specified CSS class for given category.
|
43
|
+
# You must give the exact category for this to match. Look
|
44
|
+
# at the xml data file for a list of categories.
|
45
|
+
# Put the corresponding CSS class in your .css file
|
46
|
+
# .sports-event
|
47
|
+
# {
|
48
|
+
# color: red;
|
49
|
+
# background-color: white;
|
50
|
+
# }
|
51
|
+
@categories = {
|
52
|
+
"Sports event" => "sports-event",
|
53
|
+
"News" => "news"
|
54
|
+
}
|
55
|
+
|
56
|
+
# If true, will display date on the hour cell
|
57
|
+
# (helpful for multiple days).
|
58
|
+
# Color, etc in CSS file
|
59
|
+
@output_date_in_time = true
|
60
|
+
|
61
|
+
# The format to display the date
|
62
|
+
# %m = month (01..12); %d = day (01..31); %b = Abbr month (Jan)
|
63
|
+
# %a = Abbr weekday (Sun)
|
64
|
+
# @date_format = '%m-%d'
|
65
|
+
# @date_format = '%b %m-%d'
|
66
|
+
@date_format = '%a %d'
|
67
|
+
|
68
|
+
# Should the programme's description 'popup' on mouseover?
|
69
|
+
# This will enlarge the output by the size of all the programme's
|
70
|
+
# descriptions.
|
71
|
+
@use_programme_popup = true
|
72
|
+
|
73
|
+
# What method to use for popup? DHTML or STATUSBAR
|
74
|
+
# Some browsers disable pages from changing the statusbar.
|
75
|
+
@programme_popup_method = "DHTML" # "STATUSBAR"
|
76
|
+
|
77
|
+
# Title is the top line of popup; body is the below part.
|
78
|
+
# Define the popup: %T = title, %S = sub-title
|
79
|
+
# %D = description, %R = rating
|
80
|
+
# %P = previously-shown; will display (R)
|
81
|
+
# Example: @popup_title_format = "%T"
|
82
|
+
# Example: @popup_body_format = "%D<br />%R"
|
83
|
+
# DHTML: You can put *some* CSS/HTML stuff here as well...
|
84
|
+
# STATUSBAR: NO HTML
|
85
|
+
@popup_title_format = "%T"
|
86
|
+
@popup_body_format = "%S %P<br />%D<br />Rating: %R"
|
87
|
+
|
88
|
+
# Attributes for the DHTML popup
|
89
|
+
@popup_title_color = "#FFFFFF"
|
90
|
+
@popup_title_font = "" # "Utopia"
|
91
|
+
@popup_title_font_size = "2" # FONT SIZE=
|
92
|
+
@popup_title_background_color = "#000099"
|
93
|
+
@popup_body_color = "#000000"
|
94
|
+
@popup_body_font = "" # "Utopia"
|
95
|
+
@popup_body_font_size = "1" # FONT SIZE=
|
96
|
+
@popup_body_background_color = "#E8E8FF"
|
97
|
+
@popup_body_width = "200" # pixels
|
98
|
+
|
99
|
+
# xmltv and xmltv2html home page links
|
100
|
+
@output_links = true
|
101
|
+
|
102
|
+
### END CONFIGURATION
|
metadata
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.8.10
|
3
|
+
specification_version: 1
|
4
|
+
name: xmltv2html
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 0.5.3
|
7
|
+
date: 2005-07-03
|
8
|
+
summary: xmltv2html generates a HTML page from the output of XMLTV.
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email: khindenburg@rubyforge.org
|
12
|
+
homepage: http://xmltv2html.rubyforge.org
|
13
|
+
rubyforge_project: xmltv2html
|
14
|
+
description: "xmltv2html is a Ruby script that generates a static HTML page from the output
|
15
|
+
of XMLTV. This is different from other XMLTV -> HTML programs in that the times
|
16
|
+
are on the horizontal axis and the channels on the vertical axis. The HTML
|
17
|
+
output can be modified using a CSS file. The prefered method to view a show's
|
18
|
+
info is via DHTML (the default). With version 0.5.3+, the attributes (fonts,
|
19
|
+
colors, size) of the DHTML can be modified."
|
20
|
+
autorequire:
|
21
|
+
default_executable:
|
22
|
+
bindir: bin
|
23
|
+
has_rdoc: true
|
24
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
25
|
+
requirements:
|
26
|
+
-
|
27
|
+
- ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.8.0
|
30
|
+
version:
|
31
|
+
platform: ruby
|
32
|
+
authors:
|
33
|
+
- Kurt V. Hindenburg
|
34
|
+
files:
|
35
|
+
- COPYING
|
36
|
+
- README
|
37
|
+
- ChangeLog
|
38
|
+
- popup.js
|
39
|
+
- xmltv2html.css
|
40
|
+
- xmltv2htmlrc
|
41
|
+
- contrib/README
|
42
|
+
- contrib/kvh/generate_html
|
43
|
+
- contrib/kvh/tvlistings
|
44
|
+
- contrib/kvh/tvlistings_index
|
45
|
+
- contrib/kvh/update-tvlistings
|
46
|
+
test_files: []
|
47
|
+
rdoc_options: []
|
48
|
+
extra_rdoc_files: []
|
49
|
+
executables:
|
50
|
+
- xmltv2html.rb
|
51
|
+
extensions: []
|
52
|
+
requirements:
|
53
|
+
- "REXML : http://www.germane-software.com/software/rexml"
|
54
|
+
dependencies:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rexml
|
57
|
+
version_requirement:
|
58
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
59
|
+
requirements:
|
60
|
+
-
|
61
|
+
- ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 3.0.2
|
64
|
+
version:
|