Over a few evenings last week and over the weekend I wrote a twitter bot. It's not a client or a mashup. It simply looks for you to say certain things and replies later. It's basically a glorified alarm clock -- one that you can set and receive via text message (if you have twitter setup for mobile updates).
The syntax is pretty simple:
@twitmeback in 15 time to make the donuts
or
@twitmeback in 1:45 check parking meter
You can specify the duration until you're reminded in either [hours]:[minutes] or just in a count of minutes.
Where I think this really gets useful is that it can do direct messages, too. Personally I prefer to keep mobile updates to directs only, so if I want a text message reminder, it needs to be in the form of a direct message. The bot will automatically follow you back if you follow it (it checks every half hour). Then, you can set reminders via direct message, like so:
d twitmeback in 30 don't forget to submit your time sheet
or
d twitmeback in 4:00 lunch time!
If your reminder is received via DM, it will remind you via DM. This way, your reminders can be totally private (if that's what you want), or work totally from text message.
Lastly, you can also specify a DM reminder by starting your message with "d", like so:
@twitmeback d in 90 is the pizza here yet?
Now go forth, and be reminded.
in
My projects |
2 Responses
Posted 2008-09-28 05:05
Everyone agrees that Microsoft is not the really best when it comes to usability, right?
We've probably all looked at this dialogue at some point during our lives and said, "How about a No to All button, Microsoft?"

But did you know it's possible? Hold the shift key while you click the "No" button, and Windows will act as if there were a "No to All" button and you clicked it.
You're welcome.
in
Misc |
4 Responses
Posted 2008-09-20 08:15
Hey, everyone else is doing it. Why not me?
Mark asks,
I have been getting a lot of comment spam on one of my mango installs. I took a look and the captcha is not showing up anymore. The plug in's page says it's deactivated, however trying to activate it says it's already active? Have you see this before?
In fact, I have seen this before. I'm not sure what causes it, but what happens is somehow one of Mango's preferences files gets out of sync. Luckily, it's fairly easy to fix.
Open up the file pluginprefs.cfm, which should be in the root of your Mango install. Look (or search) for:
...and take a look at the value. There, you'll find the plugin listed that you're having difficulty activating. Remove it from the list, save the file, and try again to activate the plugin. In this case, the value to remove is "LylaCaptcha", as this is the plugin that can't be activated.
in
Ask a Grokker |
Mango |
No Responses Yet
Posted 2008-09-15 09:00
Along with the long awaited 1.2 release of ColdSpring, the worlds best CFC IoC/AOP framework has a brand spanking new website, which looks great; and includes a total overhaul of the online documentation.
Congratulations to Chris Scott -- manager of the Philadelphia CFUG, and project lead for ColdSpring -- and the rest of the ColdSpring team. Looks like a job well done!
in
Frameworks |
No Responses Yet
Posted 2008-09-12 10:19
This plugin has been a long time in the making. It's something I knew from the outset that I would want in Mango, but after getting my feet wet by writing a few other small plugins, I knew I could do it. I made it as simple as I could, but there are still a couple of things you will need to know; one of which is that you might need to modify your theme to broadcast a new event in a couple of places. This new event is going to be a part of future versions of Mango, so there isn't any worry about future-compatibility and worries when upgrading.
First of all, though you need a small update to the core of Mango. Even if you've got the latest version of Mango (1.1)! Laura posted a comment on the plugin ideas page with a link to the update zip file, and an explanation that it included a new plugin (home page chooser), some core modifications that were needed to support that plugin, and most importantly, some bug fixes -- one of which is necessary for back-linking of related entries to work correctly. So before you do anything else, make sure you grab and install that update!
Once you've got the Mango update installed, go ahead and download my Related Entries plugin.
Now about that event. It's really simple to add. Open up your theme's index.cfm and post.cfm files (and archives, and other places you may want to show related entries...). The code to broadcast the event is really simple:
<mango:Event name="beforePostContentEnd" />
Simple, right? And where do you put it? Anywhere, really... within reason. It uses contextual information to look up related entries data for the current post, so you must broadcast it inside of a <post> (custom tag) block. So for example, here's the relevant information from my theme's index.cfm template:
<mango:Posts count="5">
<mango:Post>
...
<mango:Event name="beforePostContentEnd" />
<p class="date">Posted in ...</p>
...
</mango:Post>
</mango:Posts>
That's almost it! After you install the plugin, and add the event broadcast to your theme, there's just 2 more things.
First, relate a couple of entries. Edit a post, and look at the bottom of the form.

This new section should be displayed at or toward the bottom of the form. As it explains, you select a category from the left column to see its entries from the selected categories (use control to select multiple). Then click on any entries from the center column that you want to relate to the current entry; they will be displayed in the right column. (This is all done with jQuery ajax!) To remove an entry from the right column, double click it. When you submit the form, the posts in the right column will be marked as related to the current entry; and in addition to that, the current entry will be related to those posts.
When you submit the form, if you get an error that looks like this, then you didn't install the update!:

If you don't get the above error, then your data should be good to go. Now, you just need to style it.
When you've got related entries data, the event you're broadcasting is going to be replaced with some code along this line:
<div class="related">
<h2 id="RelatedEntries">Related Entries:</h2>
<ul>
<li><a href="http://server/post/your-post">Post Title</a></li>
<li><a href="http://server/post/your-post">Post Title</a></li>
<li><a href="http://server/post/your-post">Post Title</a></li>
</ul>
</div>
So, you can define some css rules for .related, #RelatedEntries (or .related h2), and .related ul, .related ul li, .related ul li a.
That's it. Enjoy!
One note for the future: The update I talk about above should be included in Mango 1.2, so if you've got 1.2 (or later) installed, don't worry about the update.
In case you missed the link before, you can Download my Related Entries Mango Blog Plugin right here.
in
AJAX |
ColdFusion |
JavaScript |
Mango |
My projects |
23 Responses
Posted 2008-09-10 08:00