Created
March 19, 2009 20:53
-
-
Save mrkurt/82057 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
require_once('/home/kurt/ars-technica-mt-bits/published/includes_c/classes.inc.php'); | |
$_instance = new Entry(); | |
$_instance->body = 'Clint is cool | |
[What now!](http://google.com) | |
Blah blah blah'; | |
$_instance->excerpt = 'Clint is cool [What now!](http://google.com) Blah blah blah...'; | |
$_instance->listing_image = false; | |
$_instance->listing_image = new Image(); | |
$_instance->listing_image->caption = ''; | |
$_instance->listing_image->credit = ''; | |
$_instance->listing_image->url = 'http://kurt.staging.arstechnica.com/published/analog_vs_digital.jpg'; | |
$_instance->listing_image->credit_url = ''; | |
$_instance->listing_image->id = 21; | |
$_instance->listing_image->sizes = array( | |
'230' => '', | |
'133' => '', | |
'106' => '', | |
'640' => '' | |
); | |
$_instance->listing_image->size = array(580, 326); | |
$_instance->url = 'http://kurt.staging.arstechnica.com/published/2009/01/this-is-a-test-of-the-blah-blah-blah-system.php'; | |
$_instance->categories = array( | |
http://kurt.staging.arstechnica.com/published/apple/news/, http://kurt.staging.arstechnica.com/published/apple/iphone/apps/, http://kurt.staging.arstechnica.com/published/business/smb-resources/, http://kurt.staging.arstechnica.com/published/news/, http://kurt.staging.arstechnica.com/published/apple/ | |
); | |
$_instance->title = 'This is a test of the blah blah blah system!'; | |
$_instance->id = 46; | |
$_instance->intro_image = false; | |
$_instance->pages = array( | |
'<p>Now with extended body action</p>', | |
); | |
$GLOBALS['request_cache'][$_instance->url] = $_instance; | |
if(__FILE__ == $_SERVER['SCRIPT_FILENAME']){ | |
echo("Showing content: " . $_instance->title); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment