Graphiclious 0.1.0 → 0.1.1

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.
Files changed (48) hide show
  1. data/README.txt +1 -0
  2. data/doc/extern.gif +0 -0
  3. data/doc/index.html +42 -9
  4. data/doc/screenshots/original/{cornflower.html → 01-blue-style-1.html} +5 -5
  5. data/doc/screenshots/original/{blue-style-1.jpg → 01-blue-style-1.jpg} +0 -0
  6. data/doc/screenshots/original/{blue-style-1.html → 02-cornflower.html} +5 -5
  7. data/doc/screenshots/original/{cornflower.jpg → 02-cornflower.jpg} +0 -0
  8. data/doc/screenshots/original/{sample-graph.html → 03-sample-graph.html} +5 -5
  9. data/doc/screenshots/original/{sample-graph.jpg → 03-sample-graph.jpg} +0 -0
  10. data/doc/screenshots/original/04-basic-style-js.html +37 -0
  11. data/doc/screenshots/original/04-basic-style-js.jpg +0 -0
  12. data/doc/screenshots/original/05-custom-style.html +37 -0
  13. data/doc/screenshots/original/05-custom-style.jpg +0 -0
  14. data/doc/screenshots/original/06-custom-style-js.html +37 -0
  15. data/doc/screenshots/original/06-custom-style-js.jpg +0 -0
  16. data/doc/screenshots/original/07-user-interface.html +37 -0
  17. data/doc/screenshots/original/07-user-interface.jpg +0 -0
  18. data/doc/screenshots/original/{custom-style.html → 08-ftp-upload.html} +5 -5
  19. data/doc/screenshots/original/08-ftp-upload.jpg +0 -0
  20. data/doc/screenshots/thumb.html +22 -10
  21. data/doc/screenshots/thumb/{t_blue-style-1.jpg → t_01-blue-style-1.jpg} +0 -0
  22. data/doc/screenshots/thumb/{t_cornflower.jpg → t_02-cornflower.jpg} +0 -0
  23. data/doc/screenshots/thumb/{t_sample-graph.jpg → t_03-sample-graph.jpg} +0 -0
  24. data/doc/screenshots/thumb/t_04-basic-style-js.jpg +0 -0
  25. data/doc/screenshots/thumb/t_05-custom-style.jpg +0 -0
  26. data/doc/screenshots/thumb/t_06-custom-style-js.jpg +0 -0
  27. data/doc/screenshots/thumb/t_07-user-interface.jpg +0 -0
  28. data/doc/screenshots/thumb/t_08-ftp-upload.jpg +0 -0
  29. data/doc/style.css +7 -4
  30. data/javascript/cloud.js +236 -0
  31. data/javascript/index.htm +24 -0
  32. data/javascript/link.js +25 -0
  33. data/javascript/style.css +52 -0
  34. data/lib/graphiclious.rb +6 -1
  35. data/lib/graphiclious/delicious2yaml.rb +75 -16
  36. data/lib/graphiclious/environment.rb +14 -1
  37. data/lib/graphiclious/ftp_browser.rb +53 -0
  38. data/lib/graphiclious/gui.rb +78 -24
  39. data/lib/graphiclious/help.rb +1 -0
  40. data/lib/graphiclious/version.rb +1 -1
  41. data/lib/graphiclious/yaml-links2html.rb +79 -64
  42. data/lib/graphiclious/yaml-links2js.rb +159 -0
  43. metadata +36 -19
  44. data/doc/screenshots/original/custom-style.jpg +0 -0
  45. data/doc/screenshots/original/user-interface.html +0 -37
  46. data/doc/screenshots/original/user-interface.jpg +0 -0
  47. data/doc/screenshots/thumb/t_custom-style.jpg +0 -0
  48. data/doc/screenshots/thumb/t_user-interface.jpg +0 -0
data/README.txt CHANGED
@@ -19,6 +19,7 @@ To get the most ut of Graphiclious you'll further need:
19
19
  - FXRuby, which makes the FOX gui toolkit availiable for Ruby applications
20
20
  - RMagick, a wrapper ImageMagick, which is a tool for image processing
21
21
  - Graphviz, a tool for generating nicely layouted graphs
22
+ - Piggy, a FTP-Browser written in Ruby
22
23
 
23
24
  Developers will need Rake, the Ruby make tool, too.
24
25
 
data/doc/extern.gif ADDED
Binary file
data/doc/index.html CHANGED
@@ -14,19 +14,52 @@
14
14
  <p>
15
15
  Graphiclious takes your del.icio.us links and generates a bunch of static webpages.
16
16
  </p>
17
- <ul>
18
- <li><a href="screenshots/thumb.html">Screenshots</a></li>
19
- <li>Rubyforge project pages:
17
+ <p>
18
+ <a href="screenshots/thumb.html">Screenshots</a>
19
+ </p>
20
+ <p>
21
+ Rubyforge project pages:
22
+ </p>
20
23
  <ul>
21
- <li><a href="http://rubyforge.org/projects/graphiclious/">Summary</a></li>
22
- <li><a href="http://rubyforge.org/tracker/?group_id=1436">Tracker</a></li>
23
- <li><a href="http://rubyforge.org/docman/?group_id=1436">Documentation</a></li>
24
- <li><a href="http://rubyforge.org/news/?group_id=1436">News</a></li>
25
- <li><a href="http://rubyforge.org/scm/?group_id=1436">Sources</a></li>
26
- <li><a href="http://rubyforge.org/frs/?group_id=1436">Releases</a></li>
24
+ <li><a class="extern" href="http://rubyforge.org/projects/graphiclious/">Summary</a></li>
25
+ <li><a class="extern" href="http://rubyforge.org/tracker/?group_id=1436">Tracker</a></li>
26
+ <li><a class="extern" href="http://rubyforge.org/docman/?group_id=1436">Documentation</a></li>
27
+ <li><a class="extern" href="http://rubyforge.org/news/?group_id=1436">News</a></li>
28
+ <li><a class="extern" href="http://rubyforge.org/scm/?group_id=1436">Sources</a></li>
29
+ <li><a class="extern" href="http://rubyforge.org/frs/?group_id=1436">Releases</a></li>
27
30
  </ul>
28
31
  </li>
29
32
  </ul>
33
+ <table>
34
+ <tr>
35
+ <td>
36
+ <p>
37
+ Graphiclious uses:
38
+ </p>
39
+ <ul>
40
+ <li><a class="extern" href="http://del.icio.us/">del.icio.us</a></li>
41
+ <li><a class="extern" href="http://www.ruby-lang.org/en/">Ruby</a></li>
42
+ <li><a class="extern" href="http://www.rubygems.org/">Rubygems</a></li>
43
+ <li><a class="extern" href="http://pablotron.org/software/rubilicious/">Rubilicious</a></li>
44
+ <li><a class="extern" href="http://www.fxruby.org/">FXRuby</li>
45
+ </ul></td>
46
+ <td>
47
+ <p>
48
+ Additional features require:
49
+ </p>
50
+ <ul>
51
+ <li><a class="extern" href="http://rubyforge.org/projects/rgl/">RGL (Ruby Graph Library)</a></li>
52
+ <li><a class="extern" href="http://www.graphviz.org/">Graphviz</a></li>
53
+ <li><a class="extern" href="http://rmagick.rubyforge.org/">RMagick</a></li>
54
+ <li><a class="extern" href="http://sourceforge.net/projects/piggy/">Piggy ftp browser</a></li>
55
+ </ul>
56
+ </td>
57
+ </tr>
58
+ </table>
59
+ <p>
60
+ Graphiclious itself is OpenSource
61
+ under <a class="extern" href="http://www.ruby-lang.org/en/LICENSE.txt">Ruby licence</a>.
62
+ </p>
30
63
  </div>
31
64
  </body>
32
65
  </html>
