Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: RSS Feed + Firefox  (Read 3101 times)

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
RSS Feed + Firefox
« on: October 14, 2008, 04:24:07 pm »

I sent Toady a PM on this issue already, but now I realize perhaps I should have seen how widespread it was first.
Those of you with Firefox, do the individual Dev_Now entries appear in the Live Bookmark menu like in most other RSS feeds available on the web?
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Taritus

  • Bay Watcher
    • View Profile
Re: RSS Feed + Firefox
« Reply #1 on: October 14, 2008, 04:42:21 pm »

Still blank...  I noticed in the dev logs Toady was testing out something, but apparently 'tis not working quite right yet.
Logged



Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: RSS Feed + Firefox
« Reply #2 on: October 14, 2008, 06:22:24 pm »

I wasn't testing anything to do with that, as I hadn't heard about this problem.  I'm not sure what's up.  It wasn't the lack of titles in the item entries as the PM speculated, as I have those, unless I'm not doing it correctly.  I don't know what other factors go into a feed getting recognized.

Here's the latest file (with most of the items snipped):


<rss version="2.0">
  <channel>
    <title>Dwarf Fortress Development Log</title>
    <link>http://www.bay12games.com/dwarves/dev_now.html</link>
    <description>DF development updates</description>
    <item>
      <title>10/12/2008</title>
      <description xml:space="preserve">I'm still slogging along.

Below, I'm testing the new list code (mainly for RSS).

   &lt;ul&gt;   
   &lt;li&gt;TEST 1&lt;/li&gt;

   
   &lt;li&gt;TEST 2&lt;/li&gt;

   
   &lt;li&gt;TEST 3&lt;/li&gt;

   
   &lt;li&gt;TEST 4&lt;/li&gt;

   
   &lt;li&gt;TEST 5&lt;/li&gt;

&lt;/ul&gt;
</description>
    </item>
  </channel>
</rss>
Logged
The Toad, a Natural Resource:  Preserve yours today!

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: RSS Feed + Firefox
« Reply #3 on: October 14, 2008, 09:01:17 pm »

I wasn't testing anything to do with that, as I hadn't heard about this problem.  I'm not sure what's up.  It wasn't the lack of titles in the item entries as the PM speculated, as I have those, unless I'm not doing it correctly.  I don't know what other factors go into a feed getting recognized.

Here's the latest file (with most of the items snipped):
*snip*
Yeah, just after sending that PM, I went in and checked that stuff out myself.
(As you can use Internet Explorer on a .rss to view the source...  helpful)
From what I saw, everything *should* be working..
I'll poke around some other RSS feeds a bit, see what I can come up with.

Using a working Words of the Day feed from MSN, I have come up with the following:
Code: [Select]
  <?xml version="1.0" encoding="utf-8" ?>
- <rss version="2.0" xmlns:ResGet="EncartaApp:ResGet">
- <channel>
  <title>Words of the Day</title>
  <link>http://encarta.msn.com/</link>
  <language>en-us</language>
- <item>
  <title>What does 'effrontery' mean?</title>
  <link>http://encarta.msn.com/dictionary_1861607614/effrontery.html</link>
  <description>shameless nerve</description>
  </item>
- <item>
  <title>What does 'buckram' mean?</title>
  <link>http://encarta.msn.com/dictionary_1861593152/buckram.html</link>
  <description>stiff fabric</description>
  </item>
- <item>
  <title>What does 'mendacity' mean?</title>
  <link>http://encarta.msn.com/dictionary_1861629225/mendacity.html</link>
  <description>telling of lies</description>
  </item>
  </channel>
  </rss>
Could it, perhaps, be as simple as that very first line being missing from yours?  I can't imagine, but...
I'm also not sure as to the use of the xml:space="preserve" in your <description> tags...
Hmm.  This is intriguing.
It also could be perhaps that each entry requires its own URL...
I could see that, being that you'd want to click on the day and actually go to the day, rather then the very top of the page or another page altogether...
I can't imagine it'd be able to tell if it was actually a different URL or not, so that one seems simple enough to test...
Code: [Select]
<link>http://www.bay12games.com/dwarves/dev_now.html</link>In theory, you could put that in each item listing and something might happen...
« Last Edit: October 14, 2008, 09:09:14 pm by jaybud4 »
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Karlito

  • Bay Watcher
    • View Profile
Re: RSS Feed + Firefox
« Reply #4 on: October 14, 2008, 11:38:50 pm »

