![]() |
Additional external.php feed format
Those of you who integrate your feed in a PHP page will appreciate the simplicity of working with this :).
Once installed you can just include your therads on your site's pages (example) via simply reading contents of external.php?type=php (be it via fopen, etc), and then processing the results through an unserialize() call. |
Are you saying we can use php instead of JS, XML, etc..? Very cool if you are :)
|
im not sure but couldnt this lead to some security risks? such as grabbing important varibles?
|
Not really important variables, and even the ones they can grab are pretty pointless to them, unless there is a security risk elsewhere in vB3 that is related to variables whose names they can figure out due to this ($threadcache).
Not much of a concern if you ask me. |
Quote:
Would it be easier to just open a file, unserailize its contents, and use the array (around 3 lines of code); or, open a file, create your own array parsing xml data (30+ lines)? You decide for yourself, personally I find the previous option a lot easier. |
Could you possibly explain this a litte more please. :)
I would really like to be able to do this, but am not sure of the exact processes and what exactly I would have to do to get certain threads showing on my home page with this... Could you possibly give an example of the code that would be needed to grab and display the thread please. I'm learning fast, but still need guidance now and then. ;) |
sure, using this getitng yoru threads can be as simple as:
PHP Code:
|
Sorry, what does this add-on do exactly? Can I specify a thread ID and allow it to export all content to XML?
|
Quote:
I'll give it a go and see how the results turn out. :) Thanks. :) |
what is the difference between the RSS hack and this?
|
All times are GMT. The time now is 01:46 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:
|