Skip to main content Help Control Panel

YACS CMS : Open source !

Community «   Discussion forum «   Post your requirements here «  

Parse links when publishing doesn't seem quite right

avatarMorison, Rodney -- on Feb. 21 2006
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
Bernard
avatar
from nearby-an-airport
Associate, 7054 posts

on Feb. 23 2006


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
avatar
52 posts

on Feb. 23 2006


Ok, found the problem. Source text like
[link]perforce.com[/link]
is not getting parsed correctly for linking. It parses to
mysite.com/perforce.com
If I put
http://
or
www
in 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
avatar
from nearby-an-airport
Associate, 7054 posts

inspired from rod on Feb. 23 2006


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.

 
Share
Information channels
Recent files