Skip to content
toggle menu
GSA SEO Forum
GSA SEO Forum
Categories
Mark All Viewed
GSA
Manuals
Donate
Categories
Mark All Viewed
GSA
Manuals
Donate BTC
Donate PayPal
Sign In
Register
Sign In
·
Register
×
Home
›
GSA Search Engine Ranker
›
Need Help
Calendar Date token?
Startrip
July 2013
in
Need Help
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
Ozz
July 2013
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.
Startrip
July 2013
ty ozz, thats a good alternative.
Sven
www.GSA-Online.de
July 2013
or use the macro %datetime%
Startrip
July 2013
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.
Ozz
July 2013
maybe just a "Test" issue??!
Startrip
July 2013
i let the test-engine run and scrape, but it scraped with "%datetime%" ;/
Sven
www.GSA-Online.de
July 2013
Oh right, "Search terms" are not replaced with macros...but might add that for next version.
Startrip
July 2013
Would be extremely cool sven, because then we can use spinfile macro there and dont have to edit every engine file
Ozz
July 2013
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
?
Sven
www.GSA-Online.de
July 2013
edited July 2013
the way you define it
@Ozz
%datetime-mm/dd/yyyy% or %datetime-yyyy-mm-dd% or whatever you need.
Startrip
July 2013
already implemented??
Ozz
July 2013
edited July 2013
according to changelog YES. i didn't test it so far.
Startrip
July 2013
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.
Comments
the way you define it @Ozz
%datetime-mm/dd/yyyy% or %datetime-yyyy-mm-dd% or whatever you need.