Blog Navigation
Partners
Latest Activity
Phil gives the source code for implementing a MySQL singleton class in both PHP and Python.
Posted on: April 25th, 2009 by Famous Phil
The other night, I was working on installing a new RSS feed reader that is similar to Google Reader. I first found out about Google Reader from a friend (Chris) here at my University over a lunch. I then looked at it and discovered that it is much better than going to each and every blog site and reading the posts on each blog directly. This reader basically gathers all of the full text blogs and puts them in an email interface format, making it extremely easy and painless to read a bunch of RSS feeds while on the go (for me, on my windows mobile smart phone on the bus going to class or during dinner when I’m too lazy to get up and return to my room).
Anyways, I am not a real fan of using everything Google when I have an alternative that runs in ssh and doesn’t require an additional login (or saved password). I found 2 alternatives that run in ssh, one is snownews and the other is newsbeuter. Both of these programs are extremely simple and do exactly what google reader does, but they run in the SSH window like Pine or Pico does (Pine is an ssh email client, and pico is an ssh text editor). Snownews is not really good at reading rss feeds because it looks at the description tag of RSS 2.0 feeds which only puts a brief outline of the feed on the screen. Newsbeuter is much better and places the full content of a post on your screen like Google Reader does.
So, what does newsbeuter look like?
Here is the Main Screen, a main listing from a single rss feed, and a single blog post from an rss feed:
When I was configuring newsbeuter, my main concern was, “would it read a full feed that is in the rss file, or would it just show the description cropped by [...] like snownews did”. Because I compiled this on my server from source, I didn’t want to waste effort installing dependancies (a compiling problem) if it wouldn’t work in the end.
Luckily, it did read full rss feeds, except for John’s blog. I asked John what was different about his blog, and he told me he turned off full text rss feeds. His reasoning is, rss feeds make it very easy for someone else to post dynamic changing content on their own websites. While I totally understand this concern, I really wonder if it will kill off readership to his site, which I know he might eventually want to make money off from some day. I know for sure that I want famousphil.com to eventually make money for itself although I’m still debating how to put ads on it without hurting the design (which will be changing in a month or two again to make it easier to read).
I have looked at several blogs debating rull text vs partial text feeds (they aren’t hard to find), including the following:
For me, I will probably keep his blog on my feed list and look at his teasers. I will probably not actually read any more than his teasers though (mostly because I don’t have time to go look at these other sites that feel too smart to post a full feed). I don’t use other people’s content for my blogs normally without citing then adding significant material onto their blogs, therefore, I don’t consider myself a blog theif either. I do however visit other sites if I feel like leaving a comment
Finally, with wordpress, if you use a “more” tag, this material will not show up on your blog feed. I will likely begin using this a bit (only after my site becomes eye friendly) because I do have long blogs and sometimes that material is an aid, but not necessary to know everything about my blog. If people want to read the aiding material, then they can then visit my site.
As for this blog, always expect a full feed, if there isn’t one, I will do everything I can to help. Comments are appreciated as always
If you host with me, feel free to use these programs I mentioned as they are installed on the main server
Tags: blog, content, description, feed, full, newsbeuter, partial, pico, pine, rss, snownews, ssh
Posted in Hosting / Server Administration, Mobile Technology, My Site, Personal, Technology
|| 3 Comments »
Posted on: April 20th, 2009 by Famous Phil
So today I was reading through my comments to approve and disapprove suggestions / comments on blogs. I usually get about 30 to 40 spam comments a week that I have to manually delete. This time I got a funny spam comment that I thought deserves its own blog (no I didn’t approve it, rather, I promoted it!). Just to be an “ass”, I thought I would also post this user’s IP address and email publically. You may feel free to spam him
So here is the comment to a blog “Google features and what I utilize from Google“,
User: Afforsenerede
email: aninuebit@gmail.com
ip: 209.239.112.48
submitted on 2009/04/19 at 11:20am:
“Yooo..
I kno it has nothing to do with what you wrote, but have you ever heard of http://www.bluestickers.info/ringtones.php . They seems to promise free ringtones
PS. Dont be an ass, this is NOT spam
”
Why did I post this although it only deserved a deletion? It is quite simple, I get enough spam email a day to know that when I post my email on a public site that is quite popular, I will get more spam to that address. My goal is to get this spammer a lot more spam to hopefully overwhelm him to where he has to increase his spam filter and possibly start flagging legitimate email as spam.
To get around spam, I implement a system to where my emails are filtered at the address level then forwarded on through more filters on other servers before being forwarded to a central email address that I have set up. My central email address is not filtered because I rely on email to be filtered before it gets to my central email account. This way if I notice a high volume of spam, I can simply increase the filtering on public addresses and start deleting legitimate email without too much worry. People who know me probably know one of my lightly filtered addresses and can send the same email to multiple addresses to ensure delivery.
If the above confuses you, I simply have a bunch of public email addresses that I filter then forward to an unfiltered address that I look at email from. Spam doesn’t bother me much anymore, especially since I use a text email client that doesn’t show pictures and makes deleting a message as easy as the “d” key (this is called pine). Deleting 100 spam messages takes me about 1 minute now compared to about 5 minutes with a web based client like gmail or yahoo mail or hotmail.
Pine is a great program and all of my hosting clients may use pine on my server through ssh, I have compiled pine with password file support (.pinepass). Pine is a bit tricky to set up, but I posted a little bit about the process on adminreference.
Finally, I would like to thank this spammer that goes by the name: Afforsenerede for getting me on this topic. I will have a reply out to you soon
I also intentionally removed the link to that info site just to be a bastard
.
Tags: email, pine, smart, spam
Posted in Hosting / Server Administration, Technology
|| 1 Comment »