vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Article Bot (https://vborg.vbsupport.ru/showthread.php?t=67078)

memobug 10-15-2004 09:05 PM

I got this working straight off, thanks!

I have 2 questions

Q1: I have a question concerning timing several feeds: how would i stagger the postings so they aren't consecutive - I don't want to annoy members with too frequent (consecutive) posting?

For example, if I set up the individual feeds for periods of 1hr 1.5 hr, 2hr, 2.5 hr, for example, will I need to cron it every 1/2 hour or so to avoid getting several at one time?

Q2 second question is about moving threads. If I move a post made by the robot to a different forum, or delete it, or even PURGE (remove completely) will it know that it has already postedthat news item, or will it try to post it again?

Regards,

Matt

Kwak 10-16-2004 12:41 AM

I am using CPanel and have the Cron jobs available.
I click it and select Standard Mode.

PHP Code:

Standard Cron Manager

This is a web 
interface to the crontab programIt allows you to run commands at any time you specifyEnter the command you would like to run as well as running times.

Please enter an email address where the cron output will be sent:myemail@addresshere.com 

And below that, Entry 1 and Command to run:
What is the command I need to type in??

Kwak 10-16-2004 12:47 AM

I get "Google Alerts" occasionally.

Could I use Google Alerts as RSS?

memobug 10-16-2004 03:29 AM

Quote:

Originally Posted by iKwak
I am using CPanel and have the Cron jobs available.
I click it and select Standard Mode.

PHP Code:

Standard Cron Manager
 
This is a web 
interface to the crontab programIt allows you to run commands at any time you specifyEnter the command you would like to run as well as running times.
 
Please enter an email address where the cron output will be sent:myemail@addresshere.com 

And below that, Entry 1 and Command to run:
What is the command I need to type in??

I would think it would be
Quote:

php /full/path/to/forum/articlebot/articlebot.php

buro9 10-16-2004 08:07 AM

Quote:

Originally Posted by iKwak
I get "Google Alerts" occasionally.

Could I use Google Alerts as RSS?

Absolutely.

But you need to have something receive the text email version of the alert and convert it to RSS for you.

There are free email2rss gateways out there, or you can work on your own ;)

This is precisely what I have in place use articlebot for... I have signed up to many music email news lists on sites that don't have RSS feeds. But I receive the emails, publish them as an RSS feed, and then consume them with the articlebot and thus they appear in as threads on my forum.

If you need a hand with the choices available for email2rss gateways, just ask.

Nick0r 10-16-2004 02:45 PM

Any ideas how I can make it post more of the description instead of just 1 line

example here http://www.cardschat.com/t4-%5Bblog-...ies-world.html

Tenny 10-16-2004 03:01 PM

Quote:

Originally Posted by Nick0r
Any ideas how I can make it post more of the description instead of just 1 line

example here http://www.cardschat.com/t4-%5Bblog-...ies-world.html

That is what the RSS feed is giving, and is not related to the article bot, the best option would be to try and find an RSS feed giving more!

gnawph 10-20-2004 12:01 AM

Great hack.

One problem I'm having is one of the BEST sites in my subject matter uses a weird RSS tag. Instead of having an description he uses <content:encoded> to list his news content. Is there anyway somebody could point me to what I have to modify? I'm decent at PHP, I just don't know where to start.

This would have to be a custom modification. Like asking IF this is that FEED use the content node instead of the description node.

Here is the feed:
http://halo.bungie.org/rss2channel.xml

Sooner95 10-26-2004 11:45 PM

took me a bit to figure out the whole cron thing, but got it going! thx for the work!

/me clicks install

Kwak 10-27-2004 02:57 AM

Quote:

Originally Posted by Sooner95
took me a bit to figure out the whole cron thing, but got it going! thx for the work!

[high]* Sooner95 clicks install[/high]

How did you get the cron setup??


All times are GMT. The time now is 06:08 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.01697 seconds
  • Memory Usage 1,749KB
  • 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_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete