Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

Screenshot / Code Snippet

Column 80

About

Browsing the existing SOFU family of websites was OK in a text-based browser, but when you're stuck in a Linux shell with no way out and no other computers around and you just know you saw the answer on Server Fault last week, this is how you can find it easily.

It assumes you already have existing knowledge of the SOFU family of sites in order to navigate.

License

Public Domain. Feel free to do with it what you will. Grab it here.

Access

http://www.column80.com/ (note: looks like rubbish in modern browsers, Firefox, Chrome, Internet Explorer, etc. It has got to be viewed in Lynx to get the full effect).

Platform

Optimised for Lynx. This sounded pretty niche when I made it, but it looks like it might already have been some use to some users!

Contact

Leave some feedback in this question.

Code

I haven't done any programming in about five years, so it was also a way for me refresh my skills. It uses the PHPStack by Thomas McDonald. If you really want the source and you promise not to make (public) fun of me, then I'd be more than happy to share. I've cleaned up the code a bit, and incorporated some suggestions from the public, so I feel comfortable releasing the code. Grab it here.

  • (10th Jun 2010) now updated to incorporate the unannounced API changes
  • (25th Jun 2010) changed front page to retrieve data from StackAuth, and changed URL format to prepare for URL Rewriting (using stack.PHP)
  • (11th Jul 2010) now updated to work with the v1.0 API (the list of Stack Apps sites is looking healthy!)
share|improve this question
60  
+1 for acknowledging the console-lovers and treating them to this! –  Nathan Osman Jun 5 '10 at 0:43
7  
...and for mentioning Lynx :) –  Nathan Osman Jun 5 '10 at 0:43
3  
+1 And it does look OK in Chrome. The only issue I saw was long unwrapped lines, which makes sense when optimising for a text-based browser. –  Mark Hurd Jun 5 '10 at 1:28
1  
@Mark, one of my plans for down the track is to wrap words nicely at 80 columns which will fix that, and make it look OK in modern browsers as well (thank God for the <pre> tag) –  Mark Henderson Jun 5 '10 at 1:39
    
Yay, something useful came about as a result of my creations. What are you using for the search, considering that was the only method I haven't quite figured out the best way to do? –  Thomas McDonald Jun 5 '10 at 6:55
    
@Thomas, I used your search function out-of-the-box. It worked quite well, because the API requires the use of the options rather than a string, so I found it worked just fine. –  Mark Henderson Jun 5 '10 at 7:35
    
Since you are using PHP, you could just use the wordwrap function: php.net/manual/en/function.wordwrap.php , no need for any pre tags me thinks? –  SeanJA Jun 6 '10 at 22:13
    
@SeanJA, Good idea, thanks. I'll get that implemented sometime today. –  Mark Henderson Jun 6 '10 at 23:12
    
@SeanJA, thanks I've done the word wrapping. It looks better in modern browsers now. –  Mark Henderson Jun 7 '10 at 9:20
1  
+1 for making me laugh and remember that I work at a company that loves their AS/400 –  Eric Belair Jun 7 '10 at 12:25
    
Nice idea! Have you tried it with HTML tables though? I've had good experiences with their rendering in lynx –  russell_h Jun 11 '10 at 18:04
1  
@Simon - thanks. One of the MySQL databases went over its size quota, should all work now. –  Mark Henderson Jan 27 '11 at 21:39
1  
Absolutally - Go for it :) –  Mark Henderson Mar 6 '11 at 10:48
1  
@muntoo - if you read the description, it's not about being addicted, it's about being stuck in a console session with no other options and you still need to get access to Server Fault. –  Mark Henderson Apr 11 '11 at 0:14
1  
@hhh - no. The API does not expose these methods, not even the v2.0 API. –  Mark Henderson Feb 28 '12 at 22:09
show 36 more comments

4 Answers

Just wanted to give you a heads-up...

One of the questions contained <button> in the title, causing the entire rest of the page to be rendered in a button. You might want to run the title through htmlentities() first.

share|improve this answer
1  
Ooh, thanks. Do you know what the site & question ID is? I'll try it out in Lynx to see if it screws up on there. –  Mark Henderson Sep 1 '10 at 2:31
    
@Farseeker: Here's one: stackoverflow.com/questions/3563753/… –  Nathan Osman Sep 1 '10 at 3:01
1  
Yep, it even FUBARs in Lynx. Thanks. –  Mark Henderson Sep 1 '10 at 3:49
    
htmlspecialchars() is enough, isn't it? –  nyuszika7h Feb 12 '11 at 11:57
    
yes, it is. that escapes all dangerous characters –  ThiefMaster Apr 2 '11 at 19:10
    
Yes, but it seems to not show the \<span\> at all in the title now. Also, the button looks like "\<submit\>"(Screenshot here: imgur.com/EUzzA), also happens in listing. –  hexafraction Jun 18 '12 at 21:43
1  
@MarkHenderson FUBAR is an adjective(Especially the first word) so your comment should read "Yep, it's also FUBAR[or FUBARed] in Lynx." –  hexafraction Jun 19 '12 at 11:34
add comment

Bringing Stack overflow into the past I like it.

share|improve this answer
2  
Thing is I'm actually noticing some genuine use by Links and Lynx users in the logs, so there might actually be a market for it. I'm not quite sure how this managed to become the highest voted app on the site though... –  Mark Henderson Jun 12 '10 at 21:37
    
I'm also not sure how you managed to accumulate 2kviews in the process as well. :D –  Thomas McDonald Jun 13 '10 at 19:48
    
Me neither - oh well. It has a good use. –  Nathan Osman Jun 14 '10 at 19:11
    
Yes... it's a mystery. I can only assume someone blogged/tweeted/podcasted/shouted from the rooftops or something... seeing as it's about 4x as many views as almost all the other apps –  Mark Henderson Jun 14 '10 at 22:22
2  
Spolsky was kind enough to tweet about it :) –  user5124 Feb 5 '11 at 19:44
add comment

This is nice, but it gives the "You're not using Lynx" warning for other text-based browsers. It looks and works great in w3m as well, so it should probably skip the warning in that browser as well.

share|improve this answer
add comment

Nice but is there a nice url we can remember that goes straight to:

http://sa.column80.com/?api=0 maybe?

It would be nice to have the search button BEFORE the title and tag options.

Also I get bugged about cookies, do you really need cookies?

share|improve this answer
    
Honestly, I hardly remember how this little app works. It might be time for a refresh. The cookies were from memory from an earlier revision that must not have been taken out. –  Mark Henderson Sep 27 '12 at 1:00
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .