[Remind-Fans] rem2html stylesheet question
Jeff Gipson
jeffagipson at gmail.com
Tue Dec 4 16:45:25 EST 2012
On Tue, Dec 04, 2012 at 03:37:27PM -0500, David F. Skoll wrote:
>On Tue, 4 Dec 2012 15:33:44 -0500
>"David F. Skoll" <dfs at roaringpenguin.com> wrote:
>
>> IF today() < realtoday() THEN
>> REM SPECIAL HTMLCLASS rem-past
>> ENDIF
>> IF today() > realtoday() THEN
>> REM SPECIAL HTMLCLASS rem-future
>> ENDIF
>
>That's wrong... leave off the THEN. Sorry.
>
>Regards,
>
>David.
>_______________________________________________
>Remind-fans mailing list
>Remind-fans at lists.roaringpenguin.com
>http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
>Remind is at http://www.roaringpenguin.com/products/remind
### End of Message from David F. Skoll ###
It works a treat. Well done, with the "SPECIAL HTMLCLASS" feature!
So, I can add an arbitrary class to anything that matches a reminder
spec?
If that's so, is it possible combine this into a shorter statement?
REM Sat 6 Dec SATISFY [year(trigdate()) > 2012] MSG "Celebrate Katie's Birthday"
REM Sat 6 Dec SATISFY [year(trigdate()) > 2012] SPECIAL HTMLCLASS important
--
×-×-×-×-×-×-×-×-×-×-× Rule of Economy: Programmer time is expensive;
Jeffrey A. Gipson conserve it in preference to machine time.
×-×-×-×-×-×-×-×-×-×-× -- Eric S. Raymond, The Art of Unix Programming
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4140 bytes
Desc: not available
URL: <http://lists.roaringpenguin.com/pipermail/remind-fans/attachments/20121204/2c54c0d3/attachment.bin>
More information about the Remind-fans
mailing list