xmltv2html 0.6.1 → 0.7.0
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/ChangeLog +128 -0
- data/bin/xmltv2html.rb +402 -323
- data/xmltv2htmlrc +31 -33
- metadata +3 -3
data/xmltv2htmlrc
CHANGED
@@ -1,39 +1,35 @@
|
|
1
|
-
#config_version:
|
1
|
+
#config_version: 2
|
2
2
|
# To check to make sure user is using correct xmltv2htmlrc format.
|
3
3
|
|
4
|
-
# There must be at least one item which is not commented out...
|
5
|
-
# seems like a bug. kvh 12/2005
|
6
|
-
|
7
4
|
### BEGIN CONFIGURATION
|
8
5
|
#
|
9
6
|
# Lines that start with # are comments. The defaults are commented out.
|
10
7
|
|
11
8
|
# Will output info to STDERR
|
12
|
-
|
13
|
-
verbose: false
|
9
|
+
#:verbose: false
|
14
10
|
|
15
11
|
# Number of channels to repeat times horizontally; 0 to disable
|
16
|
-
|
12
|
+
#:times_interval: 4
|
17
13
|
|
18
14
|
# Number of hours to repeat channels vertically; 0 to disable
|
19
|
-
|
15
|
+
#:channels_interval: 4
|
20
16
|
|
21
17
|
# true = 12 hour format; false = 24 hour format
|
22
|
-
|
18
|
+
#:time_format_12: true
|
23
19
|
|
24
20
|
# Use channel favorites?
|
25
|
-
|
21
|
+
#:use_favorites: false
|
26
22
|
|
27
23
|
# List favorite channels below (seperate by a ',')
|
28
24
|
# The titles must be exact, not regular expressions.
|
29
|
-
|
25
|
+
#:favorites_list: []
|
30
26
|
# Example: favorites_list: [ 'EXTRA', 'The West Wing', 'Law & Order' ]
|
31
27
|
|
32
28
|
# Print out list of favorites beneath the listings?
|
33
|
-
|
29
|
+
#:output_favorites: false
|
34
30
|
|
35
31
|
# Name of CSS file
|
36
|
-
|
32
|
+
#:css_filename: 'xmltv2html.css'
|
37
33
|
|
38
34
|
# Categories - use specified CSS class for given category.
|
39
35
|
# You must give the exact category for this to match. Look
|
@@ -45,7 +41,7 @@ verbose: false
|
|
45
41
|
# background-color: white;
|
46
42
|
# }
|
47
43
|
# Example:
|
48
|
-
|
44
|
+
#:categories: {
|
49
45
|
# Sports event: "sports-event",
|
50
46
|
# News: "news"
|
51
47
|
#}
|
@@ -53,24 +49,23 @@ verbose: false
|
|
53
49
|
# If true, will display date on the hour cell
|
54
50
|
# (helpful for multiple days).
|
55
51
|
# Color, etc in CSS file
|
56
|
-
|
52
|
+
#:output_date_in_time: false
|
57
53
|
|
58
54
|
# The format to display the date
|
59
55
|
# %m = month (01..12); %d = day (01..31); %b = Abbr month (Jan)
|
60
56
|
# %a = Abbr weekday (Sun)
|
61
57
|
# date_format: '%m-%d'
|
62
58
|
# date_format: '%b %m-%d'
|
63
|
-
|
59
|
+
#:date_format: '%a %d'
|
64
60
|
|
65
61
|
# Should the programme's description 'popup' on mouseover?
|
66
62
|
# This will enlarge the output by the size of all the programme's
|
67
63
|
# descriptions.
|
68
|
-
|
69
|
-
#use_programme_popup: true
|
64
|
+
#:use_programme_popup: true
|
70
65
|
|
71
66
|
# What method to use for popup? DHTML or STATUSBAR
|
72
67
|
# Some browsers disable pages from changing the statusbar.
|
73
|
-
|
68
|
+
#:programme_popup_method: "DHTML" # "STATUSBAR"
|
74
69
|
|
75
70
|
# Title is the top line of popup; body is the below part.
|
76
71
|
# Define the popup: %T = title, %S = sub-title
|
@@ -80,24 +75,27 @@ verbose: false
|
|
80
75
|
# Example: @popup_body_format = "%D<br />%R"
|
81
76
|
# DHTML: You can put *some* CSS/HTML stuff here as well...
|
82
77
|
# STATUSBAR: NO HTML
|
83
|
-
|
84
|
-
|
78
|
+
#:popup_title_format: "%T"
|
79
|
+
#:popup_body_format: "%S %P<br />%D<br />Rating: %R"
|
85
80
|
|
86
81
|
# Attributes for the DHTML popup
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
82
|
+
#:popup_title_color: "#FFFFFF"
|
83
|
+
#:popup_title_font: "" # "Utopia"
|
84
|
+
#:popup_title_font_size: "2" # FONT SIZE=
|
85
|
+
#:popup_title_background_color: "#000099"
|
86
|
+
#:popup_body_color: "#000000"
|
87
|
+
#:popup_body_font: "" # "Utopia"
|
88
|
+
#:popup_body_font_size: "1" # FONT SIZE=
|
89
|
+
#:popup_body_background_color: "#E8E8FF"
|
90
|
+
#:popup_body_width: "200" # pixels
|
96
91
|
|
97
92
|
# xmltv and xmltv2html home page links
|
98
|
-
|
93
|
+
#:output_links: false
|
94
|
+
|
95
|
+
#:start_time: ""
|
96
|
+
#:stop_time: ""
|
99
97
|
|
100
|
-
#
|
101
|
-
|
98
|
+
# Must have at least one item uncommented...
|
99
|
+
:dummy: true
|
102
100
|
|
103
101
|
### END CONFIGURATION
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
!ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
rubygems_version: 0.8.11
|
3
3
|
specification_version: 1
|
4
4
|
name: xmltv2html
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.
|
7
|
-
date:
|
6
|
+
version: 0.7.0
|
7
|
+
date: 2006-02-13 00:00:00 -05:00
|
8
8
|
summary: xmltv2html generates a HTML page from the output of XMLTV.
|
9
9
|
require_paths:
|
10
10
|
- lib
|