Pages (2):    1 2
Member
Member
lucian   21-01-2012, 07:54
#21

Hello, I'm not sure if this is the right place but it seems related.

I am trying to get my rss-news to load my image. Basically, I am running ZenPage as a photoblog. My content is just the custom TinyZenPage image I am adding. However, my "/index.php?rss-news&withimages&lang=en_US" page loads nothing but "..."

Has there been any progress to fixing the bug mentioned? I'd like to use the standard rss-news.php without editing it; the only hack I can use is by commenting as below:

`
if(getOption('zenpage_rss_length') == "") { // empty value means full content!
$content = get_language_string($obj->get('content'),$locale);
} else {
$content = get_language_string($obj->get('content'),$locale);

$content = shortenContent(get_language_string($obj->get('content'),$locale),getOption('zenpage_rss_length'), $elipsis='...');


        }

`
Just curious. Thanks!

Administrator
Administrator
acrylian   21-01-2012, 12:02
#22

Hm that should actually have been fixed but I can however reproduce that the rss with images does indeed not return images as well on our own site. Something must have been slipped through I guess... I will take another look.

Administrator
Administrator
acrylian   21-01-2012, 14:33
#23

Update: The feed is working correctly. But note that the combined feed sorts images and news by date. The date stored for images is generally the internal file date and not the date uploaded.. ID would be the setting to get images in upload order (exacty discovery order) but ID does not work with news as they are only sorted by date to make sense.

So if you upload an image today that has been shot three weeks ago it has that old date and therefore does not appear at the beginning. Also if you overwrite an existing image with a same named one it is not considered new, too.

Set the feed items to a very high number and you will surely see the images you are missing as later numbers.

Member
Member
lucian   21-01-2012, 18:04
#24

My rss.php feed works just fine. The rss-news is the one that wasn't producing my image. I'm not looking to combine any feed, just the rss-news which produces the ... without the hack.

Administrator
Administrator
acrylian   21-01-2012, 18:32
#25

rss-news did work for me. Maybe I don't understand the actual problem (I have not re read the topic I admit). Be sure you are on 1.4.2.

Member
Member
lucian   21-01-2012, 19:39
#26

Hi, I am on 1.4.2. The rss-news itself works, but the problem for me is my image does not show up in my news-article. I am inserting my image via tinyZenpage, and the only thing I get is "..." in the RSS feed without my hack that I posted above.

The only thing I have in my news $content is the picture inserted from tinyZenpage. It does not show up. I have the option set for full article (not truncating or shortening, by emptying the value).

Administrator
Administrator
acrylian   21-01-2012, 19:58
#27

Ah, ok, thanks for the clarification. Sadly I cannot reproduce it. I added text, a default size image via tinyZenapge and cleared the option for the Zenpage rss feed lenght.
All shows up for me in the feed readers I tested (NetNewsWire 3.3 and Apple Mail on Mac, naturally).

Member
Member
lucian   21-01-2012, 20:43
#28

Ah, well that is quite frustrating..

Does mine show up for you? RSS-NEWS with images

Administrator
Administrator
acrylian   21-01-2012, 21:09
#29

Yes, it does, in all entries in nice default image nice. Did you run your feed through the W3 validator? Maybe that helps. Not all rss readers behave the same sadly (as always…)

Member
Member
lucian   21-01-2012, 21:55
#30

Interesting. Perhaps it is Firefox messing with it. Thanks for letting me know!

Member
Member
lucian   22-01-2012, 05:36
#31

I think what you are seeing as working is actually my "hack" file.. it seems that a lot of the RSS feeds out there are running the outdated version. Google reader has an old version of my RSS, but running the link straight from Firefox or Google Chrome in Windows renders the images not showing.. I know this because the RSS feed does not show my latest entry...

Administrator
Administrator
acrylian   22-01-2012, 10:55
#32

I don't think I saw your "hacked" file as it worked for me out of the box with the standard one. Make sure the rss cache is disabled/cleared and that the reader does not use anything cached itself (all these tools do to lower workload, I am sure).

I never used browsers to display RSS as I found that much more inconvenient to use. But I just tried with Safari and Chrome and there I indeed get the "..." as well. I think this is not a problem with our feed but with the display of the tools itself. The browser apparently clears out html elements likes images for its preview. I fear there is no way around.

Member
Member
lucian   22-01-2012, 16:33
#33

Hey acrylian, just wanted to let you know I figured it out. I had (stupidly) emptied out News article text length as opposed to RSS article text length. Feel quite stupid right now. Sorry for wasting your time!

Administrator
Administrator
acrylian   22-01-2012, 16:59
#34

Never mind, that happens...:-)

Pages (2):    1 2
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.