• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Global RSS/XML Feed

  • Thread starter Thread starter ragtek
  • Start date Start date
Also how can i remove the Global RSS Feed plus image from the footer?

In \Feed\StaticMethods.php remove the following:

if ($name == 'footer_links_legal'){
// TODO create a template;)
$contents .= '<li><a href="' . XenForo_Link::buildPublicLink('feeds') .'" class="tinyIcon feedIcon" title="RSS">
<img src="styles/default/xenforo/widgets/feed-14.png" />Global RSS Feed</a>
</li>';
}

Could you create an option to turn this off ragtek?

Some other suggestions.. can we have an option to set the feed url in the header? For example some users might want to set it to feedburner for flexibility so users won't have to resubscribe if the feed url changes. If it's not set in options, then it can default to the url.com/feeds/ one.

Also, are we permitted to change <description>ragtek</description>?

[FONT] tags aren't being stripped out btw.

Anyhow, great work :).
 
In \Feed\StaticMethods.php remove the following:

Code:
if ($name == 'footer_links_legal'){
// TODO create a template;)
$contents .= '<li><a href="' . XenForo_Link::buildPublicLink('feeds') .'" class="tinyIcon feedIcon" title="RSS">
<img src="styles/default/xenforo/widgets/feed-14.png" />Global RSS Feed</a>
</li>';
}

Ahh that's better cheer's
 
tags aren't being stripped out btw.
Have you checked the options? While testing, everything worked fine..:(

Some other suggestions.. can we have an option to set the feed url in the header? For example some users might want to set it to feedburner for flexibility so users won't have to resubscribe if the feed url changes. If it's not set in options, then it can default to the url.com/feeds/ one.
Sorry, i don't know (don't understand) what you mean
 
Yep, bbcode stripping is off by default. When I turned it on it works on everything except the [font] tags.

Let's say right now this is what's in the header:
<link rel="alternate" type="application/rss+xml" title="global feed" href="http://xenforo.com/community/feeds/" />

Suppose you use feedburner to burn http://xenforo.com/community/feeds/ to produce http://feeds.feedburner.com/xenforo. Instead of wanting your users to subscribe to http://xenforo.com/community/feeds/, you'd want them to subscribe to the feedburner link. That way, if you ever change the URL for the original feed, users won't have to resubscribe.

In essence, you want the header information to be:
<link rel="alternate" type="application/rss+xml" title="global feed" href=" http://feeds.feedburner.com/xenforo" />

Here's what I propose:
In your add-on's options, there should be a place for people to enter a feed url so that if entered, this is what appears in the header:
<link rel="alternate" type="application/rss+xml" title="global feed" href="{feed url from options}" />​

If no feed url is entered, it would default to:
<link rel="alternate" type="application/rss+xml" title="global feed" href="http://xenforo.com/community/feeds/" />​
 
Yep, bbcode stripping is off by default. When I turned it on it works on everything except the [font] tags.

Let's say right now this is what's in the header:
<link rel="alternate" type="application/rss+xml" title="global feed" href="http://xenforo.com/community/feeds/" />

Suppose you use feedburner to burn http://xenforo.com/community/feeds/ to produce http://feeds.feedburner.com/xenforo. Instead of wanting your users to subscribe to http://xenforo.com/community/feeds/, you'd want them to subscribe to the feedburner link. That way, if you ever change the URL for the original feed, users won't have to resubscribe.

In essence, you want the header information to be:
<link rel="alternate" type="application/rss+xml" title="global feed" href=" http://feeds.feedburner.com/xenforo" />

Here's what I propose:
In your add-on's option, there should be a place for people to enter a feed url so that if entered, this is what appears in the header:
<link rel="alternate" type="application/rss+xml" title="global feed" href="{feed url from options}" />​

If no feed url is entered, it would default to:
<link rel="alternate" type="application/rss+xml" title="global feed" href="http://xenforo.com/community/feeds/" />​
Nice idea:)
Added it to our todo list=> http://ragtek.org/xenforo/index.php?threads/alternative-feed-url.11/ :)
 
