Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Testing Wiki Syntax and RSS Feed

If I use wiki syntax in this entry, will it show up property in the RSS Feed? I'd better put some wiki syntax in, like a link to AppFuse, Downloads and an external link. What about the Java2HtmlPlugin, does that work?

    public ModelAndView handleRequest(HttpServletRequest request,
                                      HttpServletResponse response)
    throws Exception {
        if (log.isDebugEnabled()) {
            log.debug("entering 'handleRequest' method...");
        }

        return new ModelAndView("userList", Constants.USER_LIST,
                                mgr.getUsers(new User()));
    }

BTW, I really like the new editor layout - nice job Dave.

Update: It looks like the Wiki Plugin isn't working. I tried updating my "_entry" page with no avail. Below are the contents of this file. I used to have $wikiPlugin.render($wikiText), maybe that's the problem?

Update 2: Duh, the JSPWiki Plugin wasn't enabled in web.xml. As soon as I enabled that, and dropped the Java2HtmlPlugin JAR into WEB-INF/lib, everything worked as expected. Strangely enough, it seems I shouldn't start my entries with !, but rather just check the JSPWiki Syntax plugin. I'm guessing the exclamation point check in my _entry page is still needed for backwards compatibility.

Posted in Roller at May 30 2004, 01:31:10 PM MDT 7 Comments
Comments:

[Trackback] Wiki syntax seems to be working just *fine* in Roller 0.9.9. I'm not sure why your _entry page template is not working, Matt . Perhaps one of the macros you are using has a different call signature than it did in 0.9.8? The good news is that,...

Posted by Blogging Roller on May 30, 2004 at 03:33 PM MDT #

Hi Matt. Here's what your feed looks like in FeedDemon -------------------------------- !If I use wiki syntax in this entry, will it show up property in the RSS Feed? I'd better put some wiki syntax in, like a link to [AppFuse], [Downloads] and an [external link|http://rollerweblogger.org]. What about the Java2HtmlPlugin, does that work? [{Java2HtmlPlugin public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception { if (log.isDebugEnabled()) { log.debug("entering 'handleRequest' method..."); } return new ModelAndView("userList", Constants.USER_LIST, mgr.getUsers(new User())); } }] BTW, I really like the new editor layout - nice job [Dave|http://rollerweblogger.org/page/roller]. Update: It looks like the Wiki Plugin isn't working. I tried updating my "_entry" page with no avail. Below are the contents of this file. I used to have $wikiPlugin.render($wikiText), maybe that's the problem? #if($entry.text.startsWith("!")) #set( $wikiText = $stringUtils.substring($entry.text,1)) #set( $renderedText = $pageHelper.renderPlugins($wikiText)) #elseif( $entry.plugins ) #set( $renderedText = $pageHelper.renderPlugins($entry)) #else #set( $renderedText = $entry.text ) #end #if( $entryLength == -1 ) $renderedText #else #set( $escapedText = $utilities.removeHTML($renderedText) ) $stringUtils.left( $escapedText,$entryLength )... #end ----------------------

Posted by Vinny Carpenter on May 30, 2004 at 09:34 PM MDT #

Yes Matt, leave the _entry page and any exclamations in older posts for backwards compatibility. Or you could go through and update each entry to use the JSPWiki Plugin :-)

Posted by Lance on May 31, 2004 at 08:39 AM MDT #

Unfortunately, the wiki rendering doesn't seem to be very backwards compatible. If you look at my last wiki post before the upgrade, it's not being rendered like it was before.

Posted by Matt Raible on May 31, 2004 at 10:46 AM MDT #

Looks fine to me. The only diff (so far as I can recall) is that there was a yellow box around the release bullet points. But I looked at the source and didn't see any "wiki code"...

Posted by Lance on May 31, 2004 at 11:41 AM MDT #

It is translating the HTML correctly, but the line breaks are translated incorrectly. It's putting an extra <br/> where it shouldn't be. I can reload my site before the upgrade if you don't believe me. ;-)

Posted by Matt Raible on May 31, 2004 at 12:04 PM MDT #

Fixed.

Posted by Matt Raible on June 01, 2004 at 05:11 PM MDT #

Post a Comment:
Comments are closed for this entry.