Author Topic: stupid question, but is rss supposed to be a "language"?  (Read 1030 times)

0 Members and 1 Guest are viewing this topic.

ananus

  • Member
stupid question, but is rss supposed to be a "language"?
« 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

Ecrofirt

  • Heavy Metal Jesus
  • Senior Member
Re: stupid question, but is rss supposed to be a "language"?
« Reply #1 on: July 15, 2007, 07:03:20 PM »
got a link to the video?

RSS stuff is done via XML
8=D

demi

  • cooler than willco
  • Administrator
fat

ananus

  • Member
Re: stupid question, but is rss supposed to be a "language"?
« Reply #3 on: July 15, 2007, 07:06:03 PM »
[youtube=425,350][/youtube]

or

and couldn't they be considered separated things, like html and xml?

demi

  • cooler than willco
  • Administrator
Re: stupid question, but is rss supposed to be a "language"?
« Reply #4 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
fat

Ecrofirt

  • Heavy Metal Jesus
  • Senior Member
Re: stupid question, but is rss supposed to be a "language"?
« Reply #5 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.
8=D

demi

  • cooler than willco
  • Administrator
Re: stupid question, but is rss supposed to be a "language"?
« Reply #6 on: July 15, 2007, 07:14:46 PM »
RSS is not a language. It's XML.
fat

ananus

  • Member
Re: stupid question, but is rss supposed to be a "language"?
« Reply #7 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

Ecrofirt

  • Heavy Metal Jesus
  • Senior Member
Re: stupid question, but is rss supposed to be a "language"?
« Reply #8 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.
8=D

demi

  • cooler than willco
  • Administrator
Re: stupid question, but is rss supposed to be a "language"?
« Reply #9 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)
« Last Edit: July 15, 2007, 07:30:05 PM by demi »
fat

ananus

  • Member
Re: stupid question, but is rss supposed to be a "language"?
« Reply #10 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.

demi

  • cooler than willco
  • Administrator
fat

demi

  • cooler than willco
  • Administrator
Re: stupid question, but is rss supposed to be a "language"?
« Reply #12 on: July 15, 2007, 08:00:43 PM »
APF is gay
fat

APF

  • Senior Member
Re: stupid question, but is rss supposed to be a "language"?
« Reply #13 on: July 15, 2007, 08:01:02 PM »
AJAX isn't a language, it's a technique.  Javascript is a language however.


lol
***

demi

  • cooler than willco
  • Administrator
Re: stupid question, but is rss supposed to be a "language"?
« Reply #14 on: July 15, 2007, 08:02:40 PM »
I never used AJAX, it just came to mind
fat

APF

  • Senior Member
Re: stupid question, but is rss supposed to be a "language"?
« Reply #15 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.
***