Auto discover PDFs without .pdf extension? | Community
Skip to main content
George_Roberts2
Level 1
April 2, 2018
Question

Auto discover PDFs without .pdf extension?

  • April 2, 2018
  • 1 reply
  • 1623 views

Can Content AI auto discover PDFs that do not have ".pdf" in the URL? For example on this page:  Franklin Income Fund - FRIAX there are many downloads that are PDFs but do NOT have .pdf in the extension (example: https://www.franklintempleton.com/forms-literature/download/609-FF). How can we get these PDFs auto discovered in Content AI?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Yanir_Calisar2
Level 2
June 6, 2018

@George Robertson​

Try this code (insert it at the bottom of the HTML code):

<script>

$('.btn').click(function(){

   var url = $(this).attr("href");
   if(url.length > 0 && url != undefined){

         AITag.sendClick(url);
   }

})

</script>