Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

New Search Feature

posted by Krow on 03:52 PM April 23rd, 2001   Printer-friendly   Email story
I have added a new feature for searches. You can now add content_type=rss to searches in search.pl (this is for URL arguments) and retrieve information via XML/RSS. This should make it easier to build applications to query remote slash sites.
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • Strangely enough, this feature reminds me of the new Apache module mod_rss... :-)
    --

    Check out the Slash in Italian Project [kenobi.it]

  • mod_index_rss you mean? ;)

    More and more of Slash will be able to handle users requesting their data in RSS format. Any web application that is written today should be able to do some sort of data export like this. Why wait for .NET when we can begin to do the same thing today?
    --

    --
    You can't grep a dead tree.
  • by Anonymous Coward
    That's some cool shit. How long until a standalone Slash reader is written?
  • I completely agree, and I am also finishing a easy-easy publishing system that exports RSS as a by-product.

    The new feature means that a slashbox can be easily configured to carry all and only Jon Katz's articles from Slashdot. Ok, now maybe it's not really the thing you want...

    --

    Check out the Slash in Italian Project [kenobi.it]

  • Outside of the comments, I am not sure of anything else that needs XML/RSS's at the moment. Can anyone think of anything else?
    --

    --
    You can't grep a dead tree.
  • by Anonymous Coward
    Actually,
    How do you cuztomize the XML/RSS output? I want to create several different versions of the rdf/rss/xml files, kinda like custimize it for different sites. OK here it is: I want to include afiliate info in there, that way the afiliate can get his rdf/rss/xml from us, just pop it in his/her site and he/she gets the propper credit when we get hits from the other site.

    DarkMoon (just too lazy to find my passwd)
  • One easy way is to do it outside Slash, using a simple script and a cron job. Let's say your RSS is mysite.rss (or .rdf?), you can have (as metacode):

    for (my_affiliates)
        open rssfile
        for (every_story)
            link = substitute('sid' , 'from=affiliate&sid')
        save rssfile.affiliate

    And you make your affiliate point to their file.
    --

    Check out the Slash in Italian Project [kenobi.it]

  • by Anonymous Coward
    Cool, thats a start I can built upon, Thanx a lot!

    I guess I will have to give away some freebies one of this days to ppl on this site, say like a DVD box set of your choice or something...

    Greetz DarkMoon

    Ps: Hmmm, whats Metacode? you mean the XML?