Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 30    Views: 164

chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
01/17/14 01:50 PM (11 years ago)

new plugin: News Digest

Almost done with a new iOS plugin, inspired by the "Yahoo Digest" app. Here's a demo video: http://youtu.be/UTP_wOuvCa0 Is this something you'd use? What should I call it?
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
01/17/14 01:51 PM (11 years ago)
Digest Plugin or Yahoo Digest plugin. KISS
 
Paddy
Lost but trying
Profile
Posts: 240
Reg: Oct 08, 2011
Hands Up !
12,500
like
01/17/14 02:08 PM (11 years ago)
Screen swipe, anyway to ad an arrow to the right part of screen, or bottom, etc ? I'm not sure that the average user would know he can swipe screens with touch actions, up and down ok he knows, right-left, not sure.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/17/14 02:09 PM (11 years ago)
Its a slider. Page Slider?
 
Innovativegeek
Code is Art
Profile
Posts: 60
Reg: Jul 29, 2011
Orlando
3,400
like
01/17/14 02:13 PM (11 years ago)
Can't wait to try it out lol. Looks very slick
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/17/14 02:40 PM (11 years ago)
@Paddy - how about something like this? http://youtu.be/azgiBLdyoXk @AlanMac - you can think of it that way.
 
Paddy
Lost but trying
Profile
Posts: 240
Reg: Oct 08, 2011
Hands Up !
12,500
like
01/17/14 02:52 PM (11 years ago)
Yes, Chris, thats looks good :)
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
01/17/14 03:22 PM (11 years ago)
I love the parallax view. I can't wait to see how you accomplished that.
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
01/17/14 03:24 PM (11 years ago)
Neat Chris! Neat!
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
01/17/14 03:24 PM (11 years ago)
Now I've just got to get that voting plugin of mine released.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/17/14 03:25 PM (11 years ago)
@Red Dog - it's now in the market for you to check out :)
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/17/14 03:29 PM (11 years ago)
@Thomas - you're just holding out to get #100, aren't you? :)
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
01/17/14 04:34 PM (11 years ago)
Nice! I really like that you used sliding Left-Right to switch to the next-previous (really intuitive). Up-Down for more info on the current topic. Count me in as soon as it is released! - Wait you said it is in the market. So I'm glad I added credits last night ;)
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
01/17/14 05:08 PM (11 years ago)
OK - I got it. A few questions before working with it later tonight ;) 1) Recommended image dimension size(s) for Page Image Item? 2) Can the text have an embedded <CR> to break up text? 3) Any way to change text and text background color? 4) "angleView" and "descriptionText" Page Items seem to be missing from Control Panel. Or is it assumed that it will always be loading from JSON data? Is there a simple readme that might cover some of these or other tips and hints? Thanks! PS- Have you thought of adding a third option for "angleView" like horizontal?
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/17/14 05:18 PM (11 years ago)
Hi Chris any news on the pm I sent you?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/17/14 05:47 PM (11 years ago)
@NCbuzz - angleView should be in the "Plugin Properties" section of the control panel. "descriptionText" is accessible when you click on a child item you added. For images, they are scaled to screen width x 75% of screen height. I'll work on support for text color in the future. Background color is harder - there's an image mask that is used to create part of the effect. That image is white, so you would need to both create a new version of that image with the desired color, as well as apply the color to the rest of the view.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/17/14 05:47 PM (11 years ago)
@Mysps - I haven't switched gears to Android quite yet, but will soon
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/17/14 07:33 PM (11 years ago)
Impressive, Chris! Cheers! -- Smug
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
01/17/14 09:29 PM (11 years ago)
Chris - Thanks for all the info above it works great! So my only remaining question is there anything I can include in the text descriptions that will force line break(s)?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/17/14 09:48 PM (11 years ago)
You should be able to enter "\n" in your description for a line break;
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
01/17/14 10:37 PM (11 years ago)
Thanks "\n\n" gave me the break and a blank line.
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
01/18/14 03:43 AM (11 years ago)
@Chris1... I'm not wiring for #100, although it would be nice. I'm just waiting to get my final snippets of code done!
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
01/18/14 04:37 AM (11 years ago)
Great job, Chris, congratulations! Quite beautiful and many possible uses. A little downside, though: images shouldn’t be scaled to screen width x 75% of screen height but only to screen width, to avoid anamorphosis! (I’ve tested it on iPhone 4 and 5 and on iPhone 2.) Cheers Jack
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/18/14 07:39 AM (11 years ago)
It needs to be scaled to look properly with the angled mask. You don't want it going above the mask or it will look funny. I could make it extend well beyond the screen borders, I suppose, cutting off the edges but keeping the perspective. Some people won't like that either though.
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
01/18/14 10:04 AM (11 years ago)
Bad news, but thanks anyway, Chris! ;-) Workaround: use Jake's Launch Screen and 3 different Screen Digest occurrences to accommodate all devices... Between iPhone 4 and 5, the anamorphosis is already noticeable, but on iPad it gets really too obvious... Did you calculate ideal image size ratio for the 3 screen proportions? Would be helpful! Or do you see any way of having image-scaling automatically done by the plugin according to the different screen device sizes? Cheers Your devoted plugin tester - Jack
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/18/14 07:37 PM (11 years ago)
I agree with Jack . V2, baby! :-)
 
Uelsimon
Lost but trying
Profile
Posts: 272
Reg: Mar 25, 2012
NYC
4,470
like
01/18/14 07:44 PM (11 years ago)
Dammit Chris1. You ruin my life….with these fab plugins. Keep it up!
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
01/20/14 10:01 AM (11 years ago)
Currently the plugin loads all page header images prior to displaying the first page. This can cause a considerable lag between the the menu screen tap and when the first page is displayed. Chris- How would either of the following be implemented: a) EDITED: display the animated showProgress icon. - Code is currently already using showProgress, however it does not appear when the MewsDigest is doing the initial load?? - Is this a BTv3 item? Not sure if (b) is a good idea: (probably not based upon two many user interaction variables) b) is it possible to load page 1 image, then present the digest and then resume loading the remaining pages. Note: Currently my app has 5 pages with the Page Image headers loaded from URL. (but will grow)
 
AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
like
01/20/14 03:53 PM (11 years ago)
Where does the data at the bottom come from? Like a rss link or a text field? Thanks, Jack
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/20/14 04:01 PM (11 years ago)
It's plain text entered in the control panel, or you can feed the pages dynamically using php and a dataURL
 
LevensGardener
Aspiring developer
Profile
Posts: 220
Reg: Sep 30, 2012
Kendal
10,450
like
03/11/14 03:19 PM (11 years ago)
This is a great plugin. If "\n" will give me a line break in the description text, is there a way to drop some images amongst that text? Thanks...
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.