[xwiki-users] Question About Link Checker Module
Dear Friends, I am working on a xwiki deployment and one particular feature has me stumped. The Link Checker module. So I have activated it as per instructions, I am using xwiki4.2.1. The tab for broken links shows up on the Index application I have also added a page that shows the Link Checker Index. While the index count shows 283, no links appear on the broken links tab. Any help on this would be greatly appreciated. Thanks, Kohinoor
Hi Kohinoor, On Aug 17, 2012, at 5:08 PM, Kohinoor Biswas wrote:
Dear Friends,
I am working on a xwiki deployment and one particular feature has me stumped.
The Link Checker module. So I have activated it as per instructions, I am using xwiki4.2.1. The tab for broken links shows up on the Index application
I have also added a page that shows the Link Checker Index. While the index count shows 283, no links appear on the broken links tab.
Any help on this would be greatly appreciated.
Maybe you've missed this part in the documentation at "Note that the links are discovered only when someone navigates on a page containing external links." :) So navigate to some page having some links and then go back to the Link Checker tab, you should see the state of the links. Thanks -Vincent
On Aug 20, 2012, at 10:00 AM, Vincent Massol wrote:
Hi Kohinoor,
On Aug 17, 2012, at 5:08 PM, Kohinoor Biswas wrote:
Dear Friends,
I am working on a xwiki deployment and one particular feature has me stumped.
The Link Checker module. So I have activated it as per instructions, I am using xwiki4.2.1. The tab for broken links shows up on the Index application
I have also added a page that shows the Link Checker Index. While the index count shows 283, no links appear on the broken links tab.
Any help on this would be greatly appreciated.
Maybe you've missed this part in the documentation at
^^^^ http://extensions.xwiki.org/xwiki/bin/view/Extension/Link+Checker+Applicatio... -Vincent
"Note that the links are discovered only when someone navigates on a page containing external links." :)
So navigate to some page having some links and then go back to the Link Checker tab, you should see the state of the links.
Thanks -Vincent
Hi freinds, The link checker module is still not working, I have visited all pages with external link, but any broken links dont show up on the external links tab, is there a way to troubleshoot this module? Thanks, Kohinoor -- View this message in context: http://xwiki.475771.n2.nabble.com/Question-About-Link-Checker-Module-tp75809... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Kohinoor, On Oct 9, 2012, at 4:37 PM, kohinoorthinks <kohinoor.biswas@icteas.com> wrote:
Hi freinds, The link checker module is still not working, I have visited all pages with external link, but any broken links dont show up on the external links tab, is there a way to troubleshoot this module?
hmm, I've just tested it on 4.3M1 and I just had to add: rendering.transformations = macro, icon, linkchecker And it worked thereafter. Are you behind some HTTP proxy by any chance? Thanks -Vincent
vmassol wrote
Hi Kohinoor,
On Oct 9, 2012, at 4:37 PM, kohinoorthinks <
kohinoor.biswas@
> wrote:
Hi freinds, The link checker module is still not working, I have visited all pages with external link, but any broken links dont show up on the external links tab, is there a way to troubleshoot this module?
hmm, I've just tested it on 4.3M1 and I just had to add: rendering.transformations = macro, icon, linkchecker
And it worked thereafter.
Are you behind some HTTP proxy by any chance?
Thanks -Vincent
Hello Vincent, my colleague Debanjan has now picked up this issue at our company. He is having difficulty posting to the listserv, so I am posting for him: Hi Vincent, Will it work if we include that line of code in the file xwiki.cfg in our 4.2. deployment? Thanks, Debanjan -- View this message in context: http://xwiki.475771.n2.nabble.com/Question-About-Link-Checker-Module-tp75809... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Nov 4, 2012, at 4:49 PM, iceicelady <lisa6710@hotmail.com> wrote:
vmassol wrote
Hi Kohinoor,
On Oct 9, 2012, at 4:37 PM, kohinoorthinks <
kohinoor.biswas@
> wrote:
Hi freinds, The link checker module is still not working, I have visited all pages with external link, but any broken links dont show up on the external links tab, is there a way to troubleshoot this module?
hmm, I've just tested it on 4.3M1 and I just had to add: rendering.transformations = macro, icon, linkchecker
And it worked thereafter.
Are you behind some HTTP proxy by any chance?
Thanks -Vincent
Hello Vincent, my colleague Debanjan has now picked up this issue at our company. He is having difficulty posting to the listserv, so I am posting for him:
Hi Vincent,
Will it work if we include that line of code in the file xwiki.cfg in our 4.2. deployment?
What line of code? If you're referring to "rendering.transformations = macro, icon, linkchecker" then it needs to be set in xwiki.properties and not xwiki.cfg… See http://extensions.xwiki.org/xwiki/bin/view/Extension/Link+Checker+Applicatio... Thanks -Vincent
Thanks, Debanjan
-- View this message in context: http://xwiki.475771.n2.nabble.com/Question-About-Link-Checker-Module-tp75809... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Vincent, Yes I got that and added that configuration in "xwiki.properties" file(and restarted the Tomcat service) and ran into a couple of new issues. i. I went into the External Links page, it showed me 2 broken links(which is correct). Then I edited by broken links test page and corrected the broken links and as expected the items in External Links Page went away. Now as I again re-created the broken links, the External Links page is no more showing up the broken links. I had to restart the Tomcat service to make it work. ii. This one is a little odd. If I keep the "icon" parameter in the config. "rendering.transformations = macro, icon , linkchecker", this is what is happening to the page contents: <http://xwiki.475771.n2.nabble.com/file/n7582181/xwiki.png> Any help on the above issues will be highly appreciated. Looking forward to hear from you. Thanks, Debanjan -- View this message in context: http://xwiki.475771.n2.nabble.com/Question-About-Link-Checker-Module-tp75809... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Nov 6, 2012, at 7:52 AM, debanjan <debanjan2005@gmail.com> wrote:
Hi Vincent,
Yes I got that and added that configuration in "xwiki.properties" file(and restarted the Tomcat service) and ran into a couple of new issues.
i. I went into the External Links page, it showed me 2 broken links(which is correct). Then I edited by broken links test page and corrected the broken links and as expected the items in External Links Page went away. Now as I again re-created the broken links, the External Links page is no more showing up the broken links. I had to restart the Tomcat service to make it work.
Broken links are reported only once every hour and this cache is not refreshed when a broken link is fixed AFAIK.
ii. This one is a little odd. If I keep the "icon" parameter in the config. "rendering.transformations = macro, icon , linkchecker", this is what is happening to the page contents:
That's perfectly normal. (x) is the symbol for the red cross for ex. See http://extensions.xwiki.org/xwiki/bin/view/Extension/Icon+Transformation Thanks -Vincent
Any help on the above issues will be highly appreciated. Looking forward to hear from you.
Thanks, Debanjan
-- View this message in context: http://xwiki.475771.n2.nabble.com/Question-About-Link-Checker-Module-tp75809... Sent from the XWiki- Users mailing list archive at Nabble.com.
vmassol wrote
On Nov 6, 2012, at 7:52 AM, debanjan <
debanjan2005@
> wrote:
Hi Vincent,
Yes I got that and added that configuration in "xwiki.properties" file(and restarted the Tomcat service) and ran into a couple of new issues.
i. I went into the External Links page, it showed me 2 broken links(which is correct). Then I edited by broken links test page and corrected the broken links and as expected the items in External Links Page went away. Now as I again re-created the broken links, the External Links page is no more showing up the broken links. I had to restart the Tomcat service to make it work.
Broken links are reported only once every hour and this cache is not refreshed when a broken link is fixed AFAIK.
ii. This one is a little odd. If I keep the "icon" parameter in the config. "rendering.transformations = macro, icon , linkchecker", this is what is happening to the page contents:
That's perfectly normal. (x) is the symbol for the red cross for ex. See http://extensions.xwiki.org/xwiki/bin/view/Extension/Icon+Transformation
Thanks -Vincent
Lisa posting for Debanjan: Hi Vincent, Right, I assume then we have remove "icon" from the configuration. That is exactly the way we configured in the first place (as below) rendering.transformations = macro, linkchecker Am I correct in guessing that with the configuration as above, the link checker would not work? Thanks, Debanjan -- View this message in context: http://xwiki.475771.n2.nabble.com/Question-About-Link-Checker-Module-tp75809... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Nov 6, 2012, at 2:40 PM, iceicelady <lisa6710@hotmail.com> wrote:
vmassol wrote
On Nov 6, 2012, at 7:52 AM, debanjan <
debanjan2005@
> wrote:
Hi Vincent,
Yes I got that and added that configuration in "xwiki.properties" file(and restarted the Tomcat service) and ran into a couple of new issues.
i. I went into the External Links page, it showed me 2 broken links(which is correct). Then I edited by broken links test page and corrected the broken links and as expected the items in External Links Page went away. Now as I again re-created the broken links, the External Links page is no more showing up the broken links. I had to restart the Tomcat service to make it work.
Broken links are reported only once every hour and this cache is not refreshed when a broken link is fixed AFAIK.
ii. This one is a little odd. If I keep the "icon" parameter in the config. "rendering.transformations = macro, icon , linkchecker", this is what is happening to the page contents:
That's perfectly normal. (x) is the symbol for the red cross for ex. See http://extensions.xwiki.org/xwiki/bin/view/Extension/Icon+Transformation
Thanks -Vincent
Lisa posting for Debanjan:
Hi Vincent,
Right, I assume then we have remove "icon" from the configuration. That is exactly the way we configured in the first place (as below) rendering.transformations = macro, linkchecker
Am I correct in guessing that with the configuration as above, the link checker would not work?
It should work fine. The linkchecker transformation is independent of the icon transformation. Does it make any change for you when you have icon transformation active or not? Thanks -Vincent
Thanks, Debanjan
-- View this message in context: http://xwiki.475771.n2.nabble.com/Question-About-Link-Checker-Module-tp75809... Sent from the XWiki- Users mailing list archive at Nabble.com.
vmassol wrote
Lisa posting for Debanjan:
Hi Vincent,
Right, I assume then we have remove "icon" from the configuration. That is exactly the way we configured in the first place (as below) rendering.transformations = macro, linkchecker
Am I correct in guessing that with the configuration as above, the link checker would not work?
It should work fine. The linkchecker transformation is independent of the icon transformation.
Does it make any change for you when you have icon transformation active or not?
Thanks -Vincent
If I'm understanding your question correctly, Vincent, then yes, there is a change. We've had this configuration in xwiki.properties all along: rendering.transformations = macro, linkchecker (icon transformation inactive) But the Link Checker has not worked properly, as described in earlier posts. And we have visited all the pages, multiple times. When Debanjan added "icon" again, the Link Checker started working as expected. But we *don't* want the Icon Transformation active. Regarding an earlier question you asked, I'm not 100% sure whether we are behind an HTTP proxy or not; I will have to wait for Debanjan (in another time zone) to answer that. (I'm the business analyst/content administrator; he's the developer.) I don't think we are, but if so, would that make a difference, and how? -- View this message in context: http://xwiki.475771.n2.nabble.com/Question-About-Link-Checker-Module-tp75809... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Nov 6, 2012, at 3:08 PM, iceicelady <lisa6710@hotmail.com> wrote:
vmassol wrote
Lisa posting for Debanjan:
Hi Vincent,
Right, I assume then we have remove "icon" from the configuration. That is exactly the way we configured in the first place (as below) rendering.transformations = macro, linkchecker
Am I correct in guessing that with the configuration as above, the link checker would not work?
It should work fine. The linkchecker transformation is independent of the icon transformation.
Does it make any change for you when you have icon transformation active or not?
Thanks -Vincent
If I'm understanding your question correctly, Vincent, then yes, there is a change.
We've had this configuration in xwiki.properties all along: rendering.transformations = macro, linkchecker (icon transformation inactive)
But the Link Checker has not worked properly, as described in earlier posts. And we have visited all the pages, multiple times. When Debanjan added "icon" again, the Link Checker started working as expected. But we *don't* want the Icon Transformation active.
ok I've tested it again with just: rendering.transformations = macro, linkchecker And it works just fine… Here's what I did: * Modified xwiki.properties to have: rendering.transformations = macro, linkchecker (note: make sure the line is NOT commented of course ;)) * Restarted xwiki * Went to AllDocs, clicked on external links tab, it's empty * Went to Sandbox.WebHome * Went again to AllDocs, click on external links tab and verified it contains one entry for http://xwiki.org (since this link is on the sandbox page) In short, there's no reason for the icon transformation to make any difference whether it's there or not. Thanks -Vincent
Regarding an earlier question you asked, I'm not 100% sure whether we are behind an HTTP proxy or not; I will have to wait for Debanjan (in another time zone) to answer that. (I'm the business analyst/content administrator; he's the developer.) I don't think we are, but if so, would that make a difference, and how?
-- View this message in context: http://xwiki.475771.n2.nabble.com/Question-About-Link-Checker-Module-tp75809... Sent from the XWiki- Users mailing list archive at Nabble.com.
We are having better luck with the Link Checker Module after upgrading to XWIKI 4.3. However, I have noticed that the table columns do not sort reliably. Can you suggest any modifications to the syntax? This is what we currently have: {{velocity}} #set($columns = [ 'link', 'page', 'code', 'date']) #set($columnsProperties = { 'link' : { 'type' : 'text' }, 'page' : { 'type' : 'text' }, 'code' : { 'type' : 'text' }, 'date' : { 'type' : 'text' } }) #set($options = { 'resultPage': 'XWiki.ExternalLinksJSON', 'translationPrefix' : 'platform.linkchecker.livetable.', 'rowCount' : 50, 'description' : 'This table lists the states of all external links found on this wiki. The columns can be sorted.' }) #livetable('links' $columns $columnsProperties $options) {{/velocity}} -- View this message in context: http://xwiki.475771.n2.nabble.com/Question-About-Link-Checker-Module-tp75809... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Vincent, We are running xwiki version 4.3 stable and facing a problem in link checker module, so that after restarting the server link checker transformation runs once and thereafter it stop running. For test we have modified a page and changed a link on that page, we saw that it does not recheck that link again. We also checked the link checker queue size, that shows 278 which never goes down. Any help to run the linkchecker application properly would be greatly appreciated. Thanks, Sanjib -- View this message in context: http://xwiki.475771.n2.nabble.com/Question-About-Link-Checker-Module-tp75809... Sent from the XWiki- Users mailing list archive at Nabble.com.
This request is actually addressed to *anyone* who will help. We are having a critical issue. After many weeks of trying, we cannot get the Link Checker to behave in a stable manner. This risks our goal of using XWIKI as our primary wiki tool, because we still have no way to manage broken links - and this is a priority business requirement for us. Our last effort was upgrading to XWIKI 4.3 Stable. At first, the Link Checker seemed to be working, but as Sanjib describes below, it "stops." Each time we restart the server, it runs for a little while, and then stops again. It does not finish "crawling" the spaces. It does not find all known broken links, and the date in the "last checked" column does not change. The queue size (Main.CheckLink) also "freezes" after a certain point. * Xwiki.properties is configured with "rendering.transformations = macro, icon, linkchecker". * We visit all the links (some pages have known broken links, and we watch for those). Please help us. You may also IM me (lisalisa) or Sanjib or for further information if necessary. I am the business analyst/content administrator, and Sanjib is the developer. Thank you so much, Lisa sanjib wrote
Hi Vincent,
We are running xwiki version 4.3 stable and facing a problem in link checker module, so that after restarting the server link checker transformation runs once and thereafter it stop running. For test we have modified a page and changed a link on that page, we saw that it does not recheck that link again. We also checked the link checker queue size, that shows 278 which never goes down.
Any help to run the linkchecker application properly would be greatly appreciated.
Thanks, Sanjib
-- View this message in context: http://xwiki.475771.n2.nabble.com/Question-About-Link-Checker-Module-tp75809... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, I've also noticed the issue but haven't had the time to work on it. Could you please create a jira issue on http://jira.xwiki.org? Thanks -Vincent On Jan 9, 2013, at 6:59 PM, lisalisa <lisa6710@hotmail.com> wrote:
This request is actually addressed to *anyone* who will help.
We are having a critical issue. After many weeks of trying, we cannot get the Link Checker to behave in a stable manner. This risks our goal of using XWIKI as our primary wiki tool, because we still have no way to manage broken links - and this is a priority business requirement for us.
Our last effort was upgrading to XWIKI 4.3 Stable. At first, the Link Checker seemed to be working, but as Sanjib describes below, it "stops." Each time we restart the server, it runs for a little while, and then stops again. It does not finish "crawling" the spaces. It does not find all known broken links, and the date in the "last checked" column does not change. The queue size (Main.CheckLink) also "freezes" after a certain point.
* Xwiki.properties is configured with "rendering.transformations = macro, icon, linkchecker". * We visit all the links (some pages have known broken links, and we watch for those).
Please help us. You may also IM me (lisalisa) or Sanjib or for further information if necessary. I am the business analyst/content administrator, and Sanjib is the developer.
Thank you so much, Lisa
sanjib wrote
Hi Vincent,
We are running xwiki version 4.3 stable and facing a problem in link checker module, so that after restarting the server link checker transformation runs once and thereafter it stop running. For test we have modified a page and changed a link on that page, we saw that it does not recheck that link again. We also checked the link checker queue size, that shows 278 which never goes down.
Any help to run the linkchecker application properly would be greatly appreciated.
Thanks, Sanjib
-- View this message in context: http://xwiki.475771.n2.nabble.com/Question-About-Link-Checker-Module-tp75809... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Yes, thank you -- I just created JIRA issue XWIKI-8669 (http://jira.xwiki.org/browse/XWIKI-8669). Lisa vmassol wrote
Hi,
I've also noticed the issue but haven't had the time to work on it. Could you please create a jira issue on http://jira.xwiki.org?
Thanks -Vincent
-- View this message in context: http://xwiki.475771.n2.nabble.com/Question-About-Link-Checker-Module-tp75809... Sent from the XWiki- Users mailing list archive at Nabble.com.
I also created http://jira.xwiki.org/browse/XWIKI-8684 for the Link Checker table-sorting issue. Lisa lisalisa wrote
...I have noticed that the table columns do not sort reliably. Can you suggest any modifications to the syntax? This is what we currently have:
{{velocity}} #set($columns = [ 'link', 'page', 'code', 'date']) #set($columnsProperties = { 'link' : { 'type' : 'text' }, 'page' : { 'type' : 'text' }, 'code' : { 'type' : 'text' }, 'date' : { 'type' : 'text' } }) #set($options = { 'resultPage': 'XWiki.ExternalLinksJSON', 'translationPrefix' : 'platform.linkchecker.livetable.', 'rowCount' : 50, 'description' : 'This table lists the states of all external links found on this wiki. The columns can be sorted.' }) #livetable('links' $columns $columnsProperties $options) {{/velocity}}
-- View this message in context: http://xwiki.475771.n2.nabble.com/Question-About-Link-Checker-Module-tp75809... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (7)
-
debanjan -
iceicelady -
Kohinoor Biswas -
kohinoorthinks -
lisalisa -
sanjib -
Vincent Massol