Discussion Forums  >  Uncategorized

Replies: 95    Views: 564

LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
11/16/11 12:22 PM (13 years ago)

Developer for RSS Tab needed!

Hi guys, as I am not able to get what I want by myself I would have to buy me some help :-) Here the thread what it is all about: http://www.buzztouch.com/forum/thread.php?tid=2C239E044EAFA16C574DE59&status=&searchInput=search...&sortColumn=FT.dateStampUTC&sortUpDown=DESC¤tPage=1&doViews=1 In short I need the following: A valid RSS feed implementation that shows the following: - a list of the stories with the image on the left (image is taken from the description) - if you click on a story, it doesn't direct to the website, but shows the whole story in a the app. - click back on the header to go back to the list - the story should read in html I need this implemented in one of my existing apps here on buzz touch and available to use for future apps. Please send me an email to [email protected] or reply here with your offer. Thanks in advance
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/16/11 11:43 PM (13 years ago)
Hi again... Not interested in your $ but very interested in trying to see this through. Can you post a link to the website your pulling this from. I want to get a better understanding of the types of content your publishing. I say this because the first few bullets in your list above make sense but I'm not at all clear about how to display the RSS story without loading a webview. Post this... a) An example RSS feed you're workign with (I know you did this in the other thread, post in this thread please) b) A link to the actual website. I'll get a look and re-post some ideas.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
11/17/11 06:28 AM (13 years ago)
Hi Dave, my rss feed is generated from Joomla: feed://www.montesino.at/index.php?format=feed&type=rss&lang=de feed in front of the URL normally doesn't work with readers, just replace it with http. As said before, Appmakr shows the feeds the way I want it too and of course about every rss reader in the appstore like Feeddler Pro and others. I found a small solution here: https://www.rssinclude.com/ with help of the iPhone RSS Box. If I insert the java code in a BT Custom HTML Tab, it shows the feed and opens inside the app, but not really in a good looking way. Next problem here, is that it doesnt show HTML, therefore no images and no formatted text in the detailed view. No images in the list view either. Really hope somebody can sort this out or make a BT Plugin. David, I know you don't have much time, lots of other stuff to do and even worse, don't want to be paid by me ;-) BUT maybe you can still do it and I wil donate the money to a good charity project of your choice :-) Almost christmas sooo ;-)
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/18/11 12:11 AM (13 years ago)
Looking into this. Charity...hmm...maybe we can get creative? Kindly send a screen shot (if you have one or can quickly create one) of what you're trying to produce. Maybe the AppMakr solution? I'll dig through some solutions and come up with a plan. I'll also assume this is iOS and not Android. Solution may fix both...just gathering what I can.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
11/18/11 05:50 AM (13 years ago)
Hi Dave, yes it is all about iOS. Here are the screenshots directly out of the Appmakr Simulator (and yes, it works on the phone too ;-)) Screenshot 1 (list view of rss feed): http://www.montesino.at/images/bt/appmakrlistview.jpg Screenshot 2 (whole story inside the app): http://www.montesino.at/images/bt/appmakrdetails.jpg Screenshot 3 (some extras on the story) http://www.montesino.at/images/bt/appmakrextras.jpg Appreciate your help and knew you have a good heart, so lets do it for charity :-)
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/18/11 11:05 AM (13 years ago)
Ok...makes perfect sense. Those are web-pages, displayed in an iOS UIWebView. Additionally, the list of RSS stories is also a web-page, in a UIWebView. It's just made to look like a list you would expect to see in an iPhone, an effective illusion. So, here's how they are doing it. a) You enter an RSS URL in some sort of control panel on their site. b) Their backend downloads the RSS feed to their server, parses it, then creates a WEB PAGE that looks like a list. The app requests this webpage, not the RSS feed. The webpage is loaded into a UIWebView on the device. CSS is powerful stuff ;-) c) You tap a story, the story link does not go to the URL listed in the RSS feed (that leads to the entire story on your site, remember), but also goes to their site. Their site pulls the story from the URL on your site, parses it, then outputs another web-page formatted for mobile. This approach was / is super common in the iOS world and App Store. The problem is...it's not native iOS code, it's HTML. For most folks this is OK and the illusion created by showing HTML that looks like iOS lists and views is acceptable. Apple has a huge problem with it. They have accepted thousands of these and rejected thousands of these. Tough to say what they will do with yours. Super arbitrary too, no rhyme or reason to their approval / rejection sometimes. To do this, we'll need to create a webpage (php script) that pulls the RSS feed from your site then outputs the list to look like the image. This .PHP script will live on your website, not ours. This is easy. Next, we'll need to figure out how to parse your huge / heavy webpage to show a mobilized version of the story when a link is clicked, this is difficult. AppMakr has figured out how to do this. We have never spent anytime writing solutions to magically convert webpages into mobilezed versions - and we don't plan to. In this case, we'll see if we can get it working. I'll write the .PHP script and test it here on our equipment and add it to a simple test app. When I get it working I'll send it to you to put on your server. When you do this, you'll end up creating a Custom URL screen in the app and not an RSS screen in the app. The Custom URL Screen will point to your fancy RSS to iPhone script. Nudge this or email info 'at' buzztouch.com if you don't hear from me in a day or two.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
11/18/11 11:28 AM (13 years ago)
Sounds fantastic David :-) Will sit and wait pressing the refresh button every minute ;-) Very impressed how you guys help everybody here! And hey, if you manage to build this, many people will be happy. No reason for anyone to use Appmakr from then ;-)
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/20/11 02:02 PM (13 years ago)
Just sent you an email... back later.
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
11/24/11 03:35 AM (13 years ago)
@David I am very interested in this solution as well if it isn't too much bother. Thanks!
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
11/24/11 12:26 PM (13 years ago)
World's greatest David managed to write the script and it works perfectly :-) David, can I send him the script or do you want to upload it on Buzztouch for everyone? Regards Leon
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
11/24/11 08:29 PM (13 years ago)
@Leon, I would love the help! Happy Thanksgiving!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/25/11 01:37 PM (13 years ago)
Hi guys...travelling today for holiday so can't offer much in terms of uploads. @LeonG's offer to share is probably the best approach at this point. For sure the sript I created for him could be useful for others. There isn't a place for @LeonG to upload it on buzztouch.com so DropBox or email will have to do. cheers till later...
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
11/25/11 01:41 PM (13 years ago)
good enough for me. post your email and I will send it to anyone.
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
11/25/11 01:43 PM (13 years ago)
[email protected]. Thanks! You guys are great!!
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
11/25/11 01:49 PM (13 years ago)
You got it.
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
11/25/11 04:57 PM (13 years ago)
Alright, I uploaded the php and changed the rss to the rssurl of a site I'm testing with and it doesn't work quite right. The RSS Feed isn't scaled right and the story doesn't load when I click it. Here are some screenshots. Any ideas? What else do I need to change to get this work for any kind of rss? http://dl.dropbox.com/u/5432778/photo%201.PNG http://dl.dropbox.com/u/5432778/photo%202.PNG
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
11/26/11 03:00 AM (13 years ago)
Did you change the url as well? Send me a link to your rss feed please, so that I can look into it.
 
