The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Working on a full RSS feed ... formatting?
Hello,
We are working to get external.php to spit out a feed that has full messages in it. We've managed to get it to include the whole message by replacing the thread preview part with thread. Right now we're getting the formatting stripped out. I am sure it's in this line, but I am at a loss as to what to change now. Quote:
|
#2
|
||||
|
||||
PHP Code:
|
#3
|
|||
|
|||
Quote:
We gave that a shot, but it's the opposite of what we were going for. That includes the BBCODEs, but none of the original formatting. For instance it looks like this: PHP Code:
Thanks for any and all help you can provide. |
#4
|
||||
|
||||
So you actually want to have parsed HTML?
Then use this: PHP Code:
|
#5
|
|||
|
|||
Quote:
What we want is the HTML straight out. For instance using the code above gives us: PHP Code:
PHP Code:
Does that make sense? Thanks again for your help! |
#6
|
||||
|
||||
Maybe you should clearly state what you actually want ... makes it easier to give an answer
So you want HTML but not encoded? Then use this: PHP Code:
Use this: PHP Code:
PHP Code:
|
#7
|
|||
|
|||
ok nevermind I figured it out! Thanks for the help!
I noticed that the htmlspecialchars_uni function was somewhat un-doing what parse_bbcode2 was doing, so I removed it which gives me: PHP Code:
|
#8
|
|||
|
|||
Quote:
haha yes the first one, I had figured it out...thanks for all of your help!! |
#9
|
||||
|
||||
@pgrote:
have you in mind to share the code and publish it here? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|