View Single Post
Old 08-31-2010, 12:16 PM  
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by Jakez View Post
Anyone who has made a scraper would agree a dump style rss would be as flexible and easy to use as it can get.

HTML is formatted because you are using tags to style a page for a surfer to browse, there doesnt need to be any styling or formatting for something like RSS since its just a computer gathering information on your latest posts and a dump style would be a lot easier for a notice to parse and use as he pleases.
I would prefer RSS in it's current format. There is alot that it provides that a dump like that cannot. Nesting of elements for instance for instance:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<videos>
<updated>2010-07-20T00:00:00Z</updated> 
<video>
	<id>Video ID Number From Database</id>
	<title>Title of Video</title>
	<description>Description of Video</description>

	<tags>Comma,Separated,Keywords,Go,Here</tags>
	<paysite>Name Of Paysite</paysite>
	<clip_url>http://www.domain.com/path/to/videos/</clip_url>
	<screen_url>http://www.domain.com/path/to/thumbnails/</screen_url>
	<clips>
			<clip>
			<duration>20</duration>
			<width>640</width>
			<height>480</height>
			<flv>marta_sucks.flv</flv>
			<screens>
					<screen>marta.jpg</screen>
<screen>marta.jpg</screen>
			</screens>
			</clip>

			<clip>
			<duration>20</duration>
			<width>640</width>
			<height>480</height>
			<flv>jenna_fucks.flv</flv>
			<screens>
					<screen>jenna.jpg</screen>

			</screens>
			</clip>
			<clip>
			<duration>123</duration>
			<width>640</width>
			<height>480</height>
			<flv>kathy_anal.flv</flv>

			<screens>
					<screen>kathy.jpg</screen>
			</screens>
			</clip>
	</clips>
</video>

</videos>
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote