disqus 0.1.1 → 1.0.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.
metadata.gz.sig ADDED
Binary file
data/README.textile DELETED
@@ -1,94 +0,0 @@
1
- h1. Disqus Ruby Gem
2
-
3
- The Disqus Gem helps you easily integrate the "Disqus":http://disqus.com
4
- commenting system into your website. It works for any site programmed in Ruby,
5
- and has view helpers for Rails and Merb.
6
-
7
- h2. Get it
8
-
9
- h3. Stable release:
10
-
11
- <code>
12
- gem install disqus
13
- </code>
14
-
15
- h3. Bleeding edge:
16
-
17
- <code>
18
- gem install norman-disqus --source http://gems.github.com
19
- </code>
20
-
21
- h2. Use it:
22
-
23
- h3. Configure it:
24
-
25
- <pre>
26
- <code>
27
- Disqus::defaults[:account] = "my_account"
28
- </code>
29
- </pre>
30
-
31
- h3. Show the comment threads on a post page:
32
-
33
- <pre>
34
- <code>
35
- # Loads the commenting system
36
- disqus_thread
37
-
38
- # Or if you're not using Rails/Merb:
39
- Disqus::Widget::thread
40
-
41
- # Sets the inner html to the comment count for any links on the page that
42
- # have the anchor "disqus_thread". For example, "View Comments" below would
43
- # be replaced by "1 comment" or "23 comments" etc.
44
- # <a href="http://my.website/article-permalink#disqus_thread">View Comments</a>
45
- # <a href="http://my.website/different-permalink#disqus_thread">View Comments</a>
46
- disqus_comment_counts
47
-
48
- # Or if you're not using Rails/Merb:
49
- Disqus::Widget::comment_counts
50
- </code>
51
- </pre>
52
-
53
- h3. Show the combo widget on a post page:
54
-
55
- <pre>
56
- <code>
57
- disqus_combo(:color => "blue", :hide_mods => false, :num_items => 25)
58
-
59
- # Or for non-Rails/Merb:
60
- Disqus::Widget::combo(:color => "blue", :hide_mods => false, :num_items => 25)
61
- </code>
62
- </pre>
63
-
64
- h3. Show the comment count on a permalink:
65
-
66
- <pre>
67
- <code>
68
- link_to("Permalink", post_path(@post, :anchor => "disqus_thread"))
69
- ...
70
- disqus_comment_counts
71
-
72
- # Or for non-Rails/Merb:
73
- Disqus::Widget::comment_counts
74
- </code>
75
- </pre>
76
-
77
- h2. Hack it:
78
-
79
- Github repository: http://github.com/norman/disqus
80
-
81
- h2. Complain about it:
82
-
83
- "norman@randomba.org":norman@randomba.org
84
-
85
- h2. Learn more about Disqus:
86
-
87
- "http://disqus.com":http://disqus.com
88
-
89
- h2. Thanks to the following contributors:
90
-
91
- * "Quin Hoxie":http://github.com/qhoxie - Merb support
92
-
93
- Copyright (c) 2008 "Norman Clarke":norman@randomba.org, released under
94
- the MIT license