Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dwayne A 97 posts 117 karma points
    Mar 20, 2012 @ 19:34
    Dwayne A
    0

    Won't open page in browser

    Hey Ove. Seems to be a cool package, just have some issues getting it running. I get prompted with a popup trying to find an app to open the file: "Opening RssFeed which is a application/rss+xml (526 bytes). What should Firefox do with this file?"

    It seems no matter what I alter the same occurs. My content propertyName for each news article is called nyhedstekst. This is created on a docType with alias FOA_NewsItem. The RSSFeed template is in the root of the folder and my content is structured as follows:

    Home (root node)
              - Nyheder
                        
                        - 2012
                                -news item (page)
                        -  2011
                                - news (page)
    ... and so forth

    Heres th URL that lists a tease of all news items: http://fo-aarhus.dk/nyheder/

    Hope you can give me some support.

    Below is my macro from the template RssFeed

    <%@ Master Language="C#" MasterPageFile="/umbraco/masterpages/default.master" AutoEventWireup="true" %>
      <asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">
        <umbraco:Macro Alias="[EyeCatch]RSSFeed" title="Nyheder RSS: FO-Aarhus" documentTypeAlias="FOA_NewsContainer" depth="3" propertyName="nyhedstekst" runat="server"></umbraco:Macro>
        <% Response.ContentType = "application/rss+xml"; %>
      </asp:Content>
  • Dwayne A 97 posts 117 karma points
    Mar 20, 2012 @ 20:26
    Dwayne A
    0

    Got it running. I reinstalled and it ran immediately. I had not toyed with the xslt or macro, only the template. May be due to creating line breaks in the template?

    So now I am getting feeds. Unfortunately, only after year., As displayed in previous site structure, news items are dealt into subcategories. I've fetched all news items well enough on the site with XSLT, but is it possible to fetch all new items to the feed when items are under different nodes (2012, 2011, 2010)? Currently I must enter a year - http://fo-aarhus.dk/nyheder/2011/RssFeed. Any ideas?

  • Ove Andersen 435 posts 1541 karma points c-trib
    Mar 21, 2012 @ 09:04
    Ove Andersen
    0

    Yes.

    Just specify the "depth" parameter. Should be enough to set that number to 2 if I understand your structure correctly.

  • Dwayne A 97 posts 117 karma points
    Mar 23, 2012 @ 19:26
    Dwayne A
    0

    Hi Ove,

    Thanks for you responses. I am still not generating any the feeds unless I link to the a date folder - then I naturally only get feeds from that folder alone. Despite changing the depth parameter, I cannot fetch all feeds from all date folders at once. My structure is such, that date folders have no dataTypes or documentTypeAlias. The news items (children) inside these folders do. This is where the data lies. Is that an issue, or is it still possible to use depth to fetch the aliasdataType and dataType of these children?

  • Dwayne A 97 posts 117 karma points
    Apr 18, 2012 @ 17:17
    Dwayne A
    0

    Solved the latest issue with depth and presentation of content in date folders. Have posted the solution under "Children i deeper levels not showing" here: http://our.umbraco.org/projects/website-utilities/eyecatch-rss-feed-generator/feedback/28301-Children-i-deeper-levels-not-showing?p=0#comment114610

Please Sign in or register to post replies

Write your reply to:

Draft