vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   RSS Feed Manager: Are the channel variables available? (https://vborg.vbsupport.ru/showthread.php?t=159659)

KW802 10-07-2007 02:34 AM

RSS Feed Manager: Are the channel variables available?
 
When importing a feed in the RSS Feed Manager, are the feed channel values available to be used?

For example, when looking at the RSS feed at vB.com (http://www.vbulletin.com/forum/external.php?type=rss2) the channel has a feed image defined.
Code:

        <title>vBulletin Community Forum</title>
        <link>http://www.vbulletin.com/forum</link>
        <description>This is a discussion forum powered by vBulletin. To find out about vBulletin, go to http://www.vbulletin.com/ .</description>
        <language>en</language>
        <lastBuildDate>Sun, 07 Oct 2007 03:12:39 GMT</lastBuildDate>
        <generator>vBulletin</generator>
        <ttl>5</ttl>
        <image>
            <url>http://www.vbulletin.com/forum/images/misc/rss.jpg</url>
            <title>vBulletin Community Forum</title>
            <link>http://www.vbulletin.com/forum</link>
        </image>

How do I get to the <image> values and other values that are associated to the feed and not the individual item?

KW802 10-13-2007 02:12 AM

Thoughts, anybody? :o

class101 10-25-2007 05:14 PM

I was looking for some threads about rss feeds customisation also but can't find something interesting yet :( hope they will enhance the feed system because there is lots of missing options

TheMilkCarton 10-26-2007 11:33 AM

I just went about doing some file edits to external.php.. I'm still sorting out that awful vBulletin image, though.

For whatever reason, it's only Firefox that gives it to me. Other RSS viewers just put the link to the forums around the title of the forum, for instance "vBulletin.org Forum - Title of Subforum".

What really stunned me was that for whatever reason, that specific link only ever goes to "www.domain.com/forums"??? I just modified it so that if the feed is from only ONE $forumid, that link goes directly to the forum.

I also modified it so that some of my feeds (content-based ones) would no longer have "Forums" in the feed name, just "Domain.com - News". The easier way would have been changing the forum title, but I didn't want to take "Forums" out of everything.

Anyway, I was actually just doing all that now, if I figure it out, I'll post back here. I'm not any good with plugins, but from the hook locations I'd say I don't think this would be file-edit free, though.

--------------- Added [DATE]1193404153[/DATE] at [TIME]1193404153[/TIME] ---------------

Oh... I re-read your OP..

So you're asking about the Feed Manager, and not the External Data Provider? Oops. :( haha. The code got me confused.. *sigh*

Yeah, I'm not too sure about that... The info about using {rss:link} or {rss:description} doesn't seem to say anything about a node inside another node.


All times are GMT. The time now is 10:31 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01117 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete