Categories
support trivia

Bookmarking to Delicious from Twitter

A few people have asked if I can provide a way that they can save links they see in tweets to Delicious using Yummy. And the answer to that is… partly. Yummy already has a bookmarklet that you can use in Safari to add bookmarks, and developers can use the same mechanism in their applications. Of course whether people implement that side is not up to me.

That, however, is not the whole story. My current favourite Twitter client for the iPhone is TwitterFon and that is Open Source, which means that I can make changes. The look like this.

You start with your list of tweets:

When you drill down on a tweet with a link, you get to the web view screen. And at the bottom right, much like in Yummy, is an action button where you can do things with the current page. In my tweaked version it looks like this:

Clearly this is not a “production ready” patch. I have not put in any code so that the button is not displayed if you don’t have Yummy for example. If you have the developer tools and would like to apply the patch, here’s the code:


Index: WebViewController.m
===================================================================
--- WebViewController.m (revision 1677)
+++ WebViewController.m (working copy)
@@ -136,7 +136,7 @@
delegate:self
cancelButtonTitle:@"Cancel"
destructiveButtonTitle:nil
- otherButtonTitles:@"Open with Safari", @"Email This Link", nil];
+ otherButtonTitles:@"Open with Safari", @"Email This Link", @"Send to Yummy", nil];
[as showInView:self.navigationController.parentViewController.view];
[as release];

@@ -146,18 +146,29 @@
{
if (as.cancelButtonIndex == buttonIndex) return;

- if (buttonIndex == 0) {
- [[UIApplication sharedApplication] openURL:currentURL];
+ NSString* sendTo;
+ NSString *body;
+
+ switch (buttonIndex) {
+ case 0:
+ [[UIApplication sharedApplication] openURL:currentURL];
+ break;
+ case 1:
+ body = @"nnSent from TwitterFon";
+
+ sendTo = [NSString stringWithFormat:@"mailto:?subject=%@&body=%@%@",
+ [titleLabel.text encodeAsURIComponent],
+ currentURL,
+ [body encodeAsURIComponent]];
+ [[UIApplication sharedApplication] openURL:[NSURL URLWithString:sendTo]];
+ break;
+ case 2:
+ sendTo = [NSString stringWithFormat:@"yummy://post?title=%@&url=%@",
+ [titleLabel.text encodeAsURIComponent],
+ currentURL];
+ [[UIApplication sharedApplication] openURL:[NSURL URLWithString:sendTo]];
+ break;
}
- else {
- NSString *body = @"nnSent from TwitterFon";
-
- NSString *mailTo = [NSString stringWithFormat:@"mailto:?subject=%@&body=%@%@",
- [titleLabel.text encodeAsURIComponent],
- currentURL,
- [body encodeAsURIComponent]];
- [[UIApplication sharedApplication] openURL:[NSURL URLWithString:mailTo]];
- }
}

- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex
Categories
news

Yummy 2.1.1

I just uploaded a minor update to Yummy to Apple. It should be available in the next few days. It fixes a problem where adding or editing a bookmark would occasionally cause Yummy to crash. No data was lost (syncing would bring the bookmark back again) but obviously it wasn’t right.

Categories
news trivia

Give Away

If you are on Twitter and were online last night, you may have seen that @KRAPPS and @148Apps were giving away a few copies of Yummy. (I had no idea that they’d do the promotion on the same day!) If you’re reading this because you won or heard of Yummy from there, Hello and welcome. If you didn’t win, well I’m sure those won’t be the last promotions we’ll hold and, of course, you can always pick up a copy in iTunes.

I was a little worried that KRAPPS would think that Yummy was only as good as another fart app, but I need not have worried. They said, “you have a winner and a 100% anti-KRAPPS Certified app.” Thanks guys.

While we’re talking about “give aways,” I thought that this might be a good time to pre-announce Yummy Browser, Yummy’s little brother. It will be available very shortly from the iTunes App Store as a free download.

Yummy Browser is built from the same code-base as the full version of Yummy and is ideal for people who only need to view their bookmarks on their phone. It’s also great if you like the idea of Yummy but would like to try before you buy a copy.

More news and details when it completes its route through Apple’s review process.

Categories
support trivia

Number of Bookmarks

One question I get a lot is “How many bookmarks can Yummy handle?” The short answer is there’s no absolute number that I can tell you but I can give you some heuristics and anecdotes. The short answer is “a lot.”

I typically do my testing with between three hundred and two thousand bookmarks, depending exactly on what I’m doing. If you are in that range you’ll be fine. I have recently been testing with nearly four thousand bookmarks and over three thousand tags, which means that version 2.1 of Yummy works acceptably well in that range. I also heard from a user with six thousand bookmarks.

At the higher end of the spectrum, you will generally find that Yummy works just fine albeit a little slowly. I’m always working to make Yummy faster and more efficient, but ultimately the iPhone has limited memory and a slow CPU. Having said that, the vast majority of users will never notice.

Categories
news

Yummy 2.1.0

You can think of this as the “tidy up” release after the major update to 2.0. Nevertheless there are some nice new features:

  • Suggest tags when adding or editing bookmarks
  • Save searches
  • Send bookmarks to Twittelator
  • Tags now display as you type them but are organised in a case-insensitive manner
  • Performance enhancements

More in the coming days, but the “Suggest Tags” feature looks like this:

Simply press the “bookmarks” button (the only active button in the toolbar at the bottom of the screen) and the tags field will be populated with Delicious’ suggestions in a couple of seconds. You can edit them once populated.

And the saved search starts here:

Press the little blue “Bookmarks” button to the right of the search bar and you get here:

By default every search is saved here, so it’s as well to trim down your search term occasionally. The edit button works just as it does in other iPhone applications and the “Delete all” button does exactly what you’d guess.

Categories
faq howto support tutorial

Memory Warning

By now many of you (assuming you own Yummy!) will have seen the above warning message. Why are you getting it and what does it really mean? That’s what this post hopes to answer.

The first thing to note is that the error message is being completely honest. The iPhone has told Yummy that it is running out of memory and that if nothing changes it will be shutdown without warning.

Does that not mean that Yummy is being incredibly wasteful? How could it possibly be using 8Gb of memory just to display a webpage? The answer to that is, it’s not that memory that is being depleted. In order to run programs the iPhone has around 128Mb of memory, less than 30Mb of which is available to third-party applications like Yummy. The number on the box, the 8Gb, 16Gb and 32Gb sizes, are a different “pot” that cannot be used for the same purpose.

So, the first thing that Yummy does when it starts running out of memory is to “forget” about as much stuff as possible that it doesn’t currently need. This means that the number of bookmarks in your Delicious account has little bearing on how much memory is used.

Jettisoning this temporary data is typically enough to allow the webpage to load. However if you’re loading a particularly large or complicated page it might not be and, unfortunately, Yummy often does not get a second warning before being forced out.

This is one of those rare cases where I’ve had to let some of the underlying technical details show through. It’s not ideal but I thought it better that you know what’s going on rather than just allow it to exit without warning.

Categories
news

Just submitted…

I am in the process of uploading a new version of Yummy to Apple. It should be available for download to your iPhone or iPod touch some time in the next week or so.

Although mainly a bug fix release, I have added a few new features:

  • Suggest tags
  • Saved search
  • Post links to Twitter using Twittelator

The bug fixes are pretty significant:

  • Blank tags appearing, which when selected cause Yummy to crash
  • A crash on sync, caused, believe it or not, by manually selecting 12-hour time in the Settings application

For the latter I am indebted to Peter from Byteclub who went far above and beyond would could have been expected to help me get to the bottom of it. A temporary work-around until 2.1 is available for download is to switch to a 24-hour clock.

(Not that this is an excuse for Yummy crashing, but it turned out to be a bug in the iPhone OS. If you want to see the details check out this question.)

People with over 1500 tags should also be happier with the performance in this version.

Categories
faq howto tutorial

Sending bookmarks to Twitter

The funny thing about sending bookmarks from Delicious to Twitter is that I did this entirely for myself. I never saw any demand for it until after I’d added it! Now I see lots of people wanting to do exactly that and it was a popular feature with beta testers. So here’s what it looks like:

It’s simply a matter of selecting the option from the “action” menu found in both the bookmark view and and web preview screens.

This is a screen-shot from my phone and hence shows my current favourite Twitter client, TwitterFon. If you prefer Twitterrific or Tweetie, though, you’re also in luck.

First go to the setting screen:

And then select the program you want to use for posting to Twitter:

Just below the “Twitter Client” setting is one called “Shorten URL.” This allows you to shorten the URL using is.gd before sending to Twitter.

Categories
faq howto support tutorial

Yummy Settings

The functionality of Yummy that we’ve seen over the last couple of weeks has pretty much been what you get “out of the box.” There is, however, an increasingly large number of switches and options in the Settings application that you can set to customise Yummy to work just the way you like.

You Delicious.com credentials are typically set when you launch Yummy for the first time. If you want to change to a different user or you’ve changed your password, this is where you change it.

Share new posts. Are new bookmarks public or private by default?

Refresh on startup. By default Yummy with try to synchronise your bookmarks as soon as you start. If you don’t change your bookmarks very often or have a lot of bookmarks and it takes a while to refresh, you may prefer to sync manually.

Remember last screen. If this option is set to ON Yummy will start in the same mode you were using last time you had it open. (Yes, in version 2.0 there’s a typo. This will be fixed in the next version.)

Shake to refresh. A fun option suggested by a user. Rather than having to press the Refresh button in the menu screen, you can simply shake your iPhone or iPod touch to initiate a full sync.

Twitter Client. Many Yummy users also regularly use Twitter. This option allows you to send bookmarks to your favourite Twitter client,

Shorten URL. If enabled, Yummy will shorten the URL using is.gd before sending to Twitter. This option is not used when sending links to Safari or Mail.

Categories
faq howto support tutorial

Web Preview

A popular request from users of version 1.0 if Yummy was a built-in web page viewer. I was more than happy to oblige.

The “action” menu at the bottom right is exactly the same as that found in the post view screen, with the same functionality and operation.

While mainly designed to view your bookmarks, it’s not unusual to venture off the well trodden path occasionally. If you find a page you want to bookmark as well, you can add it to Delicious using the “add” button which you’ll find to the left of the action button.