Skip to content

Calendar Date token?

Hey,

i want to add the actual date (06/07/2013 e.g.) into search queries by editing the engine files.

Is there a token for that?

Best Regards

Comments

  • no, you need to modify the engine scripts for that. but you can use macros for dates like %random-01-12%/%random-01-31%/%random-2010-2013% in that.
  • ty ozz, thats a good alternative.
  • SvenSven www.GSA-Online.de
    or use the macro %datetime%
  • hey @sven,

    when i input %datetime% in either the project data or the engine files, it shows me %datetime%, but not the actual time nor date. :/
  • maybe just a "Test" issue??!
  • i let the test-engine run and scrape, but it scraped with "%datetime%" ;/
  • SvenSven www.GSA-Online.de
    Oh right, "Search terms" are not replaced with macros...but might add that for next version.
  • Would be extremely cool sven, because then we can use spinfile macro there and dont have to edit every engine file :)
  • OzzOzz
    edited July 2013
    yes, definitely usefull. 
    which format will be used for that macro for searching?

    24.12.1966
    12/24/1966
    ...

    or just
    24 12 1966
    12 24 1966

    or
    24*12*1966
    ?
  • SvenSven www.GSA-Online.de
    edited July 2013

    the way you define it @Ozz ;)

    %datetime-mm/dd/yyyy% or %datetime-yyyy-mm-dd% or whatever you need.

  • already implemented??
  • OzzOzz
    edited July 2013
    according to changelog YES. i didn't test it so far.
  • edited July 2013
    works. but not with just %datetime% but u have to define how u want it :)

    thanks!
Sign In or Register to comment.