Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
News Manager Addons plugin
(2020-05-10, 18:48:48)Carlos Wrote:
(2020-05-10, 17:22:52)pablito Wrote: By any chance, do you have any experience concerning big loads of data ? 
I want to set up a site with 10 000 posts and maybe 500 categories. 
Do you think it could be done with News Manager ? 
There will be some double crossing on tags for this site.

I will try to generate these pages with tags to make a test and see if it works with a nice speed.

In principle it can be done, but I suppose it depends on the server.

Some time ago I posted a very simple script to automatically generate many posts, so that you can do your own tests:
http://get-simple.info/forums/showthread...5#pid68725

I generated 10 000 posts with this script (each post has a descriptive tag + country tag + region tag + city tag), so 4 tags for each post. 

<?php

echo "generate<br>";

//easy to set a post as private

$max = 10000;
$tagcitymax = 20;
$tagregionmax = 100;
$tagstatemax = 500;
$othertags = 10;

$outputdir = "work/";
$lorem = "Habitasse platea dictumst vestibulum rhoncus est pellentesque elit. Semper quis lectus nulla at volutpat diam. Tristique senectus et netus et. Volutpat maecenas volutpat blandit aliquam etiam erat velit scelerisque. Amet consectetur adipiscing elit ut. Velit egestas dui id ornare arcu odio ut sem nulla. Erat imperdiet sed euismod nisi porta lorem mollis aliquam ut. Id diam maecenas ultricies mi eget mauris pharetra. Sagittis aliquam malesuada bibendum arcu vitae elementum. Viverra nam libero justo laoreet sit. Mus mauris vitae ultricies leo. Ac odio tempor orci dapibus ultrices. Elementum facilisis leo vel fringilla est ullamcorper eget. Justo laoreet sit amet cursus. Sagittis nisl rhoncus mattis rhoncus urna neque. Aliquet enim tortor at auctor urna nunc id. A iaculis at erat pellentesque adipiscing commodo elit.";
$image = "http://127.0.0.1/getsimple-test/data/uploads/test.jpg";

for ($i=1;$i<=$max;$i++) {

$outputfile = $outputdir . $i . ".xml";
echo $outputfile."<br>";

$tagcity = "city" . strval((int)(($i-1)/$tagcitymax) + 1);
$tagregion = "region" . strval((int)(($i-1)/$tagregionmax) + 1);
$tagstate = "state" . strval((int)(($i-1)/$tagstatemax) + 1);
$othertag = "tag" . strval($i%$othertags);

echo $tagcity."<br>";
echo $tagregion."<br>";
echo $tagstate."<br>";
echo $othertag."<br>";

$tags = "$othertag,$tagcity,$tagregion,$tagstate";

$fp0 = fopen($outputfile,"w+");

fwrite($fp0,utf8_encode("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"));
fwrite($fp0,utf8_encode("<item><title><![CDATA[".$i."]]></title><date><![CDATA[Sun, 10 May 2020 10:00:00 +0200]]></date><tags><![CDATA[".$tags."]]></tags><private><![CDATA[]]></private><metad><![CDATA[]]></metad><image><![CDATA[".$image."]]></image><content><![CDATA[&lt;p&gt;".$lorem."&lt;/p&gt;\n"));
fwrite($fp0,utf8_encode("]]></content></item>"));
fclose($fp0);
}

?>

I tried on my local installation and it is surprisingly going fine ! 
I can modify the file after in the editor (I have 667 pages with 15 posts each).

When I try to look at tags and even search combinations of 2 tags, it works well ! 
The same installation in a wordpress would be a nighmare I think  !

I need to try on a hosting service + add the related posts stuff too for testing.
Reply


