vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Require RSS feed posts to be certain length before posting them to forum (https://vborg.vbsupport.ru/showthread.php?t=197952)

Chunky Monkey 12-04-2008 12:48 AM

Require RSS feed posts to be certain length before posting them to forum
 
Is there a way we can require that items grabbed from rss feeds and posted in forums are longer than, say, a single sentence? I would like to add an rss feed to my site to automatically get some things for members to talk about on it, but not when feeds send a single sentence with a link to lead members elsewhere. Any ideas how vBulletin's rss feed reader/poster can be modified so that it only posts feed posts greater than a certain length?

Thanks

UKBusinessLive 12-04-2008 05:01 AM

No Good, Rss Feeds are a lenght determined by who ever wrote the feed, The idea is that they get you to read a little then you need to go back to their site to read the rest.

Chunky Monkey 12-04-2008 09:08 AM

I know we have no control over the length of the feed provided, but I'm asking if there is a way to modify the code so that it only creates threads when whatever the feeds provide are of a certain length. I would like it so that new posts are not made when a feed sends only the equivalent of a headline advertisement, but posts are made when a feed sends something closer to an article.

Any ideas?


All times are GMT. The time now is 09:17 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.00894 seconds
  • Memory Usage 1,706KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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