Posts tagged Eugenia
MobileQuo
Aug 14th
Eugenia released a little web-let called “MobileQuo” the other day, and it caught my eye. I downloaded it and hacked it up and made some changes.
1. This version is more secure – it won’t let the content of the feed break your HTML. Update: Apparently, the desired behavior is to render the HTML, not to preserve the markup as markup, so the new version Eugenia has released reflects that change. So code will be rendered, including javascript, so beware!!
2. This version outputs friendly errors. The 1.0 version can fail if your php.ini isn’t set up right, or output a blank page if there are certain errors.
3. This version is more portable and doesn’t rely on a particular PHP configuration.
4. Most differently, this version can cache the results. This way, each reload won’t hammer an RSS feed. Rather, the results can be cached for a perdiod and fed from cache, and then when the cache expires, it reloads the cache.
The source code is here: MobileQuo. Note that you will need to upload a blank WRITABLE file in your MobileQuo directory. Then just use the rest of the code from Eugenia here.
Gnomefiles Gets Pretty URLs
Aug 7th
So Eugenia IM’ed me and told me that GNOME was pretty insistent about the fact that they wanted to see Gnomefiles clean up the URLs to make them more friendly. She asked me how hard the move would be. Having already dug pretty deep into GF code, I knew that it wouldn’t take too much effort to clean things up. So, just a few days later, I’m pretty sure we’ve gotten all the bugs ironed out. Apps are now accessed like this: http://gnomefiles.org/app.php/[appname] where [appname] is, obviously, the name of the application.
There were a few challenges. For one, the plus character has significance in the URL, so apps like, say, GTK+, are inaccessible. So now we dynamically convert those titles to something like GTK_Plus. Also, spaces are switched to underscores. The one thing that burned me was that some apps have names that include strings like Sunbird/Calendar, which is not only URL significant, but it also breaks the code. So unfortunately, we have convert those to pipes right now, so an app such as the previously mentioned Mozilla Sunbird/Calendar is now available at http://gnomefiles.org/app.php/Mozilla_Sunbird|Calendar. Until I have a better way to pull this off, / becomes a pipe.
However, for nearly all other apps, you’ve now got a very pretty URL. Fear not, your old URLs still work, but you’ll probably want to update your incoming links to point to the new style URL.
YIKES!
Apr 12th
I suppose I really ought to put something new now that Eugenia has indicated she is going to be linking to me! We put in a ridiculous amount of time updating OSNews and Gnomefiles and Dusty-Computing, etc to fix a lot of the old code that was written with register_globals on. I was EXTREMELY happy that Small Axe survived the change with no problems, as did OSGalaxy, which is based on “Galaxy,” which used to be a Small Axe beta project called ftBlogroller. Soon I’m going to package that code and release it.
