Package com.salas.bb.domain

Examples of com.salas.bb.domain.FeedMetaDataHolder$SoftMDCLWrapper


            if (link != null)
            {
                StringBuffer buf = new StringBuffer("<html><body>").append(link.toString());

                GlobalController controller = GlobalController.SINGLETON;
                FeedMetaDataHolder metaData = controller.discoverLinkFromArticle(link);
                if (metaData != null)
                {
                    URL xmlURL = metaData.getXmlURL();
                    NetworkFeed feed = controller.getModel().getGuidesSet().findDirectFeed(xmlURL);

                    if (feed == null)
                    {
                        if (metaData.isComplete() && metaData.isDiscoveredValid())
                        {
                            String msg = metaData.getTextualInboundLinks();
                            String title = metaData.getTitle();
                            if (title == null) title = xmlURL.toString();
                            URL siteUrl = metaData.getHtmlURL();
                            String author = metaData.getAuthor();

                            buf.append("<br><b>").append(Strings.message("articledisplay.config.new.blog"));
                            buf.append("</b> ").append(title);
                            if (author != null)
                            {
View Full Code Here


                if (highlightedArticleLink != null && highlightedArticleLink.equalsIgnoreCase(link))
                {
                    type = LinkType.SEARCH;
                } else
                {
                    FeedMetaDataHolder metaData = controller.discoverLinkFromArticle(new URL(link));
                    if (metaData != null && metaData.isDiscoveredValid())
                    {
                        type = LinkType.UNREGISTERED;

                        URL xmlURL = metaData.getXmlURL();
                        NetworkFeed feed = controller.getModel().getGuidesSet().findDirectFeed(xmlURL);

                        if (feed != null) type = LinkType.REGISTERED;
                    } else
                    {
View Full Code Here

TOP

Related Classes of com.salas.bb.domain.FeedMetaDataHolder$SoftMDCLWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.