There are problems to get both feeds as:

http://typo3blog.dev/blog/?type=100 (post-feed)
http://typo3blog.dev/blog/?type=101 (should be comments-feed but is post-feed)
ist there an chance to define die comments-feed through TS?

This is my config for rss:

//-----------------------------------------
// RSS for Posts

plugin.tx_t3blog_pi1 {
  rss {
    generator=TYPO3 get.content.right
    feedTitle= TYPO3Blog.at Blogfeed
    feedCopyright= typo3blog.at
    feedManagingEditor= t...@typo3blog.at
    feedWebMaster= t...@typo3blog.at
    feedLink= typo3blog.at
    postItemCount=10
    feedLanguage = de-AT
    feedImage >
    feedItemDescLength = 50
    feedItemDescLength091 = 200
    feedItemDescLength20 = 200
    feedStrftime = %a, %d %b %Y %H:%M:%S +0200
    feedTimeLocale = de_DE.utf8
    postItemOrderBy = crdate DESC

  }
}

xmlposts = PAGE
xmlposts {
  typeNum = 100
  config {
    disableAllHeaderCode = 1
    additioalHeaders = Content-type:text/xml
    linkVars = L
    no_cache = 1
         xhtml_cleaning = 0
         admPanel = 0
  }
  10 = USER
  10 {
    # Call the user function
    userFunc = tx_t3blog_pi1->main
    widget.rss < plugin.tx_t3blog_pi1.rss
    template = TEXT
    template.field = rss
  }
}

xmlcomments = PAGE
xmlcomments < xmlposts
xmlcomments {
  typeNum = 101
  10.widget.rss.feedTitle = TYPO3Blog.at Kommentar-Feed
}


This is config is for define different Feedtitles (Posts, Comments)


Any suggestions how I can realize that?

thanks in advance,
Josef Florian Glatz



PS: I'm working on my offline integrationserver...





Am 17.02.2011 14:14, schrieb Lorenz Ulrich:
Hi Josef Florian

Use the filenames part in your RealURL config:

// configure filenames for different pagetypes
'fileName' => array(
'index' => array(
'rss.xml' => array(
'keyValues' => array(
'type' => 100,
),
),
'rss091.xml' => array(
'keyValues' => array(
'type' => 101,
),
),
'atom.xml' => array(
'keyValues' => array(
'type' => 103,
),
),
),
),


rss.xml will match to page type 100 etc.

Best regards,


Lorenz


Am 17.02.2011 13:07, schrieb Josef Florian Glatz:

Ah...

define 1 ts-setup for every rss-type and use unique typeNum?

e.g.: realurl: comments.xml -> typeNum=101

Did I understand you correct?

thanks
Josef Florian Glatz


Am 17.02.2011 12:15, schrieb Dmitry Dulepov:
Hi!

Josef Florian Glatz wrote:
How does realUrl know, which rss-feed is requested.

Type of the feed corresponds to typeNum GET parameter.




_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to