1 /* 2 * Created on May 29, 2003 3 */ 4 package org.roller.presentation.velocity.plugins.jspwiki; 5 6 import com.ecyrd.jspwiki.providers.FileSystemProvider; 7 8 /** 9 * Override page provider so that Wiki links always appear as hyperlinks 10 * to the external Wiki's Wiki.jsp?page=MyPageName page. Without this, they 11 * would appear as links tp Edit.jsp?page=MyPageName, which is not quite as 12 * nice. Eventually, it may be a good idea to use JSPWiki's XML-RPC interface 13 * to figure out if the page exists or not. 14 * @author David M Johnson 15 */ 16 public class RollerPageProvider extends FileSystemProvider 17 { 18 public boolean pageExists(String arg0) 19 { 20 return true; 21 } 22 } 23