RSS feeds: minor issues (zp 1.3)

I have noticed two glitches while testing the RSS feeds for my gallery (zp 1.3):

- Image submisions that use class-textobject v1.3.0 plugin have a thumbnail in the Gallery rss feed but are missing the thumbnail in the News and Gallery feed.

- I have the multilingual option enabled and when I check any translated RSS feed they display ok in the firefox rss bookmarks and in Brief (firefox rss reader plugin). When I subscribe to a feed using Google Reader or the my.yahoo page they fail to print the right translation, printing instead the default language (in my case, my native language), altough I'm using exactly the same url (http://www.adrianmoisa.ro/rss-news.php?withimages&lang=en_US) .

Thanks!

Comments

  • acrylian Administrator, Developer
    I will take a look at the first issue. Might be an oversite.

    Regarding hte 2nd I have no idea right now what Yahoo or Google are doing here. I don't use both (I actually use a normal program - NetNewsWire on Mac- to view feeds.). It is plain standard php stuff that should be exectuted on calling them. MAybe they just ignore the &lang stuff for whatever reason. If you like to help find out about this it would be a great help if you could look into the docs of those if there are any clues regarding this.
  • Thanks for input acrylian. I'll take a look and see if I can find an answer.
  • acrylian Administrator, Developer
    Issue 1 should be fixed in tonight's nightly. It should be possible to update just the feed on 1.3 although I did not try.
  • For which file I'll be looking for ? Is it root/rss.php ?
  • acrylian Administrator, Developer
    rss-news.php provides the news and gallery combined feed
  • Problem fixed. Regards!
  • Well it looks that Feedburner has the same problem as My Yahoo and Google Reader. However I can say for sure that it ain't their fault. Today after I wrote a few news I noticed that one string gets translated after all. It's the news category string that gets translated in all three services. I think that's proof that the lang variable is used afterall. That's all I can say for sure at the moment.

    Hope this gives you a lead to follow.
  • Yet another observation:

    When I check one by one all these links

    http://www.adrianmoisa.ro/rss-news.php?withimages
    http://www.adrianmoisa.ro/rss-news.php?withimages&lang=en_US
    http://www.adrianmoisa.ro/rss-news.php?withimages&lang=ro_RO

    I see that the news category string is the only one which ignores the dynamic_locale cokie and brings the translation as requested by url.

    I'm curently using the rss-news.php file from 15-Jun-2010 nihtly build in order to fix the first problem with the class-textobject v1.3.0 plugin.
  • acrylian Administrator, Developer
    I can reproduce the behaviour in my standalone rss reader. I have no idea right now but of course I will take a look.

    Btw, nice site and usage of Zenphoto.
  • acrylian Administrator, Developer
    Please try tonight's nightly (or the current svn).
  • Glad you like it :D

    I have replaced rss-news.php with the one from the 21-Jun-2010 nightly build. I get a series of dates and empty paranteses. Should I wait for today's nightly build (22)?

    Adrianmoisa.ro - Custom airbrush art, unique paintjobs - News

    ()
    Thursday, June 17, 2010 10:57 PM
    ()
    Monday, June 14, 2010 8:37 PM
    ()
    Wednesday, June 09, 2010 11:37 PM
  • acrylian Administrator, Developer
    You should upgrade to the nightly build, not just copy a single file (unless you have been told by us). There has been some other work internally than just that file.
  • Ok, I'll do so but is it ok to go with the current nightly build? Are there any serious isues or will it be better to wait for a stable release?

    Is it possible to replace only zp-core folder and root files in order to avoid a total reinstall of the site? My galerry version is zp 1.3.

    Thanks for help!
  • We have done no testing of partial updates to the 1.3 release excpept for some specific cases. Since this seems to have caused you problem just updating the RSS scripts I would presume that there are dependencies in those files on other changes made since 1.3 was released.

    Of course there is some risk with going with the development stream as it is not as well tested as the release. Still, both acrylian and I am running it. I suspect that there are a few other users doing so as well.

    It is your call. Your choices are:
    • Live with the initial problem
    • Update to the current nightly build. Note that you should test this before going live to be sure that it is a better solution than the one above
    • Examine the changes to the RSS files and determine which changes you need and which you do not. Apply those changes to the 1.3 release. Note that there may still be dependencies on the development stream in the changes you need. You should test this before going live.
  • I'll take a look at the later 2 options. If I don't find any major flaws on the guest's side I gues I'll stick with the nightly build.

    Thanks for input! I'll keep you updated with my progress.
  • acrylian Administrator, Developer
    As I mentioned the rss-news feed has dependencies regarding changes in Zenpage for sure. The internals have been reworked a little.

    You also don't need to reinstall everything like your albums which is explained on our installation/upgrade page.
  • I've updated the gallery to the 24-06-2010 nightly build. The RSS feeds are now translated but I can point out two problems:

    - Text is missing for the news entries with pictures :D

    - Images seem to be ofset by one row. Meaning that the first entri has the default alt description and the next one has the image from the previous entry. Class-textobject v1.3.0 entries seem to work just fine.

    Everything else seems :D
  • acrylian Administrator, Developer
    Text is missing for the news entries with pictures :D
    What text is missing? I see a description for gallery items as well as content for the articles itself.

    Images seem to be ofset by one row. Meaning that the first entri has the default alt description and the next one has the image from the previous entry.
    I don't understand, I don't see anything unusal in my feed.

    You did clear the rss cache, didn't you?
  • At the moment I'm not using RSS cache because traffic on my site is still low. Take a look and see what happens...

    http://www.adrianmoisa.ro/rss-news.php?withimages&lang=en_US

    Thanks!

    EDIT:

    I'm gonna put a temp news without picture to see what happens.
  • Well, first one I have figured it out, the sample text is really small and thus it takes only the image tag for preview in the rss feed.

    But I can't find a solution for the second issue. Surely there is a problem here. The pictures have the URL link to "pic_02.jpg" but the image description tells that "picture_01.jpg" is displayed. I guess it's a small error in the script.

    Oh BTW, it would be nice to be able to setup the RSS text sample lenght in the admin or to have a longer text by default.
  • acrylian Administrator, Developer
    So the first issue was for articles that have also image within the content. It is probably because our truncate function tries not to destroy html tags for validation reasons so if you have only a few text and the image would be "cut" it can clear all

    The second issue I probably still don't understand. All looks fine to me (except that one image thumb for one crayon studies picture is not generated). If I hover an image it displays the correct text.

    (btw, nice mod of the Zenpage theme. Don't forget to submit to the showcase later)
  • Sry, I should have posted a new reply, I had edited previous one with this mention:

    The pictures have the URL link to "pic_02.jpg" but the image description tells that "picture_01.jpg" is displayed. I guess it's a small error in the script.
  • acrylian Administrator, Developer
    Do you have an direct example. I don't spot that..
  • Here's a sample from where the problem begins:

    Item 1 seems to be just fine but at a closer look it can be seen that it points out for the preview image to:

    src="http://www.adrianmoisa.ro/zp-core/i.php?a=videouri-aerografie&i=bmw-tunat-aerografiat.txt&s=480"

    That's why the image is missing.

    `

    Crayon studies (Schetches and drawings)
    <![CDATA[http://www.adrianmoisa.ro/schite-si-desene/studii-creion-001.jpg.php]]&gt;

    <![CDATA[<a title="Crayon studies in Schetches and drawings" href="http://www.adrianmoisa.ro/schite-si-desene/studii-creion-001.jpg.php">Crayon studies
    ]]>
    Schetches and drawings
    <![CDATA[http://www.adrianmoisa.ro/schite-si-desene/studii-creion-001.jpg.php]]&gt;
    Wed, 09 Jun 2010 23:37:09 +0300


    `
    Item two and the following ones present the same problem except that this time the link syntax is corect, not so the adress:

    src="http://www.adrianmoisa.ro/zp-core/i.php?a=schite-si-desene&i=studii-creion-001.jpg&s=480"

    `

    Crayon studies (Schetches and drawings)
    <![CDATA[http://www.adrianmoisa.ro/schite-si-desene/studii-creion-002.jpg.php]]&gt;

    <![CDATA[<a title="Crayon studies in Schetches and drawings" href="http://www.adrianmoisa.ro/schite-si-desene/studii-creion-002.jpg.php">Crayon studies
    ]]>
    Schetches and drawings
    <![CDATA[http://www.adrianmoisa.ro/schite-si-desene/studii-creion-002.jpg.php]]&gt;
    Wed, 09 Jun 2010 23:37:09 +0300


    `
    Hope this will help you to spot the faulty code.
  • acrylian Administrator, Developer
    I see it in your feed but I can't reproduce it with mine. Please try a database refresh, maybe you have some outdated entries (overview admin page).

    At least for the rss-news.php feed you can set the text lenght on the Zenpage plugin options.
  • My databases are no older than june 2010. I was still in the early stages when I updated to 1.3.0 and uploaded all my images again just to be sure.

    Are you opening the localhost/rss-news.php?withimages feed?

    I have made a clean install on my local server and added a few images to have something to work with. I tried a few scenarious and it seems that all feeds but the /rss-news.php?withimages feed, lang or no lang, are ok. I have exactly the same problem as on server.
  • acrylian Administrator, Developer
    Sometime Zenphoto does not know about image or change if they have not been requested (Zenphoto does not look automatically if you upload via ftp for example).

    I am using the same rss feed and it seems all fine for me. What "bug" I encountered is that images with the same name and different suffixes seem not to work in the feed but I guess that is something different... But maybe it is related as the failure happens in the image processing link as on your issue...

    Update: I think I might have found it! An oversite as so often, called a variable before it was actually setup so the one from the previous. Damm, what a stupid mistake... Thanks for insisting about this issue. A fix for rss-news.php is in the svn now, you can this time just get that one file.
  • Works like a charm! :D Wish I could buy you a drink... Thanks very much for your help!

    Oh and not to forget, I am happy to know that you like my template. I posponed my site's submission cause I wanted to be sure that all glitches are fixed. Today I can say that my site is either 99.9% or 100% finished for release.

    I'll go and post it right away in the showcase topic.
Sign In or Register to comment.