I have an empty feed as well. :(
Logged
This sentence contains exactly threee erors.

Iriel

  • Bay Watcher
    • View Profile
Re: RSS Feed + Firefox
« Reply #5 on: October 14, 2008, 11:53:57 pm »

The problem does indeed seem to be that there's no <link> on each entry, if I copy the dev_now.rss file and add <link> entries after the title in each item then it shows up properly.

Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: RSS Feed + Firefox
« Reply #6 on: October 15, 2008, 07:55:15 am »

Is that any better?  I've got the links in the items now, and I've added &lt; style paragraph breaks.  It all looks fine in the google reader for me.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Shades

  • Bay Watcher
    • View Profile
Re: RSS Feed + Firefox
« Reply #7 on: October 15, 2008, 08:03:52 am »

For me the formatting is fine, however every time you do an update it seems to think the whole rss feed is marked as new (so I get the last 20 or whatever posts).

I'm using google reader if that makes a difference.

Edit: looking at the feed it's fine so I guess it's a problem in reader. I'm not sure what it uses to know what's old and what's new.
« Last Edit: October 15, 2008, 08:10:53 am by Shades »
Logged
Its like playing god with sentient legos. - They Got Leader
[Dwarf Fortress] plays like a dizzyingly complex hybrid of Dungeon Keeper and The Sims, if all your little people were manic-depressive alcoholics. - tv tropes
You don't use science to show that you're right, you use science to become right. - xkcd

Mithaldu

  • Bay Watcher
    • View Profile
Re: RSS Feed + Firefox
« Reply #8 on: October 15, 2008, 08:07:36 am »

It did it for me in the Opera RSS reader once, after deleting all the new ones and refreshing everything was fine.

If it persists for others, it might be helpful to add a guid element. [ http://www.w3schools.com/rss/rss_tag_guid.asp ]
Logged

Tormy

  • Bay Watcher
  • I shall not pass?
    • View Profile
Re: RSS Feed + Firefox
« Reply #9 on: October 15, 2008, 08:09:21 am »

Hm I don't see any problems with the RSS feed, but I don't know too much about RSS to be honest, and I don't really care about it either. I'm visiting the dev site on a daily basis, maybe that's why hehe.  :)

*edit*

I forgot to add, that I am using IE 7 + 64bit Vista if that matters.
« Last Edit: October 15, 2008, 09:38:27 am by Tormy »
Logged

Shades

  • Bay Watcher
    • View Profile
Re: RSS Feed + Firefox
« Reply #10 on: October 15, 2008, 09:01:56 am »

If it persists for others, it might be helpful to add a guid element. [ http://www.w3schools.com/rss/rss_tag_guid.asp ]

Ideally that would involve making http://www.bay12games.com/dwarves/dev_2008.html point to dev_now, adding basic anchors to the dev logs and then using those together for the permanent guid.  Could also use it for the link too so if you don't read the feed for a while it goes to that post rather than the top of the page.

All minor stuff though, I'll be happy as long as it doesn't keep marking everything as new. Could just be google reader got confused when you changed the format for the new lists and things.
Logged
Its like playing god with sentient legos. - They Got Leader
[Dwarf Fortress] plays like a dizzyingly complex hybrid of Dungeon Keeper and The Sims, if all your little people were manic-depressive alcoholics. - tv tropes
You don't use science to show that you're right, you use science to become right. - xkcd

Dolohov

  • Bay Watcher
    • View Profile
Re: RSS Feed + Firefox
« Reply #11 on: October 15, 2008, 09:34:07 am »

Is that any better?  I've got the links in the items now, and I've added &lt; style paragraph breaks.  It all looks fine in the google reader for me.

Looks good for me now in Safari too.
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: RSS Feed + Firefox
« Reply #12 on: October 15, 2008, 04:08:58 pm »

Hm I don't see any problems with the RSS feed, but I don't know too much about RSS to be honest, and I don't really care about it either. I'm visiting the dev site on a daily basis, maybe that's why hehe.  :)

*edit*

I forgot to add, that I am using IE 7 + 64bit Vista if that matters.
Because he just fixed it.
And uh, yes, it works now, but that's a rather large number of entries...
Now we just need each entry to be anchored so your links link to them and not just to the page...
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Mr.Person

  • Bay Watcher
    • View Profile
Re: RSS Feed + Firefox
« Reply #13 on: October 15, 2008, 04:10:34 pm »

After the latest RSS feed update, Opera marked every feed item as new and redownloaded them all. It's only done that this one time though.
Logged
Youtube video of the year, all years.
Hmm...I've never been a big fan of CCGs - I mean, I did and still do collect Pokemon cards, but I never got heavily into the battling and trading thing.

By definition that makes you a fan since you still buy them.

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: RSS Feed + Firefox
« Reply #14 on: October 16, 2008, 03:20:25 am »

I had tried to set up the anchors yesterday, but my XML deficiencies stopped the process again.  I found a different syntax for it just now, so there may still be hope for that.  Or not.  I can't seem to get it to insert text with
Code: [Select]
<a id="HERE"></a> because I don't know what I'm doing.

edit:  Okay, I've got simple anchors working between the HTML and RSS.  I don't know anything about redirecting from dev_2008 to dev_now, so there's kind of a temporary life on these things.
« Last Edit: October 16, 2008, 03:32:33 am by Toady One »
Logged
The Toad, a Natural Resource:  Preserve yours today!
Pages: [1] 2