get rid of usage of format date
create functions for each part of posted link section
fix params to send function