pasquino
Lost but trying
Profile
Posts: 10
Reg: Sep 22, 2011
Rome
500
like
11/26/11 05:51 AM (13 years ago)
Can I try it too, please? pasquino at hotmail.com Thanx.. :-)
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
11/26/11 06:46 AM (13 years ago)
You got it
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
11/26/11 11:54 AM (13 years ago)
Sent you an email LeonG. if you can send it when you have time! thx
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
11/26/11 04:32 PM (13 years ago)
LeonG, I did change the URL also. I sent you an email with the RSS feed if you see anything let me know. Thanks!
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
11/27/11 07:18 PM (13 years ago)
Hey @David, @LeonG and I have both tried using one of my feeds with this php with no success. Is there something else besides weburl and the rssurl that need to be changed? Thanks!
 
technodiva
I hate code!
Profile
Posts: 23
Reg: Nov 03, 2011
Chicago
230
like
11/28/11 02:52 PM (13 years ago)
[email protected] Hook me up!
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
11/30/11 01:14 AM (13 years ago)
@David, is there a possibility that you could use your genius and create the RSS Plugin for BT Server using this more mobile view? I can't get the .php to work correctly. It shows the stories for the feed but when you click on the story it doesn't load among other issues. I'm not smart enough to figure out what other part of the code I need to adjust.
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
12/02/11 09:30 PM (13 years ago)
Has anybody else got this to work for them? If so what all did you change?
 
