Plazes Poetry Widget

From rukapedia
Jump to: navigation, search

Plazes Poetry is randomly-generated poetry pulled from the Plazes.com geopresence stream.

To include the latest poem in your own website, just the following into your page or template:

<script type="text/javascript" src="http://ruk.ca/plazes/poetry/widget.php"></script>

You may want to include some CSS styling as well; here's a sample:

<style>

.poembox {
	width: 250px;
	border: 1px solid #ccc;
	background: #eee;
	padding: 20px;
}

h1.poem {
	font-family: georgia,serif;
	font-weight: normal;
	margin: 0;
	padding: 0;
	line-height: 1.1;
	font-size: 300%;
}

h1.even {
	text-indent: .5em;
}

p.poem-credit {
	text-align: right;
}

</style>