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 Stack Exchange 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 SE family of sites in order to navigate.

License

Public Domain. Feel free to do with it what you will. Grab it here (note: This is the old v1 API. I have not packaged v2 yet).

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!)
  • (9th May 2014) updated the site to use the v2 of the API. Removed some never-used features such as tag search and user profiles, as I'm pretty short on time.
share|improve this question
63  
+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
2  
@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

4 Answers 4

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
1  
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

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

Just pointing out: this system actually violates the content license because it does not link back to the original posts or authors in any way on the questions.

From the blog:

  1. Visually indicate that the content is from Stack Overflow or the Stack Exchange network in some way. It doesn’t have to be obnoxious; a discreet text blurb is fine.

    Yes

  2. Hyperlink directly to the original question on the source site (e.g., http://stackoverflow.com/questions/12345)

    No

  3. Show the author names for every question and answer

    Yes

  4. Hyperlink each author name directly back to their user profile page on the source site (e.g., http://stackoverflow.com/users/12345/username)

    No

share|improve this answer
    
Interesting. I wonder if this applies to remixes from the API, but I guess I can comply. Not entirely sure how useful linking to the originals will be from a plain text browser, but oh well. –  Mark Henderson May 22 at 1:26

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
    
Cookies are gone, URl structure has been changed. –  Mark Henderson May 8 at 23:10
    
Nice. The search is a bit hit or miss though. (E.g: it's order dependent) Have you considered using Google or Bing? –  Luke Stanley May 9 at 4:51
    
I am just using the built-in Stack Exchange search. I believe it's a full string search, but not entirely sure. Problem with google search is that it will redirect you to the full SE site, not my Column 80 one. That might be OK, it might not be. –  Mark Henderson May 9 at 4:57
    
It looks like it's possible to extract the question number from the URL. –  Luke Stanley May 9 at 14:01

You must log in to answer this question.

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