Customizing article list, or changing what audio taps show?

14 views
Skip to first unread message

Jay Goodman Tamboli

unread,
Feb 26, 2010, 11:46:51 AM2/26/10
to TapLynx
I apologize if this has been asked before; I searched the archives and
couldn't find anything relevant.

Is there any way to customize the list of articles? Specifically, I'd
like to increase the size of the description preview.

Alternatively, is there any way to have a tap on an article with an
enclosure show the full description and require a second tap to open
the audio enclosure?

To clarify, I'm working with an RSS feed that contains titles,
descriptions, and MP3 enclosures. I'd like users to be able to see the
full description. Currently users see a truncated description in the
list view, and then when they tap they go straight to the audio file.
Do you have any suggestions?

Thanks, Brent.

Jay Goodman Tamboli
j...@talkradionews.com

Mike

unread,
Mar 1, 2010, 6:19:03 PM3/1/10
to TapLynx
For what it's worth, I'd LOVE a solution to this as well.

Brent Simmons

unread,
Mar 4, 2010, 6:04:15 PM3/4/10
to tap...@googlegroups.com
By size of description -- do you mean font size or number of lines?

About enclosures -- there's a key called "NewsItemList_ShowArticleEvenIfEnclosure" that should do what you want. However, it's then up to you to put a link to the mp3 in the <description> for that item, so the person can still tap to play the item.

-Brent

Jay Goodman Tamboli

unread,
Mar 4, 2010, 6:32:39 PM3/4/10
to tap...@googlegroups.com
On Mar 4, 2010, at 18:04, Brent Simmons wrote:

> By size of description -- do you mean font size or number of lines?

I meant number of lines.

> About enclosures -- there's a key called "NewsItemList_ShowArticleEvenIfEnclosure" that should do what you want. However, it's then up to you to put a link to the mp3 in the <description> for that item, so the person can still tap to play the item.

Ah, perfect. I can probably rig something up to put the link in description. I assume that if I include such a link, tapping it will download and play it, right?

Thanks for your help!

Jay Goodman Tamboli
j...@talkradionews.com
(202) 459-9087

Brent Simmons

unread,
Mar 4, 2010, 6:36:44 PM3/4/10
to tap...@googlegroups.com

On Mar 4, 2010, at 3:32 PM, Jay Goodman Tamboli wrote:

> On Mar 4, 2010, at 18:04, Brent Simmons wrote:
>
>> By size of description -- do you mean font size or number of lines?
>
> I meant number of lines.
>
>> About enclosures -- there's a key called "NewsItemList_ShowArticleEvenIfEnclosure" that should do what you want. However, it's then up to you to put a link to the mp3 in the <description> for that item, so the person can still tap to play the item.
>
> Ah, perfect. I can probably rig something up to put the link in description. I assume that if I include such a link, tapping it will download and play it, right?

That's correct -- tapping the link should play it. (If not, let me know, of course.)

-Brent

Jay Goodman Tamboli

unread,
Mar 9, 2010, 12:40:02 PM3/9/10
to tap...@googlegroups.com

I've done as you suggested, and now when I tap the "Listen" link I get an error "Can't show the web page because of an error: Operation could not be completed. (WebKitErrorDomain error 204.)." See attached screenshot. Nevertheless, the audio file downloads and plays until I hit "OK." I get the same error on my iPhone and in the simulator. Most web discussion of this error suggests jailbreaking could cause it, but I've never jailbroken this phone.

It may be an Apple bug (https://devforums.apple.com/message/35528), so is there anything I can do?

Thanks.

/jgt
--
http://tamboli.cx/, PGP key ID 64301A5F


Pastebot 2010-03-09 12.34.12 PM.png

Brent Simmons

unread,
Mar 9, 2010, 2:46:47 PM3/9/10
to tap...@googlegroups.com

I can work around this in code. But it will require a new release of TapLynx -- there isn't anything you can do until I write that code.

-Brent

Jay Goodman Tamboli

unread,
Apr 6, 2010, 11:30:12 AM4/6/10
to tap...@googlegroups.com

Since the link doesn't really work (at least for now), is there any way to increase the number of lines of description shown in the list?

PGP.sig

Jay Goodman Tamboli

unread,
Apr 6, 2010, 11:46:16 AM4/6/10
to tap...@googlegroups.com
On Apr 6, 2010, at 11:30, Jay Goodman Tamboli wrote:

> Since the link doesn't really work (at least for now), is there any way to increase the number of lines of description shown in the list?

I see that there's a NewsItemList_MaxDescriptionLines, but I can't seem to get any values to make a difference. Is that a number or a string, and what are the possible values?

PGP.sig

Brent Simmons

unread,
Apr 6, 2010, 8:14:34 PM4/6/10
to tap...@googlegroups.com

On Apr 6, 2010, at 8:46 AM, Jay Goodman Tamboli wrote:

> On Apr 6, 2010, at 11:30, Jay Goodman Tamboli wrote:
>
>> Since the link doesn't really work (at least for now), is there any way to increase the number of lines of description shown in the list?
>
> I see that there's a NewsItemList_MaxDescriptionLines, but I can't seem to get any values to make a difference. Is that a number or a string, and what are the possible values?

I think that was something left over from a pre-release TapLynx. I don't believe it does anything now.

-Brent

Jay Goodman Tamboli

unread,
Apr 7, 2010, 11:32:57 AM4/7/10
to tap...@googlegroups.com

Bummer. So there's no way to increase the description lines, and if I create a link to an MP3 in the full description the user gets a WebKit error. Any other ideas?

PGP.sig
Reply all
Reply to author
Forward
0 new messages