added on May 12, 2009 by
You should state the importance of using the php include so that the web page containing the links is up to date, for
the AutoAdd feature to work properly. If they update the links page only one time a day, like from a cron, AutoAdd will
fail when the other side comes to see if their link is present.
Feel free to use the text above if it will save you time.
It would be nice to have a little more info about the AutoAdd feature in the docs, and the other two things, some
console thing I don't understand and the remote access feature.
Also, please place the docs as a README text file in the .tar.gz distribution file, I would have rather had that as a
reference when I was setting up the program, and besides, EVERYONE else that distributes a program does this.
Thanks, and as you can tell, I'm just having too much fun with this thing :)
added on May 14, 2009 by
Hi Jim,
thanks you so very much for your feedback!!
Yes the inclusion of the output file is crucial for the autoadd to work, if things are not instant, things wont work.
I'll figure out a way to implement the text in the script somewhere.
Documentation, is has been on it's way for like 2 year or something! One day, it'll be updated! :)
Console & remote access is two other ways to "interact" with LinkEX.
When running the linkex installation as
/usr/local/bin/php /path/to/your/linkex/index.php
it'll recognize the "shell" execution (called console) and will check the links.
Remote access is a simple http call to have the links checked
http://www.domain.com/linkex/index.php?page=check
and in case you have added the passphrase you will have to add "&pass=yourpass" to the URL, to prevent
other from using it.
v0id
added on May 14, 2009 by
Wow! You could almost just put that into the docs as is! Here, I did a little work, feel free to use it.
Copy and append this text to your doc section "Verifying linkbacks".
Using cron to check backlinks
Set up a cronjob on your server to call a line like this:
/usr/local/bin/php /path/to/your/linkex/index.php
The first part needs to be set to where your php program is on your particular system (some systems are different).
The next part calls the linkex program and it knows that when it's called in this way that it should simply check links
and then quit.
It's up to you how often you check links, and it should depend on how many new submits you get a day or week.
You MUST have the "Console Access" enabled in the linkex settings in order for this to work (it's default:
ON).
Using "Remote Access" to check backlinks
Remote access is a simple http call to have the links checked, you call it from any browser like this:
http://www.domain.com/linkex/index.php?page=check
If you enable this feature and also enter a "passphrase" in the linkex settings you will have to add
"&pass=yourpass" to the URL. This prevents others from using it.
(NOTE: A passphrase would have spaces in it and wouldn't work on the URL line, so it really shouldn't be called a
passphrase..... and sorry but you will have to fix the line wraps before using this, this forum screws with the line
wrapping)
added on May 14, 2009 by
Oops! more:
Exporting links so you can check them from home
Some people might want to check links from a different IP than the server. This would be a good method for detecting
"cheaters".
The first thing you would need is a simple text listing of each link URL. The next thing would be some sort of program
on your home computer that would go through each site and try to find your linkback, that program isn't available yet,
maybe someone will post a simple one on the Linkex Forum.
The easiest way to create a list is to add a new category (that isn't public) and make a template for it like this:
{$URL}
Or even a template like this if you wanted XML:
{IF $FIRST}
<?xml version="1.0" encoding="UTF-8"?>
<links>
{/IF}
<link>{$URL}</link>
{IF $LAST}
</links>
{/IF}