THE BORE

General => The Superdeep Borehole => Topic started by: ananus on July 15, 2007, 07:00:23 PM

Title: stupid question, but is rss supposed to be a "language"?
Post by: ananus on July 15, 2007, 07:00:23 PM
i have to watch some youtube file about web 2.0 or whatever and point out 3 languages which are used during the interaction with the "machine". html and xml are easy to see, but i can't see anything else.

a friend of mine told me "digital language", but wtf that makes no sense. tia
Title: Re: stupid question, but is rss supposed to be a "language"?
Post by: Ecrofirt on July 15, 2007, 07:03:20 PM
got a link to the video?

RSS stuff is done via XML
Title: Re: stupid question, but is rss supposed to be a "language"?
Post by: demi on July 15, 2007, 07:03:58 PM
http://en.wikipedia.org/wiki/RSS_(file_format) (http://en.wikipedia.org/wiki/RSS_(file_format))

RSS is XML
Title: Re: stupid question, but is rss supposed to be a "language"?
Post by: ananus on July 15, 2007, 07:06:03 PM
[youtube=425,350]http://www.youtube.com/watch?v=6gmP4nk0EOE[/youtube]

or http://www.youtube.com/watch?v=6gmP4nk0EOE

and couldn't they be considered separated things, like html and xml?
Title: Re: stupid question, but is rss supposed to be a "language"?
Post by: demi on July 15, 2007, 07:11:52 PM
This is my RSS on my site's code:

Code: [Select]
<? header('Content-type: application/xml'); ?>
<? echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\" ?>"; ?>
<rss version="2.0">
<channel>
<title>FROSTITUTION.NET: A Nick Frost Fansite</title>
<description>Shows the last 15 news posts, the first 8 appearing on the front page only.</description>
<link>http://www.frostitution.net</link>
<copyright>&#169; 2004-2007 frostitution.net</copyright>

<?php
mysql_connect
("localhost""username""password");
mysql_select_db("frostitution");
$result mysql_query("SELECT id,title,body FROM news ORDER BY id DESC LIMIT 0,15");

while(
$r mysql_fetch_array($result))
{
?>

     <item>
        <title><?=htmlentities(strip_tags($r['title'],'ENT_QUOTES'));?></title>
        <description><![CDATA[<?=$r['body']?>]]></description>
        <link>http://www.frostitution.net/</link>
     </item> 

<? } ?>

</channel>
</rss>

I threw in some PHP because I did some server side trickery

But you can see that it's mainly XML
Title: Re: stupid question, but is rss supposed to be a "language"?
Post by: Ecrofirt on July 15, 2007, 07:13:11 PM
Well, that's a weird assignment thing you've got.

They really focused on HTML and XML. My guess? You're supposed to be a smart ass and answer with something like 'The english language' or some shit. About the only other thing I can think of that makes any sense is machine language, but that's really out there as an answer.
Title: Re: stupid question, but is rss supposed to be a "language"?
Post by: demi on July 15, 2007, 07:14:46 PM
RSS is not a language. It's XML.
Title: Re: stupid question, but is rss supposed to be a "language"?
Post by: ananus on July 15, 2007, 07:19:04 PM
fine, i won't be using rss. but machine language makes no sense to me. that's like saying omg magic.

between that and english i'll go with english. still, html and xml both have their keywords in english, so i don't think it makes much sense. but thanks anyway
Title: Re: stupid question, but is rss supposed to be a "language"?
Post by: Ecrofirt on July 15, 2007, 07:21:31 PM
Don't sound so miffed about RSS.

demi isn't lying. RSS is just something that's done via XML. there's no specific RSS language, and your use of it would have been incorrect.
Title: Re: stupid question, but is rss supposed to be a "language"?
Post by: demi on July 15, 2007, 07:25:53 PM
Here are some "machine languages" that came to mind in the video

HTML (Basic structure of websites)
XML (RSS Feeds)
Flash and ActionScript (YouTube)
PHP and SQL (Database driven backends, many websites run this)
AJAX (very popular Web 2.0 language -- probably the correct third answer you are looking for)
Title: Re: stupid question, but is rss supposed to be a "language"?
Post by: ananus on July 15, 2007, 07:30:13 PM
don't get me wrong, i'm thankful for the help you guys are giving me.

that list is good too demi, better than "english". thanks again.
Title: Re: stupid question, but is rss supposed to be a "language"?
Post by: demi on July 15, 2007, 07:34:46 PM
http://frostitution.net/nick.htm
Title: Re: stupid question, but is rss supposed to be a "language"?
Post by: demi on July 15, 2007, 08:00:43 PM
APF is gay
Title: Re: stupid question, but is rss supposed to be a "language"?
Post by: APF on July 15, 2007, 08:01:02 PM
AJAX isn't a language, it's a technique.  Javascript is a language however.


lol
Title: Re: stupid question, but is rss supposed to be a "language"?
Post by: demi on July 15, 2007, 08:02:40 PM
I never used AJAX, it just came to mind
Title: Re: stupid question, but is rss supposed to be a "language"?
Post by: APF on July 15, 2007, 08:07:11 PM
It's actually really useful (the loading xml data part at least), as are the Javascript frameworks/utility libraries (like jQuery and Prototype) that have sprouted-up around it.