Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2012, 03:31 AM
Dave234 Dave234 is offline
 
Join Date: Mar 2012
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default RSS Feeds from other sites Onto My Site, Each as a Separate Article?

Hello,
I am interested in taking numerous RSS feeds from other websites and, through filters, having them go to separate addresses on my own website, each one of them displaying as an article (where people can comment, etc), and the first few sentences or paragraphs displaying as content (with a link to the full source as well).

Do you know if this is possible?

If I can't have it display as articles, then I would be fine with each appearing as a new forum post (in each individual section of my forum), but I would imagine that would be more difficult....

--------------- Added [DATE]1347598712[/DATE] at [TIME]1347598712[/TIME] ---------------

I have used http://pipes.yahoo.com, which actually filters feeds into individual sections.

However, how could I make this actually display on my website, each one as a separate article (where people can comment, etc) going to a predetermined section of my website based on how it is separated in pipes.yahoo.com?

Do you know what I mean?

--------------- Added [DATE]1347599498[/DATE] at [TIME]1347599498[/TIME] ---------------

I think that this would be a major help for a lot of people if it were possible.

I think it could be possible.

For example, I know that people can already have an RSS feed go to a specific location on their website.

Also, in pipes.yahoo.com, you can search for the text to pull from different RSS feeds in different locations of each RSS feed -- either in the title, description, author, and a couple other locations. I take this to mean that the title of the article would be in a separate location from the description, in each RSS feed. Wouldn't that mean that you could possibly direct the title to display as the title of the article on my website? And then have the description display in the body of my site's article? And then the comment section would already be there, since that is preloaded in vbulletin articles.

If there is some way to make this happen, some way to work with pipes.yahoo.com filters to make it display on my website, that would be huge. I could see a huge potential in that (for everyone's websites).

--------------- Added [DATE]1347599583[/DATE] at [TIME]1347599583[/TIME] ---------------

And then, based on the filters, have the results of one filter go to one article section of my website, and have the results of another filter go to another article section of my website, etc.

Does that make sense?
Reply With Quote
  #2  
Old 09-14-2012, 11:46 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I'm understanding you, I think you could do what you want using threads posted in forums without any changes. You'd just have to use the feed manager to set up a different feed for each forum (I'm assuming the yahoo pipes thing lets you construct a feed url that provides the articles filtered in some way).

As for making them articles, I have to admit I'm not as familiar with the CMS as I probably should be, but I think articles are nasically threads, so that it might only take relatively minor changes to the rss poster code to make articles instead of threads.
Reply With Quote
  #3  
Old 09-14-2012, 05:49 PM
Dave234 Dave234 is offline
 
Join Date: Mar 2012
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

kh99, that would be awesome if I could have each RSS feed news story post as a separate thread.

You are referring to the feed manager in the admincp, correct?

Would the feed manager allow me to use the Item Description as the body of the forum post, and the Item Title as the title of the forum post?

If you can help me out with this, I would be eternally grateful, as this would be truly awesome and a major help.
Reply With Quote
  #4  
Old 09-14-2012, 06:18 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you looked at the "RSS Feed Manager"? I think a lot of it is self-explanatory. There's a "Post Items as Threads" section that is selected by default, and above that is a Templates section where you might be able to rearrange what's used for the title and body of the post. You need to enter a user name and select a forum (I'm going bottom to top for some reason). If there's anything you can't figure out you can always ask here.
Reply With Quote
  #5  
Old 09-15-2012, 04:51 AM
Dave234 Dave234 is offline
 
Join Date: Mar 2012
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you know if there is a way to make "Days for Announcement to Remain Active" to be indefinite? I don't want these posts to disappear from my forum!

--------------- Added [DATE]1347690983[/DATE] at [TIME]1347690983[/TIME] ---------------

Do you know if I can copy any of the RSS Feeds that I created in my Feed Manager? It would make it so much easier if I could just copy them so that I can use the same info on the copies but with another RSS feed URL...
Reply With Quote
  #6  
Old 09-15-2012, 12:10 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave234 View Post
Do you know if there is a way to make "Days for Announcement to Remain Active" to be indefinite? I don't want these posts to disappear from my forum!
"Days for Announcement to Remain Active" only applies if you choose to post the feed as announcements. The last two sections on the "Add New Feed" page are for adding the items as threads or adding them as announcements, and only one can be selected at a time (there are radio buttons in the header next to the section titles). So if you're posting items as threads, you don't have to worry about that setting, the threads will never disapper.


Quote:
Do you know if I can copy any of the RSS Feeds that I created in my Feed Manager? It would make it so much easier if I could just copy them so that I can use the same info on the copies but with another RSS feed URL...
There is no feature to do that, but you might be able to do it directly from the database by writing directly to the rssfeed table.
Reply With Quote
  #7  
Old 09-15-2012, 01:51 PM
Dave234 Dave234 is offline
 
Join Date: Mar 2012
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I write directly to the rssfeed table within the admincp?

How exactly would I do that? I definitely don't want to mess with anything on the ftp.

--------------- Added [DATE]1347722271[/DATE] at [TIME]1347722271[/TIME] ---------------

Also do you know how I can bring any image or video from the article into my forum post, along with the description and link?

The feed template in my admincp Feed Manager is the standard

{feed:description}

More...
Reply With Quote
  #8  
Old 09-15-2012, 05:39 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Changing the database directly is probably an advanced thing. In short, each row in the rssfeed table has the data for one feed, so if you wanted a lot of similar feeds you might be able to do it by duplicating rows. But unless you know at least some simple sql, it's probably better for you to use the RSS Feed Manager.

As for your other question, I would have to look in to it but I won't have a chance to do it today.
Reply With Quote
  #9  
Old 09-15-2012, 06:29 PM
Dave234 Dave234 is offline
 
Join Date: Mar 2012
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would I do this in the admincp > Maintenance > Execute SQL Query ?

What would be the next step?

Thank you very much for helping me with this.
Reply With Quote
  #10  
Old 09-15-2012, 06:43 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right, you would do it in Execute SQL Query, and I guess you could do this (to duplicate one row):
Code:
INSERT INTO rssfeed 
  (SELECT NULL, `title`, `url`, `port`, `ttl`, `maxresults`, `userid`, `forumid`, `prefixid`, `iconid`, `titletemplate`, `bodytemplate`, `searchwords`, `itemtype`, `threadactiondelay`, `endannouncement`, `options`, 0 FROM rssfeed WHERE rssfeedid = 1)

And you'd change the 1 in "rssfeedid = 1" (at the end0 to the feed id that you want to copy. (So I guess it's not really that advanced ). You may want to go to the Scheduled Task Manager first and temporarily disable the RSS Poster Robot task, or else it may run before you get a chance to go in and edit your new feeds.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:03 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.04371 seconds
  • Memory Usage 2,260KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete