More stories than allowed. 6 years 3 months ago #1

  • Andrea
  • Localtime: 09:43
  • Europe/Bucharest
  • Posts: 10
Hello,
There are 10 story / feeds settings.
Cron is working with google scrip.
(only that works, I've tried it all)
(link: wiki.thephpfactory.com/doku.php?id=jooml...factory:cronjob_info)

But the cron does not erase the earlier stories, just bring the new ones.
One example: story 181/10

There is a memory limit of 1 (MB) in the "RSS Factory" settings. (in joomla admin)
Now cache content 1850 stories from feeds.

How can I delete it automatically (not manually)?
Could you help me?
Last Edit: 6 years 3 months ago by Andrea.
The administrator has disabled public write access.

More stories than allowed. 6 years 3 months ago #2

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 09:43
  • Europe/Bucharest
  • Posts: 4856
Hello!

Old stories should be removed automatically when executing the cron. You can set in Settings / Refresh tab / Delete archived interval (in days) what stories to be removed.

However, there was an issue with actually removing the stories. We just released today a new build (same version number) that contains a fix regarding this.

Download, upgrade and re-execute the cron script.
thePHPfactory Customer Support
Last Edit: 6 years 3 months ago by Erik F.
The administrator has disabled public write access.

More stories than allowed. 6 years 3 months ago #3

  • Andrea
  • Localtime: 09:43
  • Europe/Bucharest
  • Posts: 10
Thanks for the quick response!

I have now (manually) deleted the phpMyAdmin rssfactory_cache table information. Stories that were 10 days ago. (about 1600 pieces)

My setting on the "Refresh" tab:
Delete archived interval = 2

Does this number mean days?

(because the information does not reveal it:
"This is a very important setting for SEO. When the feeds are refreshed, the old ones are not deleted, but kept in the database, so search engine crawlers and site visitors could find them after refresh.")

I use the latest version: 4.2.8. Today I update, later I will describe what happened.
Last Edit: 6 years 3 months ago by Andrea.
The administrator has disabled public write access.

More stories than allowed. 6 years 3 months ago #4

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 09:43
  • Europe/Bucharest
  • Posts: 4856
Yes, that number means days.
thePHPfactory Customer Support
The administrator has disabled public write access.

More stories than allowed. 6 years 3 months ago #5

  • Andrea
  • Localtime: 09:43
  • Europe/Bucharest
  • Posts: 10
The cron works wonderfully, brings new news every 30 minutes.
curl "http : // mydomain.com/ components/ com_rssfactory/ helpers/ refresh.php ? password=12345"
Space is only between CURL and links! Not the apostrophe, but the link between quotes.

As the memory is limited to 200 MB, so there are still many stories (for example, 305/10) but the old stories are deleted by the cron!
Delete archived interval 2 (day)
The memory limit is 200 MB, because there are stories from 134 channels.

Cache content: 1304 stories from feeds
Cache table status: Unused space in the cache table: 433.98 KB

So it works well and the database's size is good. (Cache)

Thank you!
Last Edit: 6 years 3 months ago by Andrea.
The administrator has disabled public write access.