[Request] Linking from another site

Started by myndcraft, December 05, 2005, 03:33:52 PM

Previous topic - Next topic

myndcraft

Sorry if that was a poor title, but I'm not exactly sure how to word what I'm looking for so instead I will link to a phpBB site that does exactly what I want.

[item]Some Item Name[/item]

Thanks in advance for any and all help.

Skoen

Probarbly better off as an optional mod for the users fans of that type of game.
Alf Otto 'Skoen' Fagermo
Retired Norwegian translator


myndcraft

LOL.. Yeah sorry I was a bit rushed when I wrote that post yesterday.

I was wondering if anyone has done anything like this for SMF. Or if there isn't one I was requesting that some kind soul could perhaps
create one... if it's not overly time consuming that is.

Thantos

I've seen requests for this type of thing before and been thinking about it.

A couple of issues that I think have to be addressed:  most sites assign an ID value for each item.  So you'd have to have some way to convert from the name and get the ID.  This would most likely involve querying the other site and getting that information.  This leads me to the second issue which is when it should do this.  Idealy it should happen at posting time so it only has to do it once.  But that leads to the third concern which is what to do if the remove site in unavialable during posting?  Should it then delay to getting the data at display time?  What if its down then also?

The cheapy way of doing it would be to do something like: [item=1234]Hand of Godly Power[/item] which could then expand to <a href="http://site.com//?item=1234" target="_blank">Hand of Godly Power</a>

myndcraft

Quote from: MikeMill on December 06, 2005, 12:45:41 PM
I've seen requests for this type of thing before and been thinking about it.

A couple of issues that I think have to be addressed:  most sites assign an ID value for each item.  So you'd have to have some way to convert from the name and get the ID.  This would most likely involve querying the other site and getting that information.  This leads me to the second issue which is when it should do this.  Idealy it should happen at posting time so it only has to do it once.  But that leads to the third concern which is what to do if the remove site in unavialable during posting?  Should it then delay to getting the data at display time?  What if its down then also?

The cheapy way of doing it would be to do something like: [item=1234]Hand of Godly Power[/item] which could then expand to <a href="http://site.com//?item=1234" target="_blank">Hand of Godly Power</a>

Well I'm not over familiar with SMF and exactly how things work, php and mysql are not my cup of tea, but I agree that the ideal situation would be at posting. Would it be possible to try at posting and cache the resut somewhere. When the thread containg that item link is viewed it loads from the cache and if it has no entry then retrieves from the site.

In terms of the site being down at post and view times is it possible to query a fall back site? My use for this type of project would be for my guild forum for World of Warcraft. The two main sites for items would be:

http://thottbot.com/
http://wow.allakhazam.com/

And while they do occasionally have a bit of downtime I have never seen both down at the same time.

Anyways just some thoughts and I hope you do decide to take the project on :D

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert


JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Advertisement: