I realise that there's probably some easy way of doing this, but I can't seem to find it anywhere - it's possible that I'm just phrasing the question wrong, I guess
( Read more... )
Looks like you have it covered down below - certainly better help than I could give you :-)
I had the idea that you wanted a kind of random slideshow of pages that you had selected from other sites. You could probably do that with an RSS feed aggregator.
Something similar to a slideshow, but only titles and urls, and only two results displayed.
And no, I', afraid sly_girl's opinion of my coding skills, though flattering, is something of an over-estimation :( I can tinker with existing code, but I couldn't write something like this from scratch.
How random? Do you want random pages on particular topics, completely random, random with some taint checking or what?
There's two ways to do this. Both involve writing a simple bot to do the work for you. The first is to write a web crawler which just starts at some given point, then follows every link it finds. The second is to just feed random topics into Google, and link to whatever Google returns for you.
Right, well RFC 1945 is a good place to start :) This will tell you how to have a basic conversation in HTTP. You need to write a script that will telnet to Wikipedia (for example) on port 80, and ask to see a random page. What you'll get back in reply is some headers and a bunch of HTML. You can search the headers for the URI and the text for the title.
Maybe practice doing it by hand a few times so you know what to expect.
This is way above my skill level. There's a whole bunch of assumed knowledge in it that I just don't possess - HTML and CSS is about as far as I ever got :(
To be honest, I was kinda hoping someone could just point me at a script site and say "this sounds like what you're looking for".
If you were the one making up the list of random webpages, it'd be pretty easy for a script on your page to pick one of them and display it, sure. If you want something else to do the random picking and interesting-page-sourcing for you then that's more difficult.
Well, it looks like a fun toy and I might add it anyways, but so far as I can tell it's too narrow for what I have in mind. Will install it and play with it anyways.
Comments 29
Reply
Reply
Reply
My idea was to have generated automatically when a button was clicked on my page.
Reply
I had the idea that you wanted a kind of random slideshow of pages that you had selected from other sites. You could probably do that with an RSS feed aggregator.
Reply
And no, I', afraid sly_girl's opinion of my coding skills, though flattering, is something of an over-estimation :( I can tinker with existing code, but I couldn't write something like this from scratch.
Reply
There's two ways to do this. Both involve writing a simple bot to do the work for you. The first is to write a web crawler which just starts at some given point, then follows every link it finds. The second is to just feed random topics into Google, and link to whatever Google returns for you.
Reply
Reply
Maybe practice doing it by hand a few times so you know what to expect.
Reply
To be honest, I was kinda hoping someone could just point me at a script site and say "this sounds like what you're looking for".
Reply
Reply
Reply
http://wordpress.org/extend/plugins/link-library/
?
Reply
Reply
http://wordpress.org/extend/plugins/wp-o-matic/
Reply
Reply
Leave a comment