Php webtags: Difference between revisions

70 bytes added ,  12:00, 19 April 2020
m
Line 56: Line 56:
10. To make use of the relevant script in your customised pages, use the instruction '''require cumuluswebtags.php''', substituting whatever you set as the remote name.
10. To make use of the relevant script in your customised pages, use the instruction '''require cumuluswebtags.php''', substituting whatever you set as the remote name.


For more information on how to write a template file or how to ask Cumulus to process files see [[Customised_templates#What_is_meant_by_.27Cumulus_processes_templates.27|processed by Cumulus]] topic.


'''Instead of producing your own template''', there are a number already produced, none of them cover all web tags, but they might cover enough for your purposes:
'''For more information''' on how to write a template file or how to ask Cumulus to process files see [[Customised_templates#What_is_meant_by_.27Cumulus_processes_templates.27|processed by Cumulus]] topic.
 
'''Instead of producing your own template''', there are a number already produced, ''none of them cover all web tags'', but they might cover enough for your purposes:


*The download file on '''this page''' (download [[File:Cumuluswebtags.txt]]) contains all current [[webtags]] produced by Cumulus v 1.9.4. '''IMPORTANT''' This file is only for use with Cumulus v1.9.4, it will not work with [[CumulusMX|Cumulus  MX]]. Note that in this download the recent history tags only occur with a single 3 hours ago parameter but if you use these tags it is likely you will want to include them for several other periods too so if you want to use them you need to put in the necessary time selectors yourself.
*The download file on '''this page''' (download [[File:Cumuluswebtags.txt]]) contains all current [[webtags]] produced by Cumulus v 1.9.4. '''IMPORTANT''' This file is only for use with Cumulus v1.9.4, it will not work with [[CumulusMX|Cumulus  MX]]. Note that in this download the recent history tags only occur with a single 3 hours ago parameter but if you use these tags it is likely you will want to include them for several other periods too so if you want to use them you need to put in the necessary time selectors yourself.
*You may prefer the template that you can download at [https://cumulus.hosiene.co.uk/viewtopic.php?f=6&t=10424&sid=123ca9bf91d769094eed72096c7920ea&start=15#p99549 by Brandon in this cumulus support forum link]. It should work for Cumulus 1 or MX.
*You may prefer the template that you can download at [https://cumulus.hosiene.co.uk/viewtopic.php?f=6&t=10424&sid=123ca9bf91d769094eed72096c7920ea&start=15#p99549 by Brandon in this cumulus support forum link]. It should work for Cumulus 1 or MX.
* An equivalent for MX only is at [https://cumulus.hosiene.co.uk/viewtopic.php?f=39&t=13252&p=103860&hilit=cumuluswebtags.txt#p103830 this page on  support forum], but that was last edited in 2015 and does not contain any web tags added since then.
* An equivalent for MX only is at [https://cumulus.hosiene.co.uk/viewtopic.php?f=39&t=13252&p=103860&hilit=cumuluswebtags.txt#p103830 this page on  support forum] posted by the administrator (water01), but that was last edited in 2015 and does not contain any web tags added since then.
* Another version that works with both Cumulus 1 and MX is at [https://cumulus.hosiene.co.uk/viewtopic.php?f=40&t=17985&p=140688#p140688 this post in a zip], once again that does not contain any web tags that are only available in MX.
* Another version that works with both Cumulus 1 and MX is at [https://cumulus.hosiene.co.uk/viewtopic.php?f=40&t=17985&p=140688#p140688 this post of mine in a zip] produced by BCJKiwi, this one does not contain any web tags that are only available in MX.


=== Option 3: EXtensible Markup Language alternative ===
=== Option 3: EXtensible Markup Language alternative ===
5,838

edits