vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Importing RSS feeds to site (https://vborg.vbsupport.ru/showthread.php?t=292043)

AlpineZone 11-28-2012 12:20 PM

Importing RSS feeds to site
 
Hey guys,

I run a skiing forum and community. I have a content side of the site (news articles, gear reviews, etc.) that is all based on Wordpress; and then my forum is VB4.

Here is what I want to do. I publish news articles on Wordpress. However, many of the forum members never see these news articles becaues they don't visit "that side" of the site.

I want to create a new forum called "news articles" and essentially just feed in the news articles to vbulletin from my wordpress RSS feed.

HOWEVER, I don't want the full article to display, (I think Google will ding you for duplicate content) - just the title and the first two or three sentences with a link - so that users can see and comment (or not).

Alternatively an RSS widget would be OK too but I don't want a sidebar, I would need something horizontal or similar.

kh99 11-28-2012 12:38 PM

You can set up to post an RSS feed to a forum. Go to RSS Feeds > Add New RSS Feed. It's limited to posting each item in the feed as either a separate thread or an announcement, but otherwise it sounds like what you want.

AlpineZone 11-28-2012 12:53 PM

Quote:

Originally Posted by kh99 (Post 2386087)
You can set up to post an RSS feed to a forum. Go to RSS Feeds > Add New RSS Feed. It's limited to posting each item in the feed as either a separate thread or an announcement, but otherwise it sounds like what you want.

Yeah< I know about that, but I don't want to post the full article, just the first 2 or three sentances. Is there a way to do that ?

kh99 11-28-2012 01:00 PM

No, I don't see any way to do that without modifying the code in includes/cron/rssposter.php. Is there any way to configure wordpress to limit the text in a feed?

AlpineZone 11-28-2012 02:08 PM

Quote:

Originally Posted by kh99 (Post 2386090)
No, I don't see any way to do that without modifying the code in includes/cron/rssposter.php. Is there any way to configure wordpress to limit the text in a feed?

Yeah, that was my 2nd attempt, to see how to do that. I like how the VB RSS feed you can just add a parameter to the feed to limit the characters. Doesn't seem quite as easy with WP

Thanks!


All times are GMT. The time now is 05:36 AM.

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.01904 seconds
  • Memory Usage 1,716KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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