J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Re:Links to pdf docs in basic sitemap (1 viewing) 
Go to bottom
TOPIC: Re:Links to pdf docs in basic sitemap
#1906
design by Billie Carroll
Fresh Boarder
Posts: 4
User Offline
Links to pdf docs in basic sitemap Karma: 0  
Docs are uploaded using file link in JCE editor. After checking, I find they are in the images folder in a subfolder called /policydocs.

How do I make the pdfs appear in the sitemap?

PDFs are linked by text from article body.

thanks
 
Logged Logged  
  The administrator has disabled public write access.
#1907
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:Links to pdf docs in basic sitemap Karma: 79  
Hello Billie,

that's normally not possible because links are not relative to a Joomla component, router or database.
They are raw links embedded inside contents, the only way to include them in the sitemap would be developing a plugin that makes a directory listing, generates links accordingly and feeds to the sitemap.

Eventually the JSitemap API is available for this kind of plugin dev.

John
 
Logged Logged  
  The administrator has disabled public write access.
#1909
design by Billie Carroll
Fresh Boarder
Posts: 4
User Offline
Re:Links to pdf docs in basic sitemap Karma: 0  
Thanks John. So, if I create an article for each doc, which is linked in the menu, then it will appear in the xml and html sitemap?

Will the text links to the pdf in the articles, as they are now, be indexed by search engines?

thanks
 
Logged Logged  
  The administrator has disabled public write access.
#1910
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:Links to pdf docs in basic sitemap Karma: 79  
Yes, you need only to have an article for each doc at least linked to a menu category, not needed to link each article to a different menu. This is enough to include all Joomla articles links in the sitemap, both HTML and XML.

Adding links to pdf files included in the articles text is a different thing, they are links to file system. In this case a specific plugin should be required to include those files in the sitemap, of course pdf are indexed by Google.

John
 
Logged Logged  
  The administrator has disabled public write access.
#1911
design by Billie Carroll
Fresh Boarder
Posts: 4
User Offline
Re:Links to pdf docs in basic sitemap Karma: 0  
In looking for a solution here... there appears to be an api for Docman. Using Docman, with the api would allow the pdfs to be included in the sitemap?
 
Logged Logged  
  The administrator has disabled public write access.
#1912
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:Links to pdf docs in basic sitemap Karma: 79  
If you are going to use Docman as a document manager for pdfs, then the integration can be between JSitemap and Docman directly, links will be for docman no more to documents hosted on server folders. This doesn't require extra plugins or api.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top