hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

Franchise.d #

by why in inspect
 gem install camping markaby --source code.whytheluckystiff.net
 svn co http://code.whytheluckystiff.net/svn/hoodwinkd/trunk hoodwinkd
 cd hoodwinkd/lib
 camping hoodwinkd.rb
said on 10 Feb 2006 at 12:23

u’ tha man

said on 10 Feb 2006 at 12:52

WEBrick starts up (after I also had to install redcloth, sqlite3-ruby) but nothing is on port 3000? where is camping’s default port?

said on 10 Feb 2006 at 12:56

Oh, port 3301.

said on 10 Feb 2006 at 13:12

also requires the redcloth and sqlite3 gems, it seems. Somehow I didn’t have those installed on my desktop—damn java programming, keeps getting in the way of my ruby lifestyle.

said on 10 Feb 2006 at 13:17

Hmm… seem to be getting somesort of deadlock error:

deadlock 0xb78f9d30: run:-/usr/local/lib/ruby/1.8/timeout.rb:41: [BUG] Segmentation fault ruby 1.8.2 (2004-12-25) [i686-linux]

said on 10 Feb 2006 at 14:06

brilliant.

said on 10 Feb 2006 at 14:15

thomas: you have the plain Ruby SQLite3 bindings installed. use these directions. and promise me you’ll follow them precisely.

said on 10 Feb 2006 at 14:24

Ack! I wondered why it didn’t complain about not finding the libs. (I even realized halfway through that they weren’t installed, doh!)

I knew I shouldn’t try to run through this after staring at that cursed java code for hours. It rots your brain, you see. It’s fungal and tea tree oil ain’t going to clear this one up…

said on 10 Feb 2006 at 16:15

Yey! hoodwink.d is installed! Now if only the satalite offices could link up and form an ad-hoc winkNET.

said on 10 Feb 2006 at 16:44

Well, it’s all in SVN now. Help me hack it, triggaz.

Tickets and wiki: yo.

said on 10 Feb 2006 at 17:09

So what do the winks look like? I got it running installed the user.js script and went to boing boing, but don’t know what I am looking for. Could noscript also cause problems?

said on 10 Feb 2006 at 17:15

You’ll probably want to copy some settings from the real hoodwink.d. Here’s some settings for Boing Boing:

  • Full Post URL Regexp:
     /\d+/\d+/\d+/[^/]+\.html
    
  • Full Post XPath:
     //p[@class='posted']
    
  • CSS :
     #sidebar-a,#sidebar-b,iframe{display:none}
     #content { width: 720; }
    
said on 10 Feb 2006 at 17:19

By George!

said on 11 Feb 2006 at 03:33

Nice stuffs! Maybe a little more documentation for naive users like I am …

BTW , I’m getting the following issue:

The image “http://localhost:3301/static/i/hoodwink-fullpost-icon.png” cannot be displayed, because it contains errors.

said on 13 Feb 2006 at 10:35

Sorry Why, I’ve been lurking a bit, but never found out what a ‘Hoodwink’ is.

Links?

said on 13 Feb 2006 at 12:44

Duh!: http://hoodwink.d/ is the master site.

There is also an information booth set up.

said on 15 Feb 2006 at 21:42

maybe its just me..

http://hoodwink.d/ => Server not found

$ camping hoodwinkd.rb C:\ruby\gem_repo/gems/camping-1.3.65/bin/camping:5: warning: already initialized constant RAILS _CONNECTION_ADAPTERS [2006-02-15 19:32:54] INFO WE Brick 1.3.1 [2006-02-15 19:32:54] INFO ruby 1.8.4 (2006-02-14) [i386-mingw32] C:\ruby\gem_repo/gems/camping-1.3.65/lib/camping.rb:35:in `eval’: (eval):2:in `rubygem_repo/gems/camping-1.3.65/lib/camping.rb (Errno::EINVAL) from (eval):2

Comments are closed for this entry.