Search
LoveThatRandom
Sorting
Add content from LoveThatSexy to your own site or homepage!
There are several ways available for those who want to embed or present content from LoveThatSexy on their own site. This may be your personal home page, a forum you're running, your profile on MySpace.com or wherever you feel like it.
We preserve the right to block access to the interfaces for any reason, but we hope that this won't be necessary.
Via iframe

You can insert a piece of HTML-code at your site that loads a list of the five last posted items at LoveThatSexy. The links are set to open in a new window, so visitors will still be able to continue to browse your site.

You can see an example of this to the right. The code used is available beneath. You can adjust the size of the box by tweaking the "width" and "height" values in style=-section of the tag. You can find out more about this by Googling for CSS.

Via RSS

Most programming languages have a library for parsing and using XML and RSS-files available. This can be used to easily parse the RSS feed for LoveThatSexy for the most recent posts. Examples of such libraries can be found for PHP (SimpleXML, magpierss), Python (xml.dom.minidom, Universal Feed Parser), C# (XmlTextReader, RSS.NET) and Visual Basic (VB and XML, RSS). If you need examples for other languages, do a quick google search for your language and rss.

The url of the feed is:

You can also request a feed for items that just match a given tag (this returns an RSS feed featuring only clips that have been tagged with "cars"):

Via raw HTML

There is one last possibility which is perfectly suited for those who want something a bit more advanced than the iframe-method above, but don't want to parse the complete RSS document. There is an interface that returns a ready-to-go HTML feed of the last five items posted on the site, featuring only the bare minimum of markup. This allows you to attach your own CSS rules to the content and then display it on your site. We do however ask you to not update this information any more often than each every 15 minutes, so you'll have to cache it locally (for 15 minutes) and rely on the local copy. We have to do this to ensure that your site keeps loading even if LoveThatSexy is unreachable, and to make sure that we're not completely swamped in requests.

Anyway, the url for the HTML feed is:

A good idea is to define overflow: auto; on the div.ltf_post rule, so that the images stay within their box.