<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>Feed Informer: Forums &#187; Topic: Possibility to &quot;Sort by Date&quot; and randomise</title>
		<link>https://feed.informer.com/forums/topic.php?id=11136</link>
		<description>Feed Informer: Forums &#187; Topic: Possibility to &quot;Sort by Date&quot; and randomise</description>
		<language>en-US</language>
		<pubDate>Sat, 16 May 2026 03:57:27 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.2</generator>
				<atom:link href="https://feed.informer.com/forums/rss.php?topic=11136" rel="self" type="application/rss+xml" />

		<item>
			<title>admin on "Possibility to &quot;Sort by Date&quot; and randomise"</title>
			<link>https://feed.informer.com/forums/topic.php?id=11136#post-16427</link>
			<pubDate>Wed, 15 Jul 2015 15:43:48 +0000</pubDate>
			<dc:creator>admin</dc:creator>
			<guid isPermaLink="false">16427@https://feed.informer.com/forums/</guid>
			<description><![CDATA[<p>Here you can find a working example of this technique:<br />
<a href="http://feed.informer.com/share/JSUCRIFZKE" rel="nofollow">http://feed.informer.com/share/JSUCRIFZKE</a></p>
<p>Please click on 'CUSTOMIZE', then 'Edit template manually' to grab the code.
</p>]]></description>
					</item>
		<item>
			<title>admin on "Possibility to &quot;Sort by Date&quot; and randomise"</title>
			<link>https://feed.informer.com/forums/topic.php?id=11136#post-16426</link>
			<pubDate>Wed, 15 Jul 2015 12:35:01 +0000</pubDate>
			<dc:creator>admin</dc:creator>
			<guid isPermaLink="false">16426@https://feed.informer.com/forums/</guid>
			<description><![CDATA[<p>Although Feed Informer doesn't have such mechanics built in, this still can be done using not overly complicated client-side Javascript code.<br />
You can try something like this: if your widget is intended to display, for example, 5 items, change the number of items to display to 20, but set the 'display' CSS property of each item to 'none' (by 'item' we understand an HTML tag containing a repeating element of a widget, usually it's &#60;li&#62;). Then, using JS, randomly select 5 items from the list and unhide them.<br />
To prevent displaying the longer version of the widget you should hide at first a container HTML tag (usually &#60;ul&#62;) too. Unhide it once you are done with your manipulations with items visibility.<br />
You can find an example of using JS code with an FI widget here:<br />
<a href="http://feed.informer.com/blog/widgets-how-to-display-single-random-item-using-javascript/" rel="nofollow">http://feed.informer.com/blog/widgets-how-to-display-single-random-item-using-javascript/</a>
</p>]]></description>
					</item>
		<item>
			<title>saintjab on "Possibility to &quot;Sort by Date&quot; and randomise"</title>
			<link>https://feed.informer.com/forums/topic.php?id=11136#post-16424</link>
			<pubDate>Wed, 15 Jul 2015 07:56:48 +0000</pubDate>
			<dc:creator>saintjab</dc:creator>
			<guid isPermaLink="false">16424@https://feed.informer.com/forums/</guid>
			<description><![CDATA[<p>I am trying to randomise a digest once it is sorted by date so I don't get the same first few feeds coming from the same source. For example, Sources A, B and C have feeds but A and B both have feeds published today. Currently, all today's feeds from A appear first before today's feeds from B. What I want is to randomise the feeds so I can get something like A, B, A, B.....Is that possible.
</p>]]></description>
					</item>

	</channel>
</rss>
