SourceForge has been redesigned. Learn more.
Close

#3189 portald silly use of RSS bites us

Slash 2.5/3.0
open
RSS (110)
4
2005-01-06
2004-11-22
No

portald has always built up sectional slashboxes by fetching and
processing the RSS feed that open_backend.pl writes out. It's a
silly way to generate that list of sectional stories:

* it adds an additional point of failure (if the webheads are down
or briefly unreachable, the attempt fails)

* it adds delay (open_backend only runs periodically, so portald
isn't seeing the freshest data)

* it adds hits in the accesslog (a site with a lot of sections or strict
limitations can potentially ban its own portald)

Now there's a new problem:

* we're getting &from=rss appended to all the links in the sectional
slashboxes.

So the from=rss traffic stats for the last week aren't going to be
all that useful...

Can you rewrite the way portald does sectional slashboxes by
having it make the same call to the API that open_backend.pl does,
and parsing that data directly? Thanks.

Discussion

  • Chris Nandor

    Chris Nandor - 2004-11-22

    Logged In: YES
    user_id=3660

    For now, I am just stripping the from=rss. The rest, there's no good
    simple way to do it.

     
  • Rob Malda

    Rob Malda - 2004-11-27

    Logged In: YES
    user_id=288856

    I just want to make sure this gets done by the next code refresh...

     
  • Rob Malda

    Rob Malda - 2004-11-27
    • priority: 5 --> 8
     
  • Chris Nandor

    Chris Nandor - 2004-11-27

    Logged In: YES
    user_id=3660

    The RSS stripping is done, was done for last refresh.

     
  • Chris Nandor

    Chris Nandor - 2004-11-27
    • priority: 8 --> 5
     
  • Chris Nandor

    Chris Nandor - 2005-01-06
    • priority: 5 --> 4
     
  • Chris Nandor

    Chris Nandor - 2005-09-27

    Logged In: YES
    user_id=3660

    This is largely solved by now using file:// URLs. Still would be nice to abstract out
    this code.

     

Log in to post a comment.