|
|
|
|
For anyone that runs a Materia Magica based website, you know it's quite a task to update your site in order to keep up with the game, especially with all the changes. We're here to alleviate some of that burden. With the Updates Reporter, you can display the last Materia Magica update ever made to the system. These are mission critical updates, posted by Vassago himself. Now, whenever a new update arises, the Updates Reporter will dynamically display the new change. You don't need to do anything! Here is the sample output: (05/07): Added new system for registering special counters and persistent information within the game, as well as hooks to display that information in various spots (descriptions, score, affects, etc.). The output is in unformatted, plain text. So you can easily adapt it to whatever layout/font/size you desire. You can also truncate it to display only part of the update, in case your layout demands it. Here is the code to display this update on your website. Note that this code is in PHP. If your website file extensions end in .html, you can usually get away with renaming your .html files to .php files. But your server needs to support PHP for this simple fix to work. Ask your system administrator if you are not sure. <?php @include("http://www.aodojo.com/includes/reporter.php"); ?> You can put this piece of code anywhere on your website, and the last update made to the game will be printed. If you want to truncate it (make the output shorter), just pass in the above string with an l (that's l for length) set equal to a number. For example, if we want to truncate the output by 50 characters, we would pass in l=50. Here is the code for that. <?php @include("http://www.aodojo.com/includes/reporter.php?l=50"); ?> You can replace the 50 with whatever number you want. Now, if any update ever exceeds 50 characters in length, the rest of the update will be replaced with "..." linked backed to us with the full update and the list of every system update ever made in Materia Magica. If you want to display the last X updates, you can use the following code: <?php @include("http://www.aodojo.com/includes/reporter.php?r=X"); ?> Be sure to replace X in r=X with a number. The parameters l and r can be used together.
|
|