iPing
Aspiring developer
Profile
Posts: 27
Reg: Dec 07, 2011
Teramo
1,520
like
12/09/11 01:04 PM (13 years ago)
pgiom at libero.it Many thanks!
 
webwizz
Apple Fan
Profile
Posts: 81
Reg: Sep 29, 2011
Spain
4,960
like
12/15/11 07:20 AM (13 years ago)
Would love to have this script too. Kirkout at gmail . Com Thanks
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
12/16/11 07:52 AM (13 years ago)
Only seems to work for my montesino feed, most be something that has to be changed to get other feeds to work. Here is everything you need: http://lgevents.net/downloads/rssfeed.zip Wrote David a mail, hope he can help us out, as it should only be a small change.
 
iPing
Aspiring developer
Profile
Posts: 27
Reg: Dec 07, 2011
Teramo
1,520
like
12/19/11 04:28 AM (13 years ago)
I've modified websitebaseurl and rssURL with my own. Article list showing as expected. Blank page for single article view... Trying to modify <div id=\page\ class=\full-article\> into my article div... little step on, but still not showing the hole article.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/06/12 02:18 PM (13 years ago)
David, any chance you can help us here. Normally it should work, but still it only does for my montesino feed and thats it. I think it can only be a small change in the code, but nobody can do it, so please help us out. Regards Leon
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/06/12 03:20 PM (13 years ago)
I have the solution. i was writing it up today. i'll post it when i get back
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/06/12 04:04 PM (13 years ago)
Sounds great :-)
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
01/06/12 04:07 PM (13 years ago)
@mysps I can't wait to see what you got!!
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/06/12 09:29 PM (13 years ago)
Thanks Leon for opening this thread and thanks for David for creating the base code to display the rss Leon described. I really needed this worked out and the original php file customized for montesino did not work by only changing the base url and the rss. So yesterday I outsourced someone to fix it for the site in question and explanation of how to configure it later for different feeds. Download the zip: http://dl.dropbox.com/u/3222229/rss.zip Instruction.txt File Montesino.php - Original File Feed.php - New/Modified I don't want to post the full instructions on the forum because characters might get stripped. This is very useful for Android BT 1.5 until the rss module is sorted and working. Good luck
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
01/06/12 10:54 PM (13 years ago)
Thanks for this but I still can't figure it out because I'm a moron.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/07/12 05:49 AM (13 years ago)
easy easy mitchellapps :) whats your feed? make sure you edit the feed.php file. because the code changes in the new feed.php file
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
01/07/12 08:20 AM (13 years ago)
I can get the post to show up now but I can't get the image to show up in the box of in the title view. When I get to my Mac I'll send you the feed. Thanks!
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
01/07/12 09:17 AM (13 years ago)
Here is one of many Cardinals fan feeds that I'm using. http://aeryssports.com/aaron-miles-fastball/feed. Help me understand how to pull images into the box! Thanks!
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/07/12 12:16 PM (13 years ago)
By looking at the code it seems like it is enclosed with > content:encoded replace the word enclosure with: content:encoded However it doesn't seem as the feed will show images... you could try but i doubt it. i had feed without images and pulled a few lines near the bottom of the script.
 
bananapie
Aspiring developer
Profile
Posts: 23
Reg: Oct 03, 2011
Christchurch, N...
1,230
like
01/11/12 01:04 AM (13 years ago)
Im a bit confused, I dont need images for this RSS feed so I have removed them. But when I click on the article it does not load the Article, Could anyone help me with this? Im using Worldpress. Heres the page: http://blog.michael-griffin.com/irss.php The RSS Feed: http://blog.michael-griffin.com/?feed=rss2&cat=7 Thanks in advance :)
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
01/11/12 11:24 AM (13 years ago)
Hey, @mysps what lines I code would I need to delete to jus get rid of the thumbnail box? Thanks!
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/11/12 03:47 PM (13 years ago)
@banana -- first one to change is: div class=postItem and second div class=postTags
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/11/12 03:48 PM (13 years ago)
@mitchell.. check here: echo \n\t<div id='item_ . $count . ' class='itemOff' onClick=\fnSelected('item_ . $count . ', ' . $link . ');return false;\>; echo \n<table cellspacing='0' cellpadding='0'>; echo <tr>; echo \n<td class='imageCell'><img class='image rounded' src=' . $imgSrc . '/></td>; echo \n<td>; echo \n<div class='title'> . $item->title . </div>; echo \n<div class='description'> . $description . </div>; echo \n<div class='date'> . $pubDate . </div>; echo </td>; echo </tr>; echo </table>; echo \n\t</div>; and find the image section. and remove and play with it
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
01/11/12 04:21 PM (13 years ago)
I'll check it out! Thanks!
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
01/11/12 07:55 PM (13 years ago)
@mysps, ok, I successfully removed the Thumbnail box. My problem now is the page isn't detecting the width of the iphone so it's not all on one screen. (Do I make sense) Am I missing something?
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/11/12 08:01 PM (13 years ago)
hi i dont know i never touched any of that. just play around with it. i usually delete a little code at time to test and see what is removed and not working properly. good luck
 
mitchellapps
Aspiring developer
Profile
Posts: 170
Reg: Aug 15, 2011
St. Louis
4,300
like
01/11/12 08:09 PM (13 years ago)
Ok, Thanks!
 
bananapie
Aspiring developer
Profile
Posts: 23
Reg: Oct 03, 2011
Christchurch, N...
1,230
like
01/12/12 01:27 AM (13 years ago)
@mysps Sorry, I dont quite get what I am changing. Just a little confused. Thanks for all your help
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/12/12 10:34 AM (13 years ago)
i explained it the best i could in step 2 of the instructions.txt If you notice in the case of montesino.php and the full articles that are fetched, the original uses the function fnGetMainArticle. To load the article you need to open the code of the news on the original source, find the article starting point, and a final one. If you check the source of the single article here: http://www.montesino.at/index.php?option=com_content&view=article&id=1766%3Apaukenschlag&catid=25%3Amontesino-news&Itemid=121&lang=de You'll notice that the starting point is <div class=main-article> and the ending point of the article is: <div class=clr> Hence the line: $printHTML = fnGetMainArticle($curlResult, <div class=\main-article\>, <div class=\clr\></div>); This function has to be in the correct order: $curlResult, 1. starting point, 2. ending point.
 
nickrick32
Apple Fan
Profile
Posts: 111
Reg: Feb 28, 2011
location unknow...
1,110
like
01/20/12 10:26 AM (13 years ago)
Hi, great share thx I try to use and for some rss works but for other doesn't. Is there some way to reformat rss feed to look same for this script?
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/20/12 11:35 AM (13 years ago)
hi! yeah i dont know how to make it universal. however i know what variables to change just by looking at the original rss article. it has worked great for me. im using many different type feeds as well.let me see which feed doesnt work for u
 
S-George
Apple Fan
Profile
Posts: 111
Reg: Jan 18, 2012
location unknow...
4,460
like
01/24/12 08:18 PM (13 years ago)
Ok, I have a very nice look from my rss with image in it but when I click on the article I get blank page, I did look at the code but I can£t figure it out. I need help. http://www.cyou.gr/cyounews.php I use the Montesino.php - Original
 
nickrick32
Apple Fan
Profile
Posts: 111
Reg: Feb 28, 2011
location unknow...
1,110
like
01/25/12 08:49 AM (13 years ago)
hey mysps can I send you via email problem feeds ? (if you provide me your email:) )
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/25/12 11:57 AM (13 years ago)
email removed.. resolved thanks
 
S-George
Apple Fan
Profile
Posts: 111
Reg: Jan 18, 2012
location unknow...
4,460
like
01/26/12 06:05 AM (13 years ago)
Hi @LeonG I’m running a joomla 1.5 site and the rss souce is exactly the same like yours I use David’s php file like you did. It shows the rss feed with image but when I click on it I get a blank page, I just change the url and rssurl do I have to do anything else? What am I missing? I appreciate if you gut have a look to my rss source. Thank you... http://www.cyou.gr/news/hotnews?format=feed&type=rss
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/26/12 07:03 AM (13 years ago)
@66geo All of the changes start in line: 246 //format the HTML using our cool function. Function returns the HTML in-between the HTML snippets.. $printHTML = fnGetMainArticle($curlResult, <div class=main-article>, <div class=clr></div>); Yours it is quite different because your code is different. To call the content from the article you have to change the div class name in the code. the original article uses main-article and yours is art-article and to close it you have to use: class=sexy-bookmarks sexy-bookmarks-bg-caring-old so it would be //format the HTML using our cool function. Function returns the HTML in-between the HTML snippets.. $printHTML = fnGetMainArticle($curlResult, <div class=art-article>, <div class=sexy-bookmarks sexy-bookmarks-bg-caring-old></div>); ps. don't copy and paste because the quotes are stripped :(
 
S-George
Apple Fan
Profile
Posts: 111
Reg: Jan 18, 2012
location unknow...
4,460
like
01/27/12 05:59 AM (13 years ago)
@mysps Thank you for helping me understand how that great code works. It works with <div class=\art-postcontent\>, <div class=\cleared\></div>); Thak you...
 
ACOD SPOOR O-VL
I hate code!
Profile
Posts: 29
Reg: Jan 03, 2012
Merelbeke
290
like
03/04/12 03:01 PM (13 years ago)
I have my php file working , but it shows up the last 10 items . Is there a possibility that only the last 5 are shown ? What do i have to change in the .php file ( http://dl.dropbox.com/u/45165287/acodovl2.php )? The xml file at http://ovl.acod-spoor.be/index.php/home?format=feed&type=rss also shows 10 , even there are only 5 articles on the http://ovl.acod-spoor.be/index.php/home page ... Perhaps logic , but strange for me ... Who can help ? kind regards, Yuri ( who uses BT because he can't code :) )
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
03/04/12 03:28 PM (13 years ago)
i believe that setting is located in the feed itself. does your cms have the option to limit? i know in wordpress and drupal you're able to set the amount in the settings. perhaps there is string to only show 5. not 100% sure though
 
ACOD SPOOR O-VL
I hate code!
Profile
Posts: 29
Reg: Jan 03, 2012
Merelbeke
290
like
03/04/12 11:38 PM (13 years ago)
Im using joomla, I only show 5 ( http://ovl.acod-spoor.be ) , and that's why I think it's strange I can see 10 in the rss( it's as it shows page 1 & 2 )
 
AbhishekS
Android Fan
Profile
Posts: 1
Reg: Mar 07, 2012
location unknow...
10
like
03/08/12 03:22 PM (13 years ago)
How can i implement this thing in an android app?
 
daku7
Aspiring developer
Profile
Posts: 227
Reg: Oct 30, 2011
Toronto
3,170
like
05/11/12 12:30 AM (13 years ago)
Dear All, Where i add "feed.php" file BT_Server in 2.0.
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
08/22/12 02:34 PM (13 years ago)
This is no longer a working link: http://dl.dropbox.com/u/3222229/rss.zip Is it possible to still get this?
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
08/22/12 04:39 PM (13 years ago)
You sure? Try again, because I've just tried and it worked for me.
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
08/22/12 04:46 PM (13 years ago)
Thanks, I just tried it again and it worked for me as well.
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/23/13 06:06 AM (12 years ago)
i tried with wordpress but i dont get shizzle of the nizzle on how to go to arcticle. my rss feed is http://www.vanboekel.nl/category/fiscale-tips/feed it shows on the feed.php but when i click the item it wont load
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/23/13 06:50 AM (12 years ago)
Yes you have to find where you want the content to begin and end. And change where it is instructed in the zip file. In your case. The content starts: <div id="content-right"> and ends at either here: <div class="clr"></div> or <div id="footer">
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/23/13 06:58 AM (12 years ago)
ok i set //format the HTML using our cool function. Function returns the HTML "in-between" the HTML snippets.. $printHTML = fnGetMainArticle($curlResult, "<div class=\"content-right\">", "<div class=\"footer\"></div>"); that should do ? the file is here http://www.vanboekel.nl/rss/vba.php it still doesnt load any article.
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/23/13 07:17 AM (12 years ago)
ok i set //format the HTML using our cool function. Function returns the HTML "in-between" the HTML snippets.. $printHTML = fnGetMainArticle($curlResult, "<div class=\"content-right\">", "<div class=\"footer\"></div>"); that should do ? the file is here http://www.vanboekel.nl/rss/vba.php it still doesnt load any article.
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/23/13 07:45 AM (12 years ago)
ok i set //format the HTML using our cool function. Function returns the HTML "in-between" the HTML snippets.. $printHTML = fnGetMainArticle($curlResult, "<div class=\"content-right\">", "<div class=\"footer\"></div>"); that should do ? the file is here http://www.vanboekel.nl/rss/vba.php it still doesnt load any article.
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/23/13 08:56 AM (12 years ago)
what permalink did you use on the montesino wordpress ?
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/23/13 10:15 AM (12 years ago)
montesino isn't wordpress it is joomla. i would have to see your php file. send me a pm or dropbox file and i'll look at it.
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/23/13 11:48 PM (12 years ago)
ok il send you the pm with skydrive link
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/25/13 03:43 AM (12 years ago)
hey mysps have you found anything ? does the script actualy work with wordpress ?
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/25/13 04:03 AM (12 years ago)
hey mysps have you found anything ? does the script actualy work with wordpress ?
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/25/13 05:21 AM (12 years ago)
Yep I sent it yesterday check your inbox
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/25/13 06:01 AM (12 years ago)
darn my messages are empty i only see the items in send. can you mail it to [email protected] ?
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/25/13 06:21 AM (12 years ago)
here is what i wrote: You did well however I changed one thing and it works now. The first class that you changed was id and you had class. so previously: <div class=\"content-right\">", "<div class=\"clr\"></div>" now <div id=\"content-right\">", "<div class=\"clr\"></div>" just reading it correctly and double checking :)
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/25/13 08:06 AM (12 years ago)
thnx bro that did the trick. now i only have to figure out some layout settings and where good to go :)
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/28/13 03:05 AM (12 years ago)
mysps, do you know how i change the image part as well ? its content-left or content-block where the image is displayed.
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/28/13 03:43 AM (12 years ago)
aigh got it working with an rss image plugin and the enclosure tag. also for android ahd to remove the limitation on the hardware back button.
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/28/13 03:57 AM (12 years ago)
one thing though when i click on one of the urls i get the article but its very small is there a way to implent the viewport when displaying the article ?
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/28/13 04:08 AM (12 years ago)
lol got that 2 i got it finished. i changed the display meta data to 0.35 sizes brought it back to 1.0 and played with the font sizes of all now it looks smooth on both ipad iphone and android devices
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/30/13 11:26 AM (12 years ago)
sorry themc.. was traveling now back on track. yes, the images work add this to your code. oops i just read the next post. seems like you have it complete! thanks for posting your solutions for the viewport.
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/30/13 11:32 PM (12 years ago)
no prob m8 thnks for looking at the script. it runs flawlessly now. the only thing left to do with the app is puting up more info and maybe the aurasma plugin with tags.
 
