[TYPO3-english] T3BLOG RSS Feed and RealURL

2011-02-17 Thread Josef Florian Glatz

Hi,

With the rss-widget it is possible to link to posts 0.91, comments 0.91, 
posts 2.0 & comments 2.0.


How does realUrl know, which rss-feed is requested. And how can I change 
the title of the rss-feed for comments?


Any suggestions or tipps how I can realize?

Thanks in forward,
Josef Florian Glatz
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] T3BLOG RSS Feed and RealURL

2011-02-17 Thread 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.

--
Dmitry Dulepov
TYPO3 core&security team member
E-mail: dmitry.dule...@typo3.org
Web: http://dmitry-dulepov.com/
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] T3BLOG RSS Feed and RealURL

2011-02-17 Thread 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


Re: [TYPO3-english] T3BLOG RSS Feed and RealURL

2011-02-17 Thread 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


Re: [TYPO3-english] T3BLOG RSS Feed and RealURL

2011-02-17 Thread Josef Florian Glatz

Thank you Lorenz,

my Blog-entries are on an subpage of my rootpage. e.g. 
typo3blog.at/blog/atom.xml is it possible to configure realurl in the 
way that I can use for example typo3blog.at/atom.xml


thx in advance,
Josef Florian Glatz

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


Re: [TYPO3-english] T3BLOG RSS Feed and RealURL

2011-02-17 Thread Josef Florian Glatz

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


Re: [TYPO3-english] T3BLOG RSS Feed and RealURL

2011-02-17 Thread Lorenz Ulrich

Hi

> my Blog-entries are on an subpage of my rootpage. e.g.
> typo3blog.at/blog/atom.xml is it possible to configure realurl in the
> way that I can use for example typo3blog.at/atom.xml

Don't know of any possibility to do that. But that doesn't mean that 
there isn't any.


Lorenz

Am 17.02.2011 14:52, schrieb Josef Florian Glatz:

Thank you Lorenz,





thx in advance,
Josef Florian Glatz

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


Re: [TYPO3-english] T3BLOG RSS Feed and RealURL

2011-02-17 Thread Lorenz Ulrich

Hi

> 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?

I also experienced that issue but instead of solving it I dropped the 
RSS for comments. Did you ever subscribe to a RSS comments feed?


Maybe it is a bug. Try to track it down in the source.


Lorenz


Am 17.02.2011 15:14, schrieb Josef Florian Glatz:
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] T3BLOG RSS Feed and RealURL

2011-02-17 Thread Josef Florian Glatz

No - I think RSS for posts are enough.

thanks
JFG

Am 17.02.2011 15:22, schrieb Lorenz Ulrich:

Hi

 > 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?

I also experienced that issue but instead of solving it I dropped the
RSS for comments. Did you ever subscribe to a RSS comments feed?

Maybe it is a bug. Try to track it down in the source.


Lorenz


Am 17.02.2011 15:14, schrieb Josef Florian Glatz:


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


Re: [TYPO3-english] T3BLOG RSS Feed and RealURL

2011-02-17 Thread Bjoern Pedersen
Am 17.02.2011 15:19, schrieb Lorenz Ulrich:
> Hi
> 
>> my Blog-entries are on an subpage of my rootpage. e.g.
>> typo3blog.at/blog/atom.xml is it possible to configure realurl in the
>> way that I can use for example typo3blog.at/atom.xml
> 
> Don't know of any possibility to do that. But that doesn't mean that
> there isn't any.
> 
> Lorenz
> 
> Am 17.02.2011 14:52, schrieb Josef Florian Glatz:
>> Thank you Lorenz,
>>

If you have the setupo for the feeds in your root template and
configured everything correctly (e.g. starting point of the feeds set
up), then you should be able to access the feeds from every page.

Björn
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] T3BLOG RSS Feed and RealURL

2011-02-17 Thread Josef Florian Glatz

Thank you for your help! It works!

plugin.tx_t3blog_pi1 {
  blogPid = 2
}




Am 17.02.2011 16:24, schrieb Bjoern Pedersen:

Am 17.02.2011 15:19, schrieb Lorenz Ulrich:

Hi


my Blog-entries are on an subpage of my rootpage. e.g.
typo3blog.at/blog/atom.xml is it possible to configure realurl in the
way that I can use for example typo3blog.at/atom.xml


Don't know of any possibility to do that. But that doesn't mean that
there isn't any.

Lorenz

Am 17.02.2011 14:52, schrieb Josef Florian Glatz:

Thank you Lorenz,



If you have the setupo for the feeds in your root template and
configured everything correctly (e.g. starting point of the feeds set
up), then you should be able to access the feeds from every page.

Björn


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