@@ -15,18 +15,18 @@ table, td {
15
15
  </style>
16
16
  </head>
17
17
  <body>
18
- <H1>Graphiclious - cornflower.jpg</H1>
18
+ <H1>Graphiclious - 01-blue-style-1.jpg</H1>
19
19
  <p>
20
- <a href="blue-style-1.html">Previous</a> |
21
- <a href="custom-style.html">Next</a> |
20
+ <a href="08-ftp-upload.html">Previous</a> |
21
+ <a href="02-cornflower.html">Next</a> |
22
22
  <a href="../thumb.html">Thumbnails</a>
23
23
  </p>
24
24
  <table cellpadding="2" cellspacing="5">
25
25
  <tr>
26
- <td><img src="cornflower.jpg" alt="cornflower.jpg" width="919" height="582"></td>
26
+ <td><img src="01-blue-style-1.jpg" alt="01-blue-style-1.jpg" width="695" height="568"></td>
27
27
  </tr>
28
28
  <tr>
29
- <td>cornflower</td>
29
+ <td>01-blue-style-1</td>
30
30
  </tr>
31
31
  <tr>
32
32
  <td><p><i>This page was generated by <a href="http://www.xnview.com">XnView</a></i></p></td>
@@ -15,18 +15,18 @@ table, td {
15
15
  </style>
16
16
  </head>
17
17
  <body>
18
- <H1>Graphiclious - blue-style-1.jpg</H1>
18
+ <H1>Graphiclious - 02-cornflower.jpg</H1>
19
19
  <p>
20
- <a href="user-interface.html">Previous</a> |
21
- <a href="cornflower.html">Next</a> |
20
+ <a href="01-blue-style-1.html">Previous</a> |
21
+ <a href="03-sample-graph.html">Next</a> |
22
22
  <a href="../thumb.html">Thumbnails</a>
23
23
  </p>
24
24
  <table cellpadding="2" cellspacing="5">
25
25
  <tr>
26
- <td><img src="blue-style-1.jpg" alt="blue-style-1.jpg" width="695" height="568"></td>
26
+ <td><img src="02-cornflower.jpg" alt="02-cornflower.jpg" width="919" height="582"></td>
27
27
  </tr>
28
28
  <tr>
29
- <td>blue-style-1</td>
29
+ <td>02-cornflower</td>
30
30
  </tr>
31
31
  <tr>
32
32
  <td><p><i>This page was generated by <a href="http://www.xnview.com">XnView</a></i></p></td>
@@ -15,18 +15,18 @@ table, td {
15
15
  </style>
16
16
  </head>
17
17
  <body>
18
- <H1>Graphiclious - sample-graph.jpg</H1>
18
+ <H1>Graphiclious - 03-sample-graph.jpg</H1>
19
19
  <p>
20
- <a href="custom-style.html">Previous</a> |
21
- <a href="user-interface.html">Next</a> |
20
+ <a href="02-cornflower.html">Previous</a> |
21
+ <a href="04-basic-style-js.html">Next</a> |
22
22
  <a href="../thumb.html">Thumbnails</a>
23
23
  </p>
24
24
  <table cellpadding="2" cellspacing="5">
25
25
  <tr>
26
- <td><img src="sample-graph.jpg" alt="sample-graph.jpg" width="1007" height="620"></td>
26
+ <td><img src="03-sample-graph.jpg" alt="03-sample-graph.jpg" width="1007" height="620"></td>
27
27
  </tr>
28
28
  <tr>
29
- <td>sample-graph</td>
29
+ <td>03-sample-graph</td>
30
30
  </tr>
31
31
  <tr>
32
32
  <td><p><i>This page was generated by <a href="http://www.xnview.com">XnView</a></i></p></td>
@@ -0,0 +1,37 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
+ "http://www.w3.org/TR/html4/strict.dtd">
3
+ <html>
4
+ <head>
5
+ <meta name="GENERATOR" content="XnView">
6
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
7
+ <meta http-equiv="Content-Language" content="en-us">
8
+ <title>Graphiclious screenshots</title>
9
+ <link rel="stylesheet" type="text/css" href="../default.css">
10
+ <style type="text/css">
11
+ table, td {
12
+ border: none;
13
+ background-color: #ffffff;
14
+ }
15
+ </style>
16
+ </head>
17
+ <body>
18
+ <H1>Graphiclious - 04-basic-style-js.jpg</H1>
19
+ <p>
20
+ <a href="03-sample-graph.html">Previous</a> |
21
+ <a href="05-custom-style.html">Next</a> |
22
+ <a href="../thumb.html">Thumbnails</a>
23
+ </p>
24
+ <table cellpadding="2" cellspacing="5">
25
+ <tr>
26
+ <td><img src="04-basic-style-js.jpg" alt="04-basic-style-js.jpg" width="537" height="389"></td>
27
+ </tr>
28
+ <tr>
29
+ <td>04-basic-style-js</td>
30
+ </tr>
31
+ <tr>
32
+ <td><p><i>This page was generated by <a href="http://www.xnview.com">XnView</a></i></p></td>
33
+ </tr>
34
+ </table>
35
+ </body>
36
+ </html>
37
+
@@ -0,0 +1,37 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
+ "http://www.w3.org/TR/html4/strict.dtd">
3
+ <html>
4
+ <head>
5
+ <meta name="GENERATOR" content="XnView">
6
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
7
+ <meta http-equiv="Content-Language" content="en-us">
8
+ <title>Graphiclious screenshots</title>
9
+ <link rel="stylesheet" type="text/css" href="../default.css">
10
+ <style type="text/css">
11
+ table, td {
12
+ border: none;
13
+ background-color: #ffffff;
14
+ }
15
+ </style>
16
+ </head>
17
+ <body>
18
+ <H1>Graphiclious - 05-custom-style.jpg</H1>
19
+ <p>
20
+ <a href="04-basic-style-js.html">Previous</a> |
21
+ <a href="06-custom-style-js.html">Next</a> |
22
+ <a href="../thumb.html">Thumbnails</a>
23
+ </p>
24
+ <table cellpadding="2" cellspacing="5">
25
+ <tr>
26
+ <td><img src="05-custom-style.jpg" alt="05-custom-style.jpg" width="725" height="547"></td>
27
+ </tr>
28
+ <tr>
29
+ <td>05-custom-style</td>
30
+ </tr>
31
+ <tr>
32
+ <td><p><i>This page was generated by <a href="http://www.xnview.com">XnView</a></i></p></td>
33
+ </tr>
34
+ </table>
35
+ </body>
36
+ </html>
37
+
@@ -0,0 +1,37 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
+ "http://www.w3.org/TR/html4/strict.dtd">
3
+ <html>
4
+ <head>
5
+ <meta name="GENERATOR" content="XnView">
6
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
7
+ <meta http-equiv="Content-Language" content="en-us">
8
+ <title>Graphiclious screenshots</title>
9
+ <link rel="stylesheet" type="text/css" href="../default.css">
10
+ <style type="text/css">
11
+ table, td {
12
+ border: none;
13
+ background-color: #ffffff;
14
+ }
15
+ </style>
16
+ </head>
17
+ <body>
18
+ <H1>Graphiclious - 06-custom-style-js.jpg</H1>
19
+ <p>
20
+ <a href="05-custom-style.html">Previous</a> |
21
+ <a href="07-user-interface.html">Next</a> |
22
+ <a href="../thumb.html">Thumbnails</a>
23
+ </p>
24
+ <table cellpadding="2" cellspacing="5">
25
+ <tr>
26
+ <td><img src="06-custom-style-js.jpg" alt="06-custom-style-js.jpg" width="614" height="399"></td>
27
+ </tr>
28
+ <tr>
29
+ <td>06-custom-style-js</td>
30
+ </tr>
31
+ <tr>
32
+ <td><p><i>This page was generated by <a href="http://www.xnview.com">XnView</a></i></p></td>
33
+ </tr>
34
+ </table>
35
+ </body>
36
+ </html>
37
+
@@ -0,0 +1,37 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
+ "http://www.w3.org/TR/html4/strict.dtd">
3
+ <html>
4
+ <head>
5
+ <meta name="GENERATOR" content="XnView">
6
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
7
+ <meta http-equiv="Content-Language" content="en-us">
8
+ <title>Graphiclious screenshots</title>
9
+ <link rel="stylesheet" type="text/css" href="../default.css">
10
+ <style type="text/css">
11
+ table, td {
12
+ border: none;
13
+ background-color: #ffffff;
14
+ }
15
+ </style>
16
+ </head>
17
+ <body>
18
+ <H1>Graphiclious - 07-user-interface.jpg</H1>
19
+ <p>
20
+ <a href="06-custom-style-js.html">Previous</a> |
21
+ <a href="08-ftp-upload.html">Next</a> |
22
+ <a href="../thumb.html">Thumbnails</a>
23
+ </p>
24
+ <table cellpadding="2" cellspacing="5">
25
+ <tr>
26
+ <td><img src="07-user-interface.jpg" alt="07-user-interface.jpg" width="348" height="427"></td>
27
+ </tr>
28
+ <tr>
29
+ <td>07-user-interface</td>
30
+ </tr>
31
+ <tr>
32
+ <td><p><i>This page was generated by <a href="http://www.xnview.com">XnView</a></i></p></td>
33
+ </tr>
34
+ </table>
35
+ </body>
36
+ </html>
37
+
@@ -15,18 +15,18 @@ table, td {
15
15
  </style>
16
16
  </head>
17
17
  <body>
18
- <H1>Graphiclious - custom-style.jpg</H1>
18
+ <H1>Graphiclious - 08-ftp-upload.jpg</H1>
19
19
  <p>
20
- <a href="cornflower.html">Previous</a> |
21
- <a href="sample-graph.html">Next</a> |
20
+ <a href="07-user-interface.html">Previous</a> |
21
+ <a href="01-blue-style-1.html">Next</a> |
22
22
  <a href="../thumb.html">Thumbnails</a>
23
23
  </p>
24
24
  <table cellpadding="2" cellspacing="5">
25
25
  <tr>
26
- <td><img src="custom-style.jpg" alt="custom-style.jpg" width="711" height="549"></td>
26
+ <td><img src="08-ftp-upload.jpg" alt="08-ftp-upload.jpg" width="774" height="373"></td>
27
27
  </tr>
28
28
  <tr>
29
- <td>custom-style</td>
29
+ <td>08-ftp-upload</td>
30
30
  </tr>
31
31
  <tr>
32
32
  <td><p><i>This page was generated by <a href="http://www.xnview.com">XnView</a></i></p></td>
@@ -17,26 +17,38 @@
17
17
  </p>
18
18
  <table cellpadding="10" cellspacing="0">
19
19
  <tr><td>
20
- <a href="original/blue-style-1.html"><img src="thumb/t_blue-style-1.jpg" alt="blue-style-1.jpg" width="100" height="81"></a>
21
- <div>blue-style-1</div>
20
+ <a href="original/01-blue-style-1.html"><img src="thumb/t_01-blue-style-1.jpg" alt="01-blue-style-1.jpg" width="100" height="81"></a>
21
+ <div>01-blue-style-1</div>
22
22
  </td>
23
23
  <td>
24
- <a href="original/cornflower.html"><img src="thumb/t_cornflower.jpg" alt="cornflower.jpg" width="100" height="63"></a>
25
- <div>cornflower</div>
24
+ <a href="original/02-cornflower.html"><img src="thumb/t_02-cornflower.jpg" alt="02-cornflower.jpg" width="100" height="63"></a>
25
+ <div>02-cornflower</div>
26
26
  </td>
27
27
  <td>
28
- <a href="original/custom-style.html"><img src="thumb/t_custom-style.jpg" alt="custom-style.jpg" width="100" height="77"></a>
29
- <div>custom-style</div>
28
+ <a href="original/03-sample-graph.html"><img src="thumb/t_03-sample-graph.jpg" alt="03-sample-graph.jpg" width="100" height="61"></a>
29
+ <div>03-sample-graph</div>
30
+ </td>
31
+ <td>
32
+ <a href="original/04-basic-style-js.html"><img src="thumb/t_04-basic-style-js.jpg" alt="04-basic-style-js.jpg" width="100" height="72"></a>
33
+ <div>04-basic-style-js</div>
30
34
  </td>
31
35
  </tr>
32
36
  <tr>
33
37
  <td>
34
- <a href="original/sample-graph.html"><img src="thumb/t_sample-graph.jpg" alt="sample-graph.jpg" width="100" height="61"></a>
35
- <div>sample-graph</div>
38
+ <a href="original/05-custom-style.html"><img src="thumb/t_05-custom-style.jpg" alt="05-custom-style.jpg" width="100" height="75"></a>
39
+ <div>05-custom-style</div>
40
+ </td>
41
+ <td>
42
+ <a href="original/06-custom-style-js.html"><img src="thumb/t_06-custom-style-js.jpg" alt="06-custom-style-js.jpg" width="100" height="64"></a>
43
+ <div>06-custom-style-js</div>
44
+ </td>
45
+ <td>
46
+ <a href="original/07-user-interface.html"><img src="thumb/t_07-user-interface.jpg" alt="07-user-interface.jpg" width="81" height="100"></a>
47
+ <div>07-user-interface</div>
36
48
  </td>
37
49
  <td>
38
- <a href="original/user-interface.html"><img src="thumb/t_user-interface.jpg" alt="user-interface.jpg" width="81" height="100"></a>
39
- <div>user-interface</div>
50
+ <a href="original/08-ftp-upload.html"><img src="thumb/t_08-ftp-upload.jpg" alt="08-ftp-upload.jpg" width="100" height="48"></a>
51
+ <div>08-ftp-upload</div>
40
52
  </td>
41
53
  </tr>
42
54
  </table>
data/doc/style.css CHANGED
@@ -8,7 +8,6 @@
8
8
  /** Basic paragraph styles
9
9
  */
10
10
  body {
11
- color:#FFFFFF;
12
11
  background:#91B1EE url(cloud.jpg) no-repeat top left;
13
12
  border-width:medium;
14
13
  border-top-color:#FFFFFF;
@@ -20,7 +19,7 @@ h1 {
20
19
  color:#3333AA;
21
20
  padding:20px;
22
21
  }
23
- div.main {
22
+ .main {
24
23
  width:70%;
25
24
  vertical-align:top;
26
25
  color:#000000;
@@ -33,12 +32,16 @@ img {
33
32
  border-style:none;
34
33
  }
35
34
  ul {
36
- list-style-type:square;
35
+ list-style-type:none;
36
+ }
37
+ td {
38
+ vertical-align:top;
39
+ padding-right:2em;
37
40
  }
38
41
  /* Basic link style
39
42
  */
40
43
  a:link {
41
- color:black;
44
+ color:blue;
42
45
  text-decoration:underline;
43
46
  }
44
47
  a:visited {