Vicentin
Lost but trying
Profile
Posts: 85
Reg: Nov 22, 2013
Orihuela
2,050
like
11/28/13 09:15 PM (11 years ago)
Hi mysps, With the original montesino I can see the list of posts with images but when I click on the title link the script don't shows the post content and i am redirected to the website. I am using WordPress and my feed is: http://www.orihuela.info/feed/ Link to the php file in zip: http://www.orihuela.info/montesino.zip Link to the script: http://www.orihuela.info/montesino.php Can you help me? Regards
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
11/29/13 03:27 AM (11 years ago)
If you're using wordpress you don't need this fix. It works out of the box and if you want the images to show in the feed, use the plugin WP RSS Images.
 
Vicentin
Lost but trying
Profile
Posts: 85
Reg: Nov 22, 2013
Orihuela
2,050
like
11/29/13 08:36 AM (11 years ago)
Hi! I dont have problems with images, i'm using a plugin for showing images on the feed as you can see at http://www.orihuela.info/feed/ The problem is when i click/push on the post link (the title). I suposse that this script must show the content between <content:encoded> and </content:encoded> (of course i have changed the php file). You can see at http://www.orihuela.info/montesino.php Maybe you can't understand me because my english is very basic. I see that you are spanish too, can i send you a private message in spanish? Thanks!
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
11/29/13 09:08 AM (11 years ago)
Yes I tried the link and it is perfect. I see the images and thumbnails and then when I click the story it goes to the full page of the story. Right now I'm viewing from my ipad later I will try with my phone. But it seems ok
 
Vicentin
Lost but trying
Profile
Posts: 85
Reg: Nov 22, 2013
Orihuela
2,050
like
11/30/13 02:31 PM (11 years ago)
Hi mysps As you can see on this video (dont worry, only 6 seconds) when i click on the link i am redirected to the website: http://www.youtube.com/watch?v=siiNMPuAbT8 Tested on iphone 4, BQ Edison Tablet and AVD and in all the same. By other way, do you know how can i fit the content to the screen? Is not showing the complete title and the content: http://img96.imageshack.us/img96/3489/70oz.png Thanks for your help
 
Vicentin
Lost but trying
Profile
Posts: 85
Reg: Nov 22, 2013
Orihuela
2,050
like
12/16/13 11:50 AM (11 years ago)
Hi mysps, any idea? Thanks
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
12/16/13 01:17 PM (11 years ago)
Hi, Sorry about that, you caught me as I was traveling. It depends on the feed itself. I have some feeds that parse and show only the content in mobile view and some show up as the full website. I wish I could help you more but it depends on the feed. Try using: http://fivefilters.org/ good luck!
 
Vicentin
Lost but trying
Profile
Posts: 85
Reg: Nov 22, 2013
Orihuela
2,050
like
12/16/13 01:23 PM (11 years ago)
I have sent a private message to themc because he is using wordpress too and for him is working http://www.vanboekel.nl/rss/vba.php Thanks for all
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
12/16/13 01:27 PM (11 years ago)
Ah exactly, it works I see in the browser on my compute.r
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
12/16/13 02:49 PM (11 years ago)
I don't know much about this, but your site shows this error in Web Inspector: Viewport argument value "device-width;" for key "width" not recognized. Content ignored. Perhaps you could try: <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=yes">
 
Vicentin
Lost but trying
Profile
Posts: 85
Reg: Nov 22, 2013
Orihuela
2,050
like
12/16/13 04:32 PM (11 years ago)
Hi shenry, With that code the screen shows a horizontal scroll bar: http://apps.exticalia.com/orihuelainfo/montesino.php Tested on iphone and computer, if the title text exceed the screen is not responsive (but the description is responsive, i dont undestand that). Regards and 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.