PDA


View Full Version : Links 3.0 and VBSeo, and using RSS with Links.


PhilMcKrackon
05-29-2008, 08:48 AM
I have VBSeo running with Links 2 and I'm using a CRR to rewrite the URLS already, Is there a way to turn of the search engine friendly output of Links 3 or would I be better off removing the custom CRR in VBSeo?

Also, I was wondering if it is possible to use a RSS feed, parse out the URL and create a link automatically? I like to monitor some crazy news sites and would like to automate the link creations.

Thanks,


EDIT: I probably should have posted this in the 'How do I' section, please move it if appropriate.

Brian
05-29-2008, 12:13 PM
I'm not really familiar with vBSEO's features, so can't really recommend which would be better. SEO URL's in vBa Links can be enabled/disabled in the Admin CP though.

As for parsing RSS feeds, I'm sure something like that would be possible, but would require a bit of work to incorporate and there's not anything included by default that would really help with that.

PhilMcKrackon
06-13-2008, 10:33 PM
As for parsing RSS feeds, I'm sure something like that would be possible, but would require a bit of work to incorporate and there's not anything included by default that would really help with that.I have been mulling this over and would like a bit of advice if possible. Since the RSS feed is working as I want and populating a forum with the items as I selected - I was thinking about how to get the feed into a link.
I have been tinkering with a PHP script I have been writing that runs every hour, queries the DB for new posts (within the last hour) in the forum for the RSS feeds and populates links table to create new links. The problem with this method is that it bypasses the normal link submission process and therefore does not make use of your automatic title, description and key word field generation.
Any ideas on a better way to do this? One that may make use of the automatic field generation that VBALinks uses?
Am I going about this the best way or does any one have a better way?

I appreciate any thoughts or suggestion from all.

Thanks,

Brian
06-16-2008, 06:24 PM
Just include the includes/vba_links_functions_savelink.php file and you can use the fetch_meta(). You just need to make sure that an array called $link is set that would look something like the example below and then run that function before the data is inserted into the db.

$link = array(
'name' => 'Link title',
'description' => 'Description of link',
'linkurl' => 'http://website.com'
);

Oh, you'll also need to query the options and set the $vba_options variable, which this should take care of:
$dstore = $vbulletin->db->query_first("
SELECT title, data
FROM " . TABLE_PREFIX . "datastore
WHERE title = 'adv_links_opts'
");

$vba_options = unserialize($dstore['data']);

PhilMcKrackon
06-17-2008, 08:16 AM
Thanks for the help Brian, excellent service as usual.

Mondi
09-02-2008, 06:32 PM
Phil,

This sounds like something I've been looking for. Any idea whether it's possible to package your solution and to make that pack available for download?

Guess you'd attract a grateful audience with that, which certainly will include me!

Cheers.

PhilMcKrackon
09-02-2008, 11:54 PM
Phil,

This sounds like something I've been looking for. Any idea whether it's possible to package your solution and to make that pack available for download?

Guess you'd attract a grateful audience with that, which certainly will include me!

Cheers.I never really finished this hack, I am so involved with a new site I have been designing that for that last few months I have not returned to this. Maybe some day I'll return to this.