Messages In This Thread
News Manager Addons plugin - by Carlos - 2013-02-21, 04:59:59
RE: News Manager Addons plugin - by Carlos - 2013-03-09, 21:01:00
RE: News Manager Addons plugin - by Connie - 2013-03-09, 23:15:08
RE: News Manager Addons plugin - by Oleg06 - 2013-03-17, 19:15:54
RE: News Manager Addons plugin - by datiswous - 2013-03-22, 00:30:50
RE: News Manager Addons plugin - by Carlos - 2013-03-22, 05:42:13
RE: News Manager Addons plugin - by Carlos - 2013-05-15, 00:49:08
RE: News Manager Addons plugin - by Carlos - 2013-06-21, 07:50:10
RE: News Manager Addons plugin - by Carlos - 2013-06-24, 18:49:18
RE: News Manager Addons plugin - by shawn_a - 2013-06-25, 06:24:44
RE: News Manager Addons plugin - by Carlos - 2013-06-25, 06:44:41
RE: News Manager Addons plugin - by Connie - 2013-07-08, 23:20:41
RE: News Manager Addons plugin - by pablito - 2020-05-08, 02:43:59
RE: News Manager Addons plugin - by shawn_a - 2013-06-25, 07:14:15
RE: News Manager Addons plugin - by Riianna - 2013-06-26, 19:35:14
RE: News Manager Addons plugin - by Carlos - 2013-07-06, 20:41:09
RE: News Manager Addons plugin - by Riianna - 2013-07-12, 19:03:53
RE: News Manager Addons plugin - by maksyun - 2013-07-11, 04:58:34
RE: News Manager Addons plugin - by Carlos - 2013-07-11, 05:53:58
RE: News Manager Addons plugin - by Carlos - 2013-07-21, 18:32:51
RE: News Manager Addons plugin - by Carlos - 2013-07-28, 20:08:58
RE: News Manager Addons plugin - by Carlos - 2013-08-03, 09:11:36
RE: News Manager Addons plugin - by Carlos - 2013-09-07, 20:55:31
RE: News Manager Addons plugin - by Riianna - 2014-01-08, 21:18:08
RE: News Manager Addons plugin - by Carlos - 2014-01-09, 01:39:06
RE: News Manager Addons plugin - by Carlos - 2014-01-10, 05:00:25
RE: News Manager Addons plugin - by Riianna - 2014-01-13, 20:45:48
RE: News Manager Addons plugin - by Carlos - 2014-01-14, 00:45:03
RE: News Manager Addons plugin - by Riianna - 2014-01-14, 08:41:43
RE: News Manager Addons plugin - by Carlos - 2014-01-15, 02:25:23
RE: News Manager Addons plugin - by Riianna - 2014-01-15, 04:02:59
RE: News Manager Addons plugin - by Carlos - 2014-01-15, 05:54:23
RE: News Manager Addons plugin - by Riianna - 2014-01-16, 22:46:33
RE: News Manager Addons plugin - by TeeJay - 2014-01-16, 20:19:05
RE: News Manager Addons plugin - by Carlos - 2014-01-17, 01:56:31
RE: News Manager Addons plugin - by Riianna - 2014-01-17, 05:07:04
RE: News Manager Addons plugin - by TeeJay - 2014-01-19, 09:43:19
RE: News Manager Addons plugin - by Carlos - 2014-01-19, 19:30:20
RE: News Manager Addons plugin - by TeeJay - 2014-01-20, 05:10:52
RE: News Manager Addons plugin - by Carlos - 2014-01-20, 02:55:11
RE: News Manager Addons plugin - by Riianna - 2014-01-21, 00:37:56
RE: News Manager Addons plugin - by Carlos - 2014-01-21, 00:39:55
RE: News Manager Addons plugin - by Riianna - 2014-01-21, 00:53:16
RE: News Manager Addons plugin - by Carlos - 2014-01-21, 01:37:56
RE: News Manager Addons plugin - by Carlos - 2014-02-01, 06:21:19
RE: News Manager Addons plugin - by TeeJay - 2014-02-05, 06:49:59
RE: News Manager Addons plugin - by Carlos - 2014-02-06, 01:22:18
RE: News Manager Addons plugin - by TeeJay - 2014-02-06, 09:52:09
RE: News Manager Addons plugin - by Carlos - 2014-06-29, 08:28:09
RE: News Manager Addons plugin - by Riianna - 2014-07-06, 19:17:43
RE: News Manager Addons plugin - by Carlos - 2014-07-06, 20:35:20
RE: News Manager Addons plugin - by Riianna - 2014-07-10, 01:17:12
RE: News Manager Addons plugin - by D.O. - 2014-07-22, 18:50:50
RE: News Manager Addons plugin - by Carlos - 2014-09-04, 00:38:40
RE: News Manager Addons plugin - by Carlos - 2014-10-18, 04:03:14
RE: News Manager Addons plugin - by D.O. - 2014-10-20, 04:24:01
RE: News Manager Addons plugin - by D.O. - 2014-12-03, 19:43:15
RE: News Manager Addons plugin - by Carlos - 2014-12-06, 01:22:27
RE: News Manager Addons plugin - by Carlos - 2014-12-11, 06:11:45
RE: News Manager Addons plugin - by D.O. - 2014-12-12, 23:28:33
RE: News Manager Addons plugin - by Carlos - 2014-12-18, 00:50:14
RE: News Manager Addons plugin - by buitje68 - 2015-01-02, 07:40:07
RE: News Manager Addons plugin - by Carlos - 2015-01-02, 08:23:19
RE: News Manager Addons plugin - by Carlos - 2015-01-12, 03:45:08
RE: News Manager Addons plugin - by Carlos - 2015-02-26, 03:14:51
RE: News Manager Addons plugin - by D.O. - 2015-02-27, 20:37:33
RE: News Manager Addons plugin - by Riianna - 2015-02-28, 01:14:47
RE: News Manager Addons plugin - by morvy - 2015-04-19, 00:42:25
RE: News Manager Addons plugin - by Carlos - 2015-04-19, 19:47:37
RE: News Manager Addons plugin - by morvy - 2015-04-22, 07:47:31
RE: News Manager Addons plugin - by krlllo - 2021-01-02, 11:42:11
RE: News Manager Addons plugin - by Carlos - 2015-04-24, 04:47:41
RE: News Manager Addons plugin - by Carlos - 2015-06-14, 18:52:42
RE: News Manager Addons plugin - by Timbow - 2015-07-01, 18:09:56
RE: News Manager Addons plugin - by Carlos - 2015-07-02, 00:17:42
RE: News Manager Addons plugin - by Timbow - 2015-07-02, 18:09:23
RE: News Manager Addons plugin - by Carlos - 2015-07-03, 00:01:34
RE: News Manager Addons plugin - by Timbow - 2015-07-16, 19:51:35
RE: News Manager Addons plugin - by Timbow - 2016-01-18, 10:49:00
RE: News Manager Addons plugin - by Carlos - 2016-01-18, 16:53:27
RE: News Manager Addons plugin - by RandyC - 2016-07-01, 02:05:29
RE: News Manager Addons plugin - by Carlos - 2016-07-12, 01:20:59
RE: News Manager Addons plugin - by RandyC - 2016-07-13, 06:46:41
RE: News Manager Addons plugin - by RandyC - 2016-07-25, 02:47:55
RE: News Manager Addons plugin - by Carlos - 2016-07-25, 05:32:07
RE: News Manager Addons plugin - by RandyC - 2016-07-25, 05:57:44
RE: News Manager Addons plugin - by Carlos - 2016-10-03, 06:24:22
RE: News Manager Addons plugin - by morvy - 2016-10-10, 22:42:35
RE: News Manager Addons plugin - by Carlos - 2016-10-28, 04:14:21
RE: News Manager Addons plugin - by Carlos - 2017-03-06, 04:14:38
RE: News Manager Addons plugin - by krlllo - 2018-03-02, 04:46:16
RE: News Manager Addons plugin - by Carlos - 2018-03-02, 05:02:59
RE: News Manager Addons plugin - by krlllo - 2018-03-13, 19:26:30
RE: News Manager Addons plugin - by Wolfgang - 2018-09-29, 23:43:47
RE: News Manager Addons plugin - by Carlos - 2018-09-30, 02:01:41
RE: News Manager Addons plugin - by Wolfgang - 2018-09-30, 17:57:15
RE: News Manager Addons plugin - by Bak - 2018-09-30, 08:13:23
RE: News Manager Addons plugin - by Carlos - 2018-09-30, 15:29:55
RE: News Manager Addons plugin - by Carlos - 2018-10-01, 02:37:17
RE: News Manager Addons plugin - by Wolfgang - 2018-10-04, 17:49:34
RE: News Manager Addons plugin - by Scorpio - 2018-12-18, 05:27:06
RE: News Manager Addons plugin - by Carlos - 2018-12-20, 05:52:35
RE: News Manager Addons plugin - by Scorpio - 2018-12-21, 06:25:10
RE: News Manager Addons plugin - by Scorpio - 2018-12-22, 04:31:33
RE: News Manager Addons plugin - by Carlos - 2018-12-23, 21:53:28
RE: News Manager Addons plugin - by Scorpio - 2018-12-24, 02:56:15
RE: News Manager Addons plugin - by Carlos - 2019-01-10, 04:13:26
RE: News Manager Addons plugin - by Carlos - 2019-01-10, 06:53:18
RE: News Manager Addons plugin - by Holger - 2019-01-10, 12:26:29
RE: News Manager Addons plugin - by Holger - 2019-01-16, 09:29:17
RE: News Manager Addons plugin - by Carlos - 2019-05-10, 05:10:03
RE: News Manager Addons plugin - by Carlos - 2020-05-10, 06:27:46
RE: News Manager Addons plugin - by pablito - 2020-05-10, 17:22:52
RE: News Manager Addons plugin - by Carlos - 2020-05-10, 18:48:48
RE: News Manager Addons plugin - by pablito - 2020-05-10, 20:59:19
RE: News Manager Addons plugin - by macoffers - 2020-06-02, 06:08:56
RE: News Manager Addons plugin - by macoffers - 2020-06-02, 21:04:36
display post with a given URL - by Alexander_ - 2020-10-24, 02:55:32
RE: display post with a given URL - by Timbow - 2020-10-24, 03:48:22
RE: display post with a given URL - by Alexander_ - 2020-10-24, 22:09:18
RE: News Manager Addons plugin - by Carlos - 2020-11-17, 06:00:00
RE: News Manager Addons plugin - by davetest - 2022-04-05, 19:43:28
RE: News Manager Addons plugin - by Carlos - 2022-10-03, 05:56:10
RE: News Manager Addons plugin - by Scorpio - 2022-11-17, 07:48:41
RE: News Manager Addons plugin - by Carlos - 2022-12-18, 06:36:15
RE: News Manager Addons plugin - by Alexander_ - 2024-02-24, 21:27:55



Users browsing this thread: 1 Guest(s)