Community « Discussion forum « Post your requirements here «
Parse links when publishing doesn't seem quite right
I'm confused (or perhaps there's a bug) about what happens when links are parsed upon publishing an article.
I ran "publish" for the article at http://morison.biz/technotes/articles/view.php/17. The submit results said 2 links were parsed and 1 was skipped (see below). Well, there are several other links that seem to be omitted from the search.
Furthermore, after publishing, the article listed no links!
The page has been successfully published
Following links have been parsed:
* http://www.perforce.com * http://www.perforce.com/perforce/bestpractices.html
Following links have been skipped:
* http://www.ibm.com/software/awdtools/clearcase/
Please note that this page has not been advertised to aggregation servers.
View the published page · Go to the review queue
Furthermore, after publishing, the article listed no links!
The page has been successfully published
Following links have been parsed:
* http://www.perforce.com * http://www.perforce.com/perforce/bestpractices.html
Following links have been skipped:
* http://www.ibm.com/software/awdtools/clearcase/
Please note that this page has not been advertised to aggregation servers.
View the published page · Go to the review queue
| Bernard from nearby-an-airport Associate, 7054 posts | During the publication process YACS attempts to locate web links from the page because of trackback. If, in your page, you are referencing some page, and if this remote page supports the trackback mechanism, YACS will attempt to reference your new page at the remote page This does not mean that YACS will create a separate list of links from published page... |
Rod![]() 52 posts | Ok, found the problem. Source text like [link]perforce.com[/link]is not getting parsed correctly for linking. It parses to mysite.com/perforce.comIf I put http://or wwwin front of it, the link is parsed and rendered correctly and it becomes an external link. I don't know if that's a bug: there's probably not enough context without http: or www to parse correctly between internal and external links. |
| Bernard from nearby-an-airport Associate, 7054 posts |
Rod: I confirm that YACS looks for specific prefix to consider a string as a link. Also, if you bracket some link with [link]...[/link], YACS will consider it as a local reference if it has no prefix.Therefore, please use fully qualified links to external links where applicable. |

