Page 1 of 4 1234 LastLast
Results 1 to 10 of 32

Thread: RSS Feed for Beta Patches

  1. #1

  2. #2
    Thanks, this is very handy.
    PMC Editing Wiki opened for ArmA 3 information, guides, tutorials, etc!

    PMC Tactical - Operation Flashpoint, Armed Assault and ArmA 2 addons / mods / missions.
    PMC Editing Wiki for tutorials.
    Vietnam: The Experience - BIS forum group, join now for all your Vietnam War mod needs.

  3. #3
    Suggestion.
    Why not use:

    http://www.arma2.com/beta-patch.php

    instead of your own page:

    http://www.506th-pir.org/scripts/beta-patch.php.htm

    that way it will keep the feed up to date.
    [KH]Jman
    Kellys Heroes ArmA Clan Leader

    www.kellys-heroes.eu | KH Server Specs | Dedi Server Guide | PersistentDB
    My specs: Intel Core i7 920 D0 Stepping (SLBEJ) 2.66Ghz @ 4.00GHz / Gigabyte EX58-UD5 Intel X58
    Patriot Viper 6GB DDR3 PC3-12800C8 1600MHz / ATI HD 7970 3072 MB GDDR5 / Dell 2405FPW @1920 x1200 / Win7 x64

  4. #4
    Gunnery Sergeant oktane's Avatar
    Join Date
    Mar 11 2002
    Location
    PBR Streetgang, this is Almighty.. do you read me, over?
    Posts
    518
    Author of the Thread
    Quote Originally Posted by [KH]Jman View Post
    Suggestion.
    Why not use:

    http://www.arma2.com/beta-patch.php

    instead of your own page:

    http://www.506th-pir.org/scripts/beta-patch.php.htm

    that way it will keep the feed up to date.
    Wow, snarky aren't you!

    I was trying not to pound bis's servers when I was coding the part that scrapes BIS's page, so i saved a local cache of the file, which I forgot to remove late last night. I suspected something was going on with BIS's page because after so many refreshes, it would serve blank on me. I will have to implement a caching mechanism tonight after work. (the log files are already cached of course, since they are ftp'd) I put it back to the proper url now to scrape the data from. Also i'll work on getting the datestamp from the ftp and put it on the XML item.

    Edit: the blank pages were caused by me having too short of a timeout value on the curl fetch.
    Last edited by oktane; Aug 31 2009 at 16:25.

  5. #5

  6. #6

  7. #7
    Don't appear to intentionally be snarky, I was just getting to the point

    Nice job oktane gg.

  8. #8
    Hmm hey, is this now updated, ie working?

    I was really happy to get RSS feed for the beta's, then I was really disappointed to see new beta in the forum but nothing on the RSS...

  9. #9
    Gunnery Sergeant oktane's Avatar
    Join Date
    Mar 11 2002
    Location
    PBR Streetgang, this is Almighty.. do you read me, over?
    Posts
    518
    Author of the Thread
    Give me a few hours to work the bugs out and implement a caching routine.. I think i'm only going to scrape the page 1/2 or once an hour at max and cache the result in the meantime. Right now its scraping bis's page every time so its really slow. (any calls to an external http host are normally slow in php)

    Edit

    OK, might want to delete your old messages and resubscribe if you had a bunch of dupes. First time writing an app that generates RSS. A friend said that his reader Thunderbird was making a lot of copies, I think the GUID tag I added should fix that. Also the changelog detection works again, if it doesn't have a changelog, that is noted. And dates are added. The dates represent the file modified date from the log on the ftp server. (which logically will be stamped when the automated build system generates that build)

    Also, the page's final output is cached locally and only refreshed every 10 minutes.
    Last edited by oktane; Aug 31 2009 at 23:38.

  10. #10
    I made your RSS into a Windows sidebar gadget (I actually just edited one I had already made for a forum I work on), it will work with either Windows Vista or Windows 7.

    It would be great if someone could add an alternative link for it (Once it's all working right).



    Download it here

    It seems to take a while to show the entries, maybe something to do with your RSS feed. I stuck a couple of links in the settings page too (Control Panel, PMs and BiStudio).

    EDIT: Seem to be having problems on it, are you blocking flood attempts? The gadget is set to refresh the list every 5 minuted, which I can change to 1 hour if needed. What's a safe refresh interval to use before being blocked? (You could always edit the gadget yourself if you want to).
    Last edited by psychokilla; Sep 1 2009 at 19:43.

Page 1 of 4 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •