Using: SharePoint 2010, JavaScript, jQuery 1.10.2, SPServices
In SharePoint 2010 I have a custom (JavaScript-based) page where users may type in text and link to items in SharePoint lists. A recent requirement has made it necessary to also include the Modified date, something I'd like to do automatically, since I can't expect users to think to update this page every time they update the linked document.
As an example, if a user has the text "Information Paper" linked to the item stored at https://mysite.com/sites/123/1234/MyPaper.docx, the script needs to be able to extract the URL from the anchor tag (already working), use the path and file name to locate the exact item, gather the Modified date on the file, and append it to the existing link text. That way, the user's "Information Paper" becomes "Information Paper (11 April 2014)".
It looks like SPServices' Query operation may be able to handle this, but I don't know how/if I can use a path to return the specific item's information.
Any ideas on how to do this?