Skip to content

Instantly share code, notes, and snippets.

@pchatterjee
Created October 5, 2019 00:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pchatterjee/1ce2ce4662c4939cffe1493a932b6d59 to your computer and use it in GitHub Desktop.
Save pchatterjee/1ce2ce4662c4939cffe1493a932b6d59 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Quotes XML -&gt; HTML using XSLT example</title>
<style>
tr:nth-child(odd){
background-color:#eeeeee;
}
table {
width:80%;
text-align:left;
margin: auto;
}
td {
vertical-align:top;
}
</style>
</head>
<body><table>
<tr>
<th>cat</th>
<th>text</th>
<th>name</th>
<th>dob</th>
<th>dod</th>
<th>wplink</th>
<th>wpimg</th>
</tr>
<tr>
<td>romantic</td>
<td>There is no remedy but to love more.</td>
<td>Henry David Thoreau</td>
<td>1817</td>
<td>1862</td>
<td><a href="http://en.wikipedia.org/wiki/Henry_David_Thoreau">http://en.wikipedia.org/wiki/Henry_David_Thoreau</a></td>
<td><img width="110" src="http://upload.wikimedia.org/wikipedia/commons/f/f0/Benjamin_D._Maxham_-_Henry_David_Thoreau_-_Restored.jpg"></td>
</tr>
<tr>
<td>romantic</td>
<td>There is always some madness in love. But there is also always some reason in madness.</td>
<td>Friedrich Nietzsche</td>
<td>1844</td>
<td>1900</td>
<td><a href="http://en.wikipedia.org/wiki/Friedrich_Nietzsche">http://en.wikipedia.org/wiki/Friedrich_Nietzsche</a></td>
<td><img width="110" src="http://upload.wikimedia.org/wikipedia/commons/1/1b/Nietzsche187a.jpg"></td>
</tr>
<tr>
<td>romantic</td>
<td>Love does not consist in gazing at each other, but in looking outward together in the same direction.</td>
<td>Antoine de Saint-Exupery</td>
<td>1900</td>
<td>1944</td>
<td><a href="http://en.wikipedia.org/wiki/Antoine_de_Saint-Exupery">http://en.wikipedia.org/wiki/Antoine_de_Saint-Exupery</a></td>
<td><img width="110" src="http://upload.wikimedia.org/wikipedia/commons/7/7f/11exupery-inline1-500.jpg"></td>
</tr>
<tr>
<td>humerous</td>
<td>Take away love and our earth is a tomb.</td>
<td>Robert Browning</td>
<td>1812</td>
<td>1889</td>
<td><a href="http://en.wikipedia.org/wiki/Robert_Browning">http://en.wikipedia.org/wiki/Robert_Browning</a></td>
<td><img width="110" src="http://upload.wikimedia.org/wikipedia/commons/5/58/Robert_Browning_by_Herbert_Rose_Barraud_c1888.jpg"></td>
</tr>
<tr>
<td>humerous</td>
<td>Work is the curse of the drinking classes.</td>
<td>Oscar Wilde</td>
<td>1854</td>
<td>1900</td>
<td><a href="http://en.wikipedia.org/wiki/Oscar_wilde">http://en.wikipedia.org/wiki/Oscar_wilde</a></td>
<td><img width="110" src="http://upload.wikimedia.org/wikipedia/commons/a/a7/Oscar_Wilde_Sarony.jpg"></td>
</tr>
<tr>
<td>humerous</td>
<td>A computer once beat me at chess, but it was no match for me at kick boxing.</td>
<td>Emo Philips</td>
<td>1956</td>
<td></td>
<td><a href="http://en.wikipedia.org/wiki/Emo_Philips">http://en.wikipedia.org/wiki/Emo_Philips</a></td>
<td><img width="110" src="http://upload.wikimedia.org/wikipedia/commons/7/76/Emo_Philips_2002_cropped.jpg"></td>
</tr>
<tr>
<td>humerous</td>
<td>Women should be obscene and not heard.</td>
<td>Groucho Marx</td>
<td>1890</td>
<td>1977</td>
<td><a href="http://en.wikipedia.org/wiki/Groucho_Marx">http://en.wikipedia.org/wiki/Groucho_Marx</a></td>
<td><img width="110" src="http://upload.wikimedia.org/wikipedia/commons/6/68/Groucho_Marx_-_portrait.jpg"></td>
</tr>
<tr>
<td>political</td>
<td>An ideal form of government is democracy tempered with assassination.</td>
<td>Voltaire</td>
<td>1694</td>
<td>1778</td>
<td><a href="http://en.wikipedia.org/wiki/Voltaire">http://en.wikipedia.org/wiki/Voltaire</a></td>
<td><img width="110" src="http://upload.wikimedia.org/wikipedia/commons/c/c2/D%27apr%C3%A8s_Maurice_Quentin_de_La_Tour%2C_Portrait_de_Voltaire%2C_d%C3%A9tail_du_visage_%28ch%C3%A2teau_de_Ferney%29.jpg"></td>
</tr>
<tr>
<td>political</td>
<td>People have only as much liberty as they have the intelligence to want and the courage to take.</td>
<td>Emma Goldman</td>
<td>1869</td>
<td>1940</td>
<td><a href="https://en.wikipedia.org/wiki/Emma_Goldman">https://en.wikipedia.org/wiki/Emma_Goldman</a></td>
<td><img width="110" src="https://upload.wikimedia.org/wikipedia/commons/0/03/Emma_Goldman_seated.jpg"></td>
</tr>
<tr>
<td>political</td>
<td>Religion is what keeps the poor from murdering the rich.</td>
<td>Napoleon Bonaparte</td>
<td>1769</td>
<td>1821</td>
<td><a href="http://en.wikipedia.org/wiki/Napoleon">http://en.wikipedia.org/wiki/Napoleon</a></td>
<td><img width="110" src="http://upload.wikimedia.org/wikipedia/commons/5/50/Jacques-Louis_David_-_The_Emperor_Napoleon_in_His_Study_at_the_Tuileries_-_Google_Art_Project.jpg"></td>
</tr>
<tr>
<td>political</td>
<td>Any dictator would admire the uniformity and obedience of the [U.S.] media.</td>
<td>Noam Chomsky</td>
<td>1928</td>
<td></td>
<td><a href="http://en.wikipedia.org/wiki/Noam_Chomsky">http://en.wikipedia.org/wiki/Noam_Chomsky</a></td>
<td><img width="110" src="https://upload.wikimedia.org/wikipedia/commons/a/a9/Noam_Chomsky_portrait_2017.jpg"></td>
</tr>
<tr>
<td>political</td>
<td>Isn't it ironic that the proprietary software developers call us communists? We are the ones who have provided for a free market, where they allow only monopoly. ... if the users chooses this proprietary software package, he then falls into this monopoly for support ... the only way to escape from monopoly is to escape from proprietary software, and that is what the free software movement is all about. We want you to escape and our work is to help you escape. We hope you will escape to the free world. The free world is the new continent in cyberspace that we have built so we can live here in freedom. It's impossible to live in freedom in the old world of cyberspace, where every program has its feudal lord that bullies and mistreats the users. So, to live in freedom we have to build a new continent. Because this is a virtual continent, it has room for everyone, and there are no immigration restrictions. And because there were never indigenous peoples in cyberspace, there is also no issue of taking away their land. So everyone is welcome in the free world, come to the free world, live with us in freedom. The free software movement aims for the liberation of cyberspace and everyone in it.</td>
<td>Richard Stallman</td>
<td>1953</td>
<td></td>
<td><a href="http://en.wikipedia.org/wiki/Richard_Stallman">http://en.wikipedia.org/wiki/Richard_Stallman</a></td>
<td><img width="110" src="https://upload.wikimedia.org/wikipedia/commons/2/28/Richard_Stallman_at_LibrePlanet_2019.jpg"></td>
</tr>
</table></body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment