Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: copyright 2020

  1. #1
    Join Date
    May 2002
    Location
    Canada
    Posts
    2,681

    Default copyright 2020

    Gang, how can we have the year of the copyright notice on the footer automatically change to the year, same goes with the year anywhere on the pages.
    www.designfacet.com
    Owner/Creative Director at DesignFacet

    Xara Designer Pro X17



  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    11,991

    Default Re: copyright 2020

    Quote Originally Posted by behzad View Post
    Gang, how can we have the year of the copyright notice on the footer automatically change to the year, same goes with the year anywhere on the pages.
    I coded this for someone a time back onTG. Personally, I would now use smart fields as CopyrightDate and change in one place yearly.

    Acorn
    Acorn - installed and active Xara software: Cloud+/Pro+, XDPX, XWD Premium 15 & 12, XPGD10, X3D7, Xara Xtreme 5, back through time (to CC's Artworks).
    Raise software faults with MagiXara: http://support.magix.net/; if Cloud+/Pro+: https://xara.com/contact-us/

  3. #3
    Join Date
    May 2002
    Location
    Canada
    Posts
    2,681

    Default Re: copyright 2020

    Oh I like smart stuff Thanks.
    www.designfacet.com
    Owner/Creative Director at DesignFacet

    Xara Designer Pro X17



  4. #4
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    19,907

    Default Re: copyright 2020

    Here's a JavaScript example. Not sure if it's overkill though.

    @ Acorn: How to I assign an ID to a text field within Xara?
    Attached Files Attached Files
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Quadro 2000 Graphics Card + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive
    Xara Designer Pro X 17 + Xara 3D Maker 7

  5. #5
    Join Date
    May 2002
    Location
    Canada
    Posts
    2,681

    Default Re: copyright 2020

    Nice job Egg. Thanks to both of you.
    www.designfacet.com
    Owner/Creative Director at DesignFacet

    Xara Designer Pro X17



  6. #6
    Join Date
    Oct 2010
    Location
    South Africa
    Posts
    659

    Default Re: copyright 2020

    Repeating object?

  7. #7
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    11,991

    Info Re: copyright 2020

    Quote Originally Posted by Egg Bramhill View Post
    Here's a JavaScript example. Not sure if it's overkill though.
    @ Acorn: How to I assign an ID to a text field within Xara?
    Egg, my approach is "simpler".

    Create and format a long Text Column with boilerplate text (i.e., any words at all).
    Highlight with the Text Tool and add Names of htmlblocktext and an ID (your question) of 'copyright'.

    In a Placeholder or Page body add the code:
    Code:
    <script>
      var result = document.getElementById("copyright").innerHTML = "\u00A9 " + Date().substr(11, 4);
    </script>
    An earlier example is in https://www.talkgraphics.com/showthr...198#post617198.

    The advantage is all the formatting is set up within Xara, with no extra coding.
    The disadvantage is it will fail in Supersites (HTML recognised only first ID instance0 so you have to write more code to instead present the value of the variable result...

    Acorn
    Acorn - installed and active Xara software: Cloud+/Pro+, XDPX, XWD Premium 15 & 12, XPGD10, X3D7, Xara Xtreme 5, back through time (to CC's Artworks).
    Raise software faults with MagiXara: http://support.magix.net/; if Cloud+/Pro+: https://xara.com/contact-us/

  8. #8
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    19,907

    Default Re: copyright 2020

    Yes, I really like that method.

    Re ID In my dotage I tried ID=copyright, ID = "copyright", "copyright" but never attempted copyright!
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Quadro 2000 Graphics Card + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive
    Xara Designer Pro X 17 + Xara 3D Maker 7

  9. #9

    Default Re: copyright 2020

    I have started a new solution to this ....
    as I have about 50 sites I maintain


    The general rule is that the year to include in a copyright notice is the year of first publication of the work.
    The first publication is when the work is made available to the public without restriction

    technically - you do not even need a copyright as it is OBVIOUS you are the author and your site
    is by default - published

    I do it just for 'fun'
    COPYRIGHT. RAVENSWOOD. ALL RIGHTS RESERVED. 2013.

  10. #10
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    11,991

    Default Re: copyright 2020

    Quote Originally Posted by TheeeDragon View Post
    I have started a new solution to this ....
    as I have about 50 sites I maintain


    The general rule is that the year to include in a copyright notice is the year of first publication of the work.
    The first publication is when the work is made available to the public without restriction

    technically - you do not even need a copyright as it is OBVIOUS you are the author and your site
    is by default - published

    I do it just for 'fun'
    COPYRIGHT. RAVENSWOOD. ALL RIGHTS RESERVED. 2013.
    yes, you are right that the Berne Convention does not require a Copyright Notice; it does help if you have one and you go to court.
    If you are worried about expiry then you should include the initial date and subsequent revision dates to prevent early expiry.

    Acorn
    Acorn - installed and active Xara software: Cloud+/Pro+, XDPX, XWD Premium 15 & 12, XPGD10, X3D7, Xara Xtreme 5, back through time (to CC's Artworks).
    Raise software faults with MagiXara: http://support.magix.net/; if Cloud+/Pro+: https://xara.com/contact-us/

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •