Quantcast
Channel: WordPress › Support » Topic: CG-FeedReader Problems
Viewing all articles
Browse latest Browse all 5

davidchait on "CG-FeedReader Problems"

$
0
0

the '36' controls the 'title' character length. if you want it left unrestricted, you can leave out those last two parameters completely (or use -1).

as for the "number of feeds", if you mean the "number of items to display from the feed", then yes, that's what the 4 is.

I should note, as people get confused: CG-FeedRead uses a caching system, where it saves the output from the feed for a certain length of time. Right now, the caching system doesn't "know" when you change the call parameters, it only knows when it last grabbed an update from that feed. So, if you change parameters, the fastest way to get a result if you are just testing is to delete the cache files. Alternately, for SHORT TESTING PERIODS, you can define the following before your call to getSomeFeed:
$XML_CACHE_TIME = 60*60*3; // 60s x 60m x 3 hours

The default changes every now and then -- at one point it was 24 hours, then it was 7, ... You can set it to whatever update frequency you want. So, again, FOR TESTING ONLY, you could set it to say 10 -- for updates after 10s since the last grab.. I caution this over and over as if you ping some sites EVERY 10s for more than a few minutes of testing, you may find yourself shut off or blacklisted. But during testing of parameters, it is invaluable.

-d


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images