GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Why arent RSS feeds like this? (https://gfy.com/showthread.php?t=984588)

Jakez 08-30-2010 06:17 PM

Why arent RSS feeds like this?
 
Why do they have to be so difficult? I dont see why they couldnt just be a file that spits out a dump of text like:

url|title|description|etc
http://www.site.com|Title|Description|etc

fris 08-30-2010 06:22 PM

those arent rss feeds, those are dumps, big difference

papill0n 08-30-2010 07:02 PM

what fris said plus you can easily convert dumps to rsssss

Jakez 08-30-2010 07:04 PM

Yeah no shit, but what do RSS feeds have to offer over the easy use and flexibility of a dump?

fatfoo 08-30-2010 07:36 PM

That sure is a simple line of text.
It reminds me of the "add mass trades" feature in http://www.proton-tm.com script.

Jason Voorhees 08-30-2010 07:44 PM

Quote:

Originally Posted by Jakez (Post 17453810)
Yeah no shit, but what do RSS feeds have to offer over the easy use and flexibility of a dump?

Same reason HTML has structure... It's not hard to read an rss feed...

woj 08-30-2010 08:03 PM

Quote:

Originally Posted by Jakez (Post 17453810)
Yeah no shit, but what do RSS feeds have to offer over the easy use and flexibility of a dump?

dump offers no flexibility, the format is predefined... you don't have the same problem with an XML feed... XML is just a better more robust way of doing things...

Jakez 08-31-2010 11:46 AM

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.

k0nr4d 08-31-2010 12:16 PM

Quote:

Originally Posted by Jakez (Post 17455612)
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>


Jason Voorhees 08-31-2010 02:22 PM

Quote:

Originally Posted by k0nr4d (Post 17455710)
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>


Also, how hard is doing this?

PHP Code:

<?php
//Load the rssparse
  
$this->load->library('RSSParser', array('url' => 'http://link.to/rss.xml''life' => 2));
  
//Get six items from the feed
  
$data $this->rssparser->getFeed(6);

  foreach (
$data as $item) :
    
// do stuff with $item['title'], $item['description'], etc.
  
endforeach;  
?>


SCORE Ralph 08-31-2010 02:26 PM

Quote:

Originally Posted by Jakez (Post 17453737)
Why do they have to be so difficult? I dont see why they couldnt just be a file that spits out a dump of text like:

url|title|description|etc
http://www.site.com|Title|Description|etc

You need a dump. Not an RSS feed.

mOrrI 08-31-2010 02:32 PM

Quote:

Originally Posted by papill0n (Post 17453808)
what fris said plus you can easily convert dumps to rsssss

yes I can :=)


All times are GMT -7. The time now is 08:18 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123