![]() |
RSS Output Mod & Icon
The code modifications make a simple change to external.php to explode a list of child forums in addition to some quick template changes to provide a common button for users to click to see the RSS feed.
1) at the Forum Home level, the xml link when clicked, produces an RSS feed for all threads in all forums. No changes made to external.php for this to work. 2) at the Sub-Forum level, the xml link when clicked, produces an RSS feed for all threads in the listed sub-forums. external.php is changed to explode the list of child forums. 3) at the Forum level, the xml link when clicked, produces an RSS feed only to threads in the that forum. No changes made to external.php for this to work. Im using this on an internal forum and have not had any problems. But your mileage may vary. Let me know what you think and if it works for you or not. I've uploaded the rss.gif file that I'm using. -paul [7 June 2004 - re uploaded - small doc changes - no code changes] [8 June 2004 - re uploaded - Natch's code changes, two options now available] |
Excellent :)
*Clicks install* Thanx ;) |
so confused, how about a screenshot lol?
|
Cool, do you have the images too?
Or do I have them already in my working dirs? If not, do you have any nice ones? Anyway, I'm going to install it now, it seems like what I was looking for... I'll report back Many thanks, MH **** Self edit - images now added. Kindly disregard this post. |
Welahhh
1. Looks like a table on my homepage index got thrown off slightly. The other forum pages (forumdisplay) look ok though. 2. So when I click the rss image I used, I get XML Parsing Error: syntax error XML Parsing Error: syntax error Location: http://forum.free-templates.com/external.php?type=RSS2 Line Number 1, Column 31:<?xml version="1.0" encoding=""?> ------------------------------^ For what it's worth, thats the first time XML Parsing Error: syntax error was typed here! Beam me up Scotty! Any suggestions? Thanks man, MH |
I'm no expert but I think a colspan needs to be fixed on the forum home. If you know where it goes, that'd be great.
still trying to find out why I get the parsing error. |
I'm getting close.
And only continuing to post here because I know this will be a hot one as the years fly by. If it happened to me, maybe I can help the ones after me.. So, I think I need to roll some dice and pick a charset. This is what I came up with after a very quick search: I like international standards. But it's not up to me. Is there a best choice out of this list for what I'm doing here? I'm really no expert, I keep telling people. <?xml version="1.0" encoding="windows-1252"?> <?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-16"?> I'll be back! |
Here's whats going on over there:
http://www.vbulletin.com/forum/showthread.php?t=106696 |
Fixed it.
I went into my admin and simply pasted ISO-8859-1 in my HTML Character Set This is the value of the 'charset' attribute for the HTML content type setting in the 'headinclude' template.<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> For some reason, this was missing in my board. A developer at vbulletin.com said this has happened a few times now. My installed hacks include the arcade hack and the new user welcome PM. Maybe something along the lines fudged it up. So for anyone considering this hack, its a great hack and no worries. Hope it goes smoothly for you. Many thanks |
I get back to the office this morning and all this activity took place :)
@ Vivi Ornitier Screen shot uploaded @ MediaHound I figured, there were a ton of RSS icons available all over the net. Some have rounded corners, some are square, and not everyone might like the one I picked. Here are some resources for free XML icons: http://www.graphicpush.com/archives/000035.shtml http://www.antipixel.com/blog/archiv...e_buttons.html As for the XML error, I'm glad you found the fix, I had the same error and forgot to mention it in the install docs. I figured it was one of those things that I should have read the manual on :) I'll add this to the install docs: Add this to in the admincp if you get XML encoding errors: Language Manager -> Edit -> HTML Character Set -> ISO-8859-1 |
We're in it together.
So the XML error is taken care of on my site. Good for that. But my forumhome is still a bit skewed. Adding a new column above the forums, where the xml icon goes, altered the columns of the page. Take a look at http://forum.free-templates.com and see what I mean. If you know the fix would be great to post it here as others will need it too. If you cant see it, post here and let me know I'll provide a screenshot with an arrow pointing at it. Many thanks, Jarred |
I actually decided to alter this for my own benefit ...
Look for: Code:
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td> Code:
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum] Example - http://www.mobileforces.org/forums/ |
Thanks for the corrections! I'll update and upload the changes in a little bit, but here is what I've ended up going with.
|
Fluent, could you give those of us that installed it already a step by step to fix the problem?
|
Ahh its fine now.
All I did was remove the new td, and moved the existing closing td tag to after the image, and its fine. Added natches style="float:right" to the image and it looks great. I'm really no expert. Anyway, thanks for everything. |
Good hack. I will install this soon.
|
Quote:
I also uploaded the rss icon I'm using and a gif screenshot. |
Everything works great now.
Just have to spend some time getting it submitted now. Maybe some of you guys could get some use out of this: I did some research, and I've got a list of RSS sites you can submit your feeds to at: http://forum.free-templates.com/showthread.php?t=285 This way your site might get picked up by a good source of traffic. If you know others please add them. Here's to RSS! Many thanks for the hack, MH |
Quote:
|
Quote:
:up: |
Hmm, whats the hell...
Nice Hack but it doesn?t work... I upgrade to my own root server from vbb 2.2.9 to 3.01 install this hack and have a blank site if i open http://www.hardtalkforum.de/external.php?type=RSS2 i can not understand it, no errors nothing... whats wrong? |
Quote:
|
Yes forget it to allow it on admincp :)
|
I like the hack, but i think it´s better if the feed also show new replys about topics and not only a new thread...also i don´t know hob can i ping blogg.de (german blog directory) on every new thread...
|
What if i need the body of the post in the RSS as well ?
|
Bump !
Quote:
|
Yes I too would like to know.
Does anyone know of a way to edit this mod to allow the full body of each post to be included in the RSS feed as well? This way with each new post on a forum it wont just feed the thread title or post title, but each new body as well...If anyone could point me in the right direction I would greatly appreciate it! THX! |
Quote:
How to fix it? Thank's.... |
Forget my post above, problem solved!
I have to enable External Data Provider first in vBulletin Options Nice hack, thank's.... |
Quote:
Did you install this hack? It does add body content to the feed; it changes the default output. |
Instead of having the feed icon displayed on the forums, how could i get it like this
http://www.sitepoint.com/syndication/ Any help would be great |
Very nice job!!! *clicks install
|
Hey, cool hack....
Everything installed fine and properly working.... My only request is to add instructions at the bottom of rss_mod.txt file is: Quote:
|
FANTASTIC!
/me clicks install! /me states that he has got it installed and working easy peasy! /me is happy! |
Ok I had another question for you all. A while back we were working on getting our feed to spit out the full post, with all of the html intact, where we changed this in the external.php file:
PHP Code:
PHP Code:
My big thing is that it seems as though the feed is only pumping out the first posts of each thread, anytime a thread is replied to it does not show up in the feed...any one have any ideas how I can remedy this situation? Any help would be greatly appreciated...Thank you! |
Quote:
https://vborg.vbsupport.ru/showthread.php?t=68815 It lets you choose if you want the feeds to parse bbcodes or not and have support for smilies. For your second question, open external.php and find: PHP Code:
PHP Code:
|
I just tweaked the XML image display placement to align to the right of the Forum/Thread title. Looks much cleaner.
FORUMHOME Code:
<!-- ORGINAL CODE <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td> --> Code:
<!-- ORIGINAL CODE <td class="tcat" width="100%">$vbphrase[threads_in_forum]<span class="normal">: $foruminfo[title]</span></td> --> See it in action here Hope this helps. Enjoy! |
Is there a way to have the xml icon show on each category on the main forum page? Since my subforms do not need to be expanded to see the sub-boards (All boards are visable on main index page) It'd be ideal to have the icon next to each sub-forum listed.
|
Anyone?
|
Having a problme with the hack; I have put rss on my site, and I want to use myyahoo's button: http://my.yahoo.com/s/button.html
The weird thing is when I type in the url to rss for my site, which works if you click it, it does not work for yahoo. The link is: http://www.volconvo.com/forums/external.php?type=RSS2 Got any ideas? |
All times are GMT. The time now is 04:47 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|