Re: Need advice to hack taplynx framework to display photo galleries in my format

3 views
Skip to first unread message

Justin Bolter

unread,
Aug 8, 2011, 10:56:01 AM8/8/11
to tap...@googlegroups.com, TapLynx
I think your best bet is to try and use yahoo pipes to transform the feeds to the format Taplynx expects.

On Aug 5, 2011, at 2:51 AM, Terrence Tee <dunf...@gmail.com> wrote:

> Hi guys,
>
> My second question today.
> I need some advices on how to hack on the taplynx framework to display
> photo galleries in my rss format.
>
> It appears that Taplynx is designed in this way currently:
>
> - each album is an rss, e.g. Hiking Day 1 is one rss
> - every rss <item> is a picture, e.g. item1 = Hiking Day 1 Picture
> 1, item2 = Picture 2...
> - every rss <item> only has one enclosure image.
>
> What if my rss structure has the following format?
>
> - each category of photos is an rss, e.g. Adventures Photos is one
> rss
> - every rss <item> is an album, e.g. item1 = Hiking Day 1, item2 =
> Hiking Day 2,...
> - every rss <item> has multiple enclosure images, so that enclosure
> image 1 = Hiking Day 1 Picture 1, etc.
>
> I am really reluctant to redesign a photo gallery when Taplynx already
> have one.
> Any smart guy here can think of any smart solutions to display the
> above structure a Taplynx's photo_gallery tab?
>
> Exact rss structure provided by my client is here:http://
> entertainment.xin.msn.com/rss/wp7/en/photos2.aspx
>
> Many thanks in advanced.

Walter Tyree

unread,
Aug 10, 2011, 5:05:07 AM8/10/11
to tap...@googlegroups.com
If you can make the web galleries on the server with php then you
could place them in a custom view controller. The view controller
itself would be just a web browser.

Then you use the power of TapLynx for all of the tabs except this one.

When using a remote plist, the configuration changes don't take effect
until the next time the app is launched.

Walter
On Wed, Aug 10, 2011 at 4:08 AM, Terrence Tee <dunf...@gmail.com> wrote:
> Hi Justin,
>
> Thank you for your reply.
>
> Sigh. Unfortunately for my case it is impossible to simply reformat or
> restructure the RSS to achieve what I want.
>
> What i need to display, is a list of dynamic photo galleries where I
> don't even know what are the gallery titles and number of galleries
> during design time.
> These information will be provided in a rss in a very customized
> format by client.
>
> Actually I had an idea. I might be able to provide a php path for
> Taplynx to get the remote plist file, so that whenever Taplynx query
> for the remote plist, the plist file is dynamically generated by the
> php script on the fly to include the galleries and their titles
> properly in the format Taplynx want.
>
> BUT, even if the above method will work (havent tried yet), relying on
> remote plist file means that my photo galleries won't work when the
> app is FIRST launched. They will only work when the app is launched
> 2nd time onwards based on the Taplynx behaviour. This is really a
> headache.
>
> p/s: Is there anyway to force the app to load the remote config on the
> very first time?


>
>
>
>
>
> On Aug 8, 10:56 pm, Justin Bolter <jbol...@gmail.com> wrote:
>> I think your best bet is to try and use yahoo pipes to transform the feeds to the format Taplynx expects.
>>

Walter Tyree

unread,
Aug 10, 2011, 8:39:21 AM8/10/11
to tap...@googlegroups.com
One of the really nice things about custom view controllers is that you only have to think about the view controller and below, you don't have to think about the whole app. The first view controller will need to have the special taplynx initialization method, but any further ones do not.

Spend some time googling and going through github.com to look for demo projects and open source projects that do what you need. Here is one that could get you started https://github.com/enormego/PhotoViewer Often these will be enough to get you most of the way to completion since you are only dealing with the 1 view controller. From experience: I would avoid the Three20 based projects. This is a framework like taplynx is a framework and having both of them in a project is going to make you unhappy.

Walter
On Aug 10, 2011, at 5:26 AM, Terrence Tee wrote:

Hi Walter,

Thanks. That's indeed what I am looking at.
But instead of a web based gallery, most likely I have to build a objective-c gallery on the custom tab :)


--
Regards,

Terrence
Tee Jhy Haur
H/P: 92995458
Email: dunf...@gmail.com

Merete Mueller

unread,
Aug 10, 2011, 5:23:35 PM8/10/11
to TapLynx
Hi Terrence,

Good news! We have implemented a fix that causes the app to load the
remote NGConfig on the very first time that the app is loaded. This
will be included in the next release, which we are working hard to
finish testing and release.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages