@ |
Home | Help | Status | Forums | Glossary | Account
|
log in |
Questions and Answers : Pirates@Home Problems : Substitutions on a page
Author | Message |
---|---|
I've seen following text on Pirates' pages, a couple of times: | |
ID: 8978 | Rating: 0 | rate: / Reply Quote | |
Pepo wrote: I've seen following text on Pirates' pages, a couple of times A good while ago the terminology used in the BOINC documentation changed. A unit of work became a "Job", while a "result" became a "Task". It's a big job to change that in all of the wiki and web pages, so I wrote a function to make the substitutions, and arranged for each page to be buffered instead of served direct, and passed through this filter. The function counts the number of substitutions and adds the count to the bottom of the page, so you know if a particular page needs to be updated. It also logs the page URL and substitution count to a log file, so we get a list of all the pages that need to be altered. This was just proof of concept. We have very old BOINC code here, so of course there will be substitutions. But once the site gets updated to the newer web code it might be interesting to try this out, to see if there are still any web pages that need to be updated to the new terminology. ____________ -- Eric Myers "Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats | |
ID: 8979 | Rating: 0 | rate: / Reply Quote | |
Wormholio wrote:
Aha, thus I've seen it only on Account pages (but not always) and never on Messages. On a list of tasks, the numbers then get much higher. The function counts the number of substitutions and adds the count to the bottom of the page, so you know if a particular page needs to be updated. It also logs the page URL and substitution count to a log file, so we get a list of all the pages that need to be altered. Good idea. ____________ Peter .-) | |
ID: 8980 | Rating: 0 | rate: / Reply Quote | |
Questions and Answers : Pirates@Home Problems : Substitutions on a page
Home | Help | Status | Forums | Glossary | Account
|