Yep, bbcode stripping is off by default. When I turned it on it works on everything except the [font] tags.

Let's say right now this is what's in the header:
<link rel="alternate" type="application/rss+xml" title="global feed" href="http://xenforo.com/community/feeds/" />

Suppose you use feedburner to burn http://xenforo.com/community/feeds/ to produce http://feeds.feedburner.com/xenforo. Instead of wanting your users to subscribe to http://xenforo.com/community/feeds/, you'd want them to subscribe to the feedburner link. That way, if you ever change the URL for the original feed, users won't have to resubscribe.

In essence, you want the header information to be:
<link rel="alternate" type="application/rss+xml" title="global feed" href=" http://feeds.feedburner.com/xenforo" />

Here's what I propose:
In your add-on's options, there should be a place for people to enter a feed url so that if entered, this is what appears in the header:
<link rel="alternate" type="application/rss+xml" title="global feed" href="{feed url from options}" />​

If no feed url is entered, it would default to:
<link rel="alternate" type="application/rss+xml" title="global feed" href="http://xenforo.com/community/feeds/" />​

I have implemented this for our next release!
 
Any way to have the feed just include recent topics? It seems new replies bump old topics to the top of the feed.
 
Any way to have the feed just include recent topics? It seems new replies bump old topics to the top of the feed.
yes that's true:(

Yes, there's a way and we have plans for a complete rewrite(because we know now, how things are working in xenforo^^) of the add-on but we don't know how soon this will happen:(
 
What are the features of the new beta? I wouldn't mind testing it.
Changehistory:
1.7
Alternative Feed URL: Now you're able to define a alternative feed url (feedburner,etc...)

Implemented a better permission check

but testing is over.
now it's available for my premium users & donators. in 5-7 days it will also be here available on xf.com
 
If it doesn't change how the feeds aren't arranged by latest thread vs latest post, I wouldn't be interested. Thanks though, hopefully XF will add a site wide.
 
If it doesn't change how the feeds aren't arranged by latest thread vs latest post, I wouldn't be interested. Thanks though, hopefully XF will add a site wide.
So you want to get the threads ordered by THREAD CREATE DATE and not by the last post?

This isn't a problem:)
I've just implemented it into the build! I need to test it and maybe i can finish it already tomorrow.
 
No rush :)

Great add-on, I read through the source code and I think the // TODO items are great suggestions and I am looking forward to future releases.

The bug-fix is easy to do manually, and works.

Maybe /feeds/ is already in use by xenforo, but perhaps it can get a route extented via /feeds/global/ ?
if Kier makes a site-wide feeds feature, then this mod will get uninstalled anyway, default core features ftw

the next release(s) will change this completly!

then you'll have:
feeds/ (redirects to feeds/global.rss)
feeds/global.rss
feeds/global.xml
feeds/global.json

and then for the next releases also planned:
feeds/newusers.rss
feeds/newusers.xml
feeds/newusers.json
feeds/newposts....

but isn't rss & xml the same?:D
 
Version 1.6 is the last free available add-on version.

Version 2.0 was released @ragtek.org
Finally we can present you our next major release:)

Changehistory:
  • Alternative Feed URL
  • Better Permission Check
  • The add-on is using now templates for the output ( => easier for customisation)
  • The Feed URL changed to xenforo/feeds/global.rss
    This is important, because we have some great plans for the future ( http://xenforo.com/community/threads/global-rss-xml-feed.7856/page-4#post-200712 )
  • It's also possible to get the data via JSON => xenforo/feeds/global.json => This is a nice feature, if you want to grab the latest threads from an 3rd party application
ATTENTION
this add-on requires now our add-on framework ( available here)

Price: Free for our premium members & donators (so get your account upgrade now;) )

Non of my add-ons got in the last months even a 1$ donation, and because i need a car, i have to make this:P And i can't support my add-ons without the car..
badteeth.gif
(don't take the last part to serious..)
 
Top Bottom