vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Modifying RSS Feed Output (https://vborg.vbsupport.ru/showthread.php?t=222949)

Dunhamzzz 09-11-2009 12:13 PM

Modifying RSS Feed Output
 
I've asked in a previous thread, but after 4 bumps from different members, never got an answer.

I basically need to strip out BB code from my RSS Feeds, aswell as edit the length of the content output.

Does anyone know where this is all processed? What hooks I should look into and create plugins for?

It litereally seems like no one has an answer for this.

Dunhamzzz 09-28-2009 02:41 PM

Bumping for reply.

This is getting beyond a joke.

Lynne 09-28-2009 03:43 PM

edit the length of the content *you* are outputting from your site? That plugin has been posted before (in fact, I posted it a couple times recently):
location - external_query:
PHP Code:

unset($vbulletin->GPC['fulldesc']);
$vbulletin->options['threadpreview'] = 200;
$hook_query_fields .= ",LEFT(post.pagetext,400) AS message"

Play with the numbers unti you get what you want. It won't be immediate because of the caching, so depending on what you set, you'll have to wait a bit to see results from that.

I've never looked into striping out the bbcode. What I'd do is find another part of the site where this is done and steal the code and create a plugin to add the function to the external.php page.


Also, this site is a volunteer run site. We don't have the answers for everything so you may not get an answer to your question.

Clayton 11-25-2009 09:08 AM

Thanks for this Lynne


All times are GMT. The time now is 03:02 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.01125 seconds
  • Memory Usage 1,715KB
  • 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_php_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