Click here to Skip to main content
15,889,411 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to make a random posting to my website
I use Drupal cms
I want to make a random post I like the ad image and the title of my post

example here random posting I see

<script type="text/javascript" src="http://2leep.com/ticker2/2307/custom/7/1/110/bottom/transparent|black|Georgia|1.2em|0.04em|11px|900|75|1px|1px|%23c0c0c0|center|middle|square"></script>


Demo (Copy the Link first)[^]


I want that have the random image rss.xml

rss.xml my web site
http://extradll.pcboxsearch.com
me site
http://pcboxsearch.com/

want in a blog posting on the show's extradll.pcboxsearch.com front page pcboxsearch.com menu "Kupasan Extra" Now I still use the manual settings to appear on the front page could you give me a solution
Posted
Updated 9-Jul-10 7:26am
v5
Comments
Christian Graus 8-Jul-10 19:45pm    
I'm sorry, I doubt anyone can understand what you want. You want to post random text to your website ?

1 solution

Well, if I understood your problem properly, you want to show some random image from your rss.xml, Right?

For this, get the XML file and read it in a collection. Then, you have the item count. Now use random value from 0 to Count and show the random data to your page.

I think, from this you will get some idea. Try to implement it and if you need any help, let us know.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900