Proper XSLT Fragment creation with blog post?

I have been trying to establish individual rss feeds from Word Press posts into divs on dynamic php pages.
So far I have created Dreamweaver 4 XSLT Fragment pages with an address to a remote blog on the internet. When creating the XSLT Fragment I have been entering the following addressing:
http://xxxxx.com/blog/?feed=rss2
The page is saved with .xsl. I then create a php dynamic page and add a div into which I bring the .xsl using Dreamweaver's Server Behavior 'XSLT Transformation'. My aim is to only have the text of that particular post from Word Press and thats it.
When I view the php page in a browser I do see the last post on the blog but for the life of me I can not figure out how to bring in other prior posts. So far I have tried the following address changes after creating new categories in Word Press such as the category 'bio':
http://xxxxx.com/blog/?feed=rss2&cat=bio
I get the same results, the last post and thats it.
Any help would be greatly appreciated. I am using MYSQL and php.
Regards,
Tony

Project Management is part if the Business Center Users Only area and not everyone can access this space so I would avoid publishing there.
It would be best to contact the space editors or moderators for SAP Portfolio and Project Management (SAP RPM, cProjects) and cFolders: click the people tab in the space to see who they are.
Otherwise, if you're not sure, you have the option to create a personal blog: Create a Personal Blog

Similar Messages

  • Blog Post List - same date posts under one date listing (javascript?)

    Hello,
    I have six blogs set up for a website. I have the blogs summaries appearing on the home page and in the individual blog index sections. 
    I would like all blog summaries (with the same date) to appear under one date entry and not repeat the same date for each item. Tech Support says this is possible with javascript (as is most things it seems), but I do not know javascript.
    Please see example of Oct 15 on link below
    Can anyone help me out with some code or other recommendation for this?
    home page here - http://mortgageregscom.businesscatalyst.com/index.htm
    Individual blog example here - http://mortgageregscom.businesscatalyst.com/CFPB
    Thanks for your help!
    Lisa

    Just checking again to see if anyone has any ideas for my issue with blog post dates.
    Thanks in advance for your help!

  • Blog Post Comments - #comments anchor causing an error on 2nd page of comments

    We have run into a problem with blog posts on our SharePoint 2013 on premise installation (15.0.4649.1000). The problem is with the blog on the users' MySites.  On the front page of the blog, (https://mysite.url/personal/user_name/Blog/default.aspx),
    you are presented with a listing of the blog posts - displayed as a summary view.  So, this includes:
    -  the title (linked to the post ie https://mysite.url/personal/user_name/Blog/Lists/Posts/Post.aspx?ID=5)
    -  the publication date
    -  an excerpt of the post
    -  the author, the time posted
    -  the number of comments (linked to the post - but with an anchor to the comment section ie https://mysite.url/personal/user_name/Blog/Lists/Posts/Post.aspx?ID=5#comments).
    If you click on the Title (ie https://mysite.url/personal/user_name/Blog/Lists/Posts/Post.aspx?ID=5) everything is fine - the problem does not come up.
    If you click on the number of comments (ie https://mysite.url/personal/user_name/Blog/Lists/Posts/Post.aspx?ID=5#comments), here's where things go wrong.  The initial page loads fine, but if there are more than 10 comments, you have to go to the next page. 
    If you click the arrow to go to the next page you get the following error:
    Exception from HRESULT: 0x80131904
    Correlation ID:20a9f49c-d329-0015-874e-4818b529d673
    If I check the ULS logs, this is what I see:
    System.Data.SqlClient.SqlException (0x80131904): Conversion failed when converting the nvarchar value '5#comments' to data type int.    
     at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)    
     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)    
     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)    
     at System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)    
     at System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)    
     at System.Data.SqlClient.SqlDataReader.Read()    
     at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock)    
     at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock)  ClientConnectionId:e6cdabb3-a778-4c47-8024-73913a538b51  Error Number:245,State:1,Class:16
    So what I think is happening here, is that SharePoint is not stripping the comments anchor (#comments) from the post ID before it queries the database for all comments related to that post.  SQL is expecting an integer - in this case "5", but
    is instead getting "5#comments".
    For the time being we are going to let users know not to click on the comments, but to click on the title instead.  But we would like to correct this problem.
    Is there a fix for this?
    Thanks!

    Hi,
    In my environment, I do not encountered the error as yours. My environment has installed the 2014 December CU. I recommend you
    to install the 2014 December CU or the latest CU for SharePoint 2013.
    The article below is about the 2014 December CU for SharePoint 2013
    http://blogs.technet.com/b/stefan_gossner/archive/2014/12/09/december-2014-cu-for-sharepoint-2013-has-been-released.aspx
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • SQL Azure blog post cannot be accessed unless I log in with LiveId

    No idea where else I could have posted about this, so I post here. MSDN Blogs seem to have no support forums.
    The following two links:
    http://blogs.msdn.com/b/sqlazure/archive/2010/08/13/10049896.aspx
    http://blogs.msdn.com/b/appfabricannounce/archive/2010/08/13/finding-blocking-queries-in-sql-azure.aspx
    lead to the same blog post.
    Previously I could open that post no problem using any of the two links no problem at any time even without being logged in with LiveId. No more - now whenever I try to open it I'm required to log in. This happens all the time for the first link and sometimes
    for the second link too. If I Google for "find blocking sql azure queries" the first hit looks like below.
    I believe it should be this way. How can I get this fixed?

    Hi Dmitry,
    Please try it again, I just check we can visit it with annonymous access.
    For the search issue, it might be caused by Search Robot setting in the blog.
    You can also contact the blog author to check what happens:
    http://blogs.msdn.com/b/appfabricannounce/contact.aspx
    Thanks,
    Jinchun Chen

  • Just FYI, new blog post "Deploy Border Gateway Protocol (BGP) with the RRAS Multitenant Gateway"

    This is just FYI about the new blog post for Windows Server 2012 R2, "Deploy Border Gateway Protocol (BGP) with the RRAS Multitenant Gateway," at
    http://bit.ly/OfDkty
    James McIllece

    Hi,
    Thanks for sharing and it would be greatly helpful to anyone who has requirements for that.
    Best regards,
    Susie

  • Getting my blog posts from IWeb interfaced with Facebook

    How do I get my blog posts, created on IWeb, and through Networked Blogs to sync with my Facebook page? I cant seem to get the individual posts available to post in my Facebook status bar. No posts from blog are visible...any ideas?

    i have the same problem. and i also want to add a share button on every post so people can share it through their status on facebook. do you know how to do it? anyone?

  • Content Query Webpart show blog post with no of comments

    Hi to All,
    I want to show blog posts using content query webpart along with no of comments to that post
    but comment column in the Posts list is lookup column so how to show no of comments using content query webpart.
    Please help me.
    Thanks,
    Rohit Warghade...

    I am not sure why, but I am getting
    The site or list column "# Comments" does not exist or is not valid.
    What could I be doing wrong?
    Thanks!

  • Disabling policy rules with a post-db-creation sql script

    I want to disable some policy rules with a post-db-creation sql script.
    Is this possible?
    Can You provide me a how to?
    Or a link?

    The only way to do this, is to remove the policy rules from the target within OEM, or by disabling them.
    Rob

  • What is the proper resolution to use with bootcamp and Windows 7 on a Macbook Pro Retina?

    Hi All,
    Let me start by saying I have read numerous articles and blog posts about choosing the correct resolution to use when running Windows 7 via Bootcamp on a MacBook Pro Retina (15").  I have not found the "silver bullet" (correct resolution).  My eyes are sensitive to displays that are running in non-native resolutions (scaling). 
    When running the display in native resolution  (2880x1800) everything looks great, except that icons and text are way too small to read.  I have played with the zoom settings (150%, etc.).
    When using any scaled resolutions, the display doesn't look as crisp and I get eye fatigue.  I have also tried Windows 8, with the same results (no surprise).
    I would love to use this Macbook to run Windows 7 because the hardware is great, but it looks like I may have to switch back to Dell/Lenovo/HP. 
    Is there a proper or "best practice" resolution to run at in this scenario?  I want to give it one last try before putting the laptop away...
    Thanks for any help!
    Andrew

    While I've never seen retina display, if you have not tried Hi-Contrast in Windows, you might find settings with it that are comforatable.
    This is set with desktop rightclick->Personalize. You can vary desktop icon size in the View option above Personalize.
    You can change most of what you see in Windows foreground/background colours & text with high contrast settings.
    Also, text size in Windows browsers is variable with the Control an + and - key combo.
    If the display you use is small maybe an external 24" or 27" monitor, if possible, would alleviate problem.
    The attached pics are expadable by double click.

  • XSLT Fragment question

    I am using an XSLT fragment in order to display an RSS feed on a webpage. The problem is that there is a large space at the top of my fragment. I would like to get rid of this space. Anyone know how to do this?

    Alright, I will try to post the code up here soon.
    On a side note, my RSS feeds post the time in a format with +0000 at the end. How can I localize the time in the feed?

  • Customizing the blog post web part to not show entire entries

    I have a blog site, and as you know, the posts web part shows the entire contents of each listed post, rather than one paragraph, followed by a "click here to read more" link.  I know that there is no out-of-box functionality for this, because of course,
    why would there be? Who needs nice looking blogs?  Anyway, I found this on the internet:
    http://zabistop.blogspot.com/2009/02/customizing-sharepoint-blog-posts-web.html
    It knows what's up, but it's outdated and the code doesn't mesh with what I have. Are there any articles similar to this online? I can't be the first person who thought of this, and doing it from the ground up is not an option. I appreciate any help.

    In 2010 you can make the same changes using a similar method.
    Open the default.aspx page, in code view click in within the blog area. In the ribbon click on the List View tools >design. Click on Customize XSLT in the Actions panel. When you do that you will be able to see all the code.
    Find this line of code <xsl:template name="FieldRef_Note_body.Body" ddwrt:dvt_mode="body" match="FieldRef[@Name='Body']" mode="Note_body" ddwrt:ghost="hide">
    Approx line 402. It actually looks like   </xsl:template><xsl:template name="FieldRef.... so you will have to place your cursor after the template close and hit enter a few times to make space for the code.
    Directly above that line, where you have added spaces, include this code. (I cheated and grabbed this code from another site where we did the same thing - and was able to modify it slightly to work for the blog.)
    <!-- used to strip out HTML from passed-in field -->
        <xsl:template name="removeHtmlTagsFromField">
         <xsl:param name="html"/>
         <xsl:choose>
             <xsl:when test="contains($html, '&lt;')">
                 <xsl:value-of select="substring-before($html, '&lt;')"/>
                 <!-- Recurse through HTML removing all markup -->
                 <xsl:call-template name="removeHtmlTagsFromField">
                     <xsl:with-param name="html" select="substring-after($html, '&gt;')"/>
                 </xsl:call-template>
             </xsl:when>
             <xsl:otherwise>
                 <xsl:value-of select="$html"/>
             </xsl:otherwise>
         </xsl:choose>
     </xsl:template> 
    Next below the line ( should be the next line below the pasted code)   <xsl:template name="FieldRef_Note_body.Body" ddwrt:dvt_mode="body" match="FieldRef[@Name='Body']" mode="Note_body" ddwrt:ghost="hide">
    Locate the       <xsl:param name="thisNode" select="."/> and paste the following code:
      <!-- call "removeHtmlTagsFromField" template to strip out html markup from the field -->   
     <xsl:variable name="textOnlyDescription">
         <xsl:call-template name="removeHtmlTagsFromField">
             <xsl:with-param name="html" select="$thisNode/@*[name()=current()/@Name]" />
         </xsl:call-template>
     </xsl:variable>
    I have already swichted out the select content with the content that was in the xsl line that renders the body content.
    Locate the code  ( should be 2 lines down)     <xsl:value-of select="$thisNode/@*[name()=current()/@Name]" disable-output-escaping="yes"/>
    Comment the code out and replace with the following code:
          <xsl:value-of select="substring($textOnlyDescription, 0, 320)" disable-output-escaping="yes"/>
          <xsl:if test="string-length($textOnlyDescription)>320">...</xsl:if>
    Change the number to your desired length.
    Save your file.
    You can revert the file if you ever need to, after its checked in, by right clicking on the page and selecting reset to site definition. 
    Hope this helps. I plan on doing a post shortly covering this and will have screen shots.
    Heather Waterman SharePoint Desginer www.heatherwaterman.com

  • Blog post at SP home page

    I need to create blog post at SP 2013 home page. with this pic. should appear permanently and right of the pic post text detail should be there. Wheneven new post created it should update with new post and picture at left should remain same.
    is there a way to achieve this.
    If we can implement it through any webpart which one is that.
    Thanks in adv !!

    One way you can achieve this is using the Content by Query Web Part and custom XSLT for the web part. Go through the couple of examples below on how to roll up the blog post with custom XSLT. In your case you will be rolling up the one item i.e. the latest
    blog post and then change the XSLT to display the image that you want to display with blog.
    USING THE CONTENT QUERY WEB PART TO AGGREGATE BLOG POSTINGS IN SHAREPOINT 2010
    SharePoint 2010 Content
    Query for Blog Posts
    Amit

  • Blog post Publish vs Update

    This question was asked in February here and answered, but it clearly was never addressed.
    When a blog post is saved as a draft, the PUBLISH button becomes the UPDATE button and there is no longer any clear indication to the client of whether their post is public or not. 
    This includes the post list which does not show the status of a blog post.  Is a fix coming?
    Best,
    Rob

    It's a 2-step process. 'Creating pages' does exactly what it says. It's like publishing to a local folder, but with .Mac functionality included. Actual uploading to .Mac only commences when page creation is complete. That's when the progress indicator(s) appear, and it's only then that you regain control of the application.
    As to your concern that the process takes a long time when you add 'just a new photo page', you go on yourself to explain why doing this necessitates re-creation of every page in the site — it's precisely because of 'the name of the new page being added to the list of available photo pages in the list at the top of each page'. Once you add a page and include this on the navigation bar, every page which displays the navigation bar has to be updated.
    [ Visit here for iWeb Tips, Tricks and Hack ]

  • Copyright of blogs posted in SDN

    Hi,
    I have a question to raise here (Din't find any better place to put).
    can any of SAP mentor tell me about copyright of blogs posted here in SDN? Because i have seen same blogs copied in some other sites with some other author name. Can we do anything on this regard?
    For example, one of my weblog is posted in some other site, with the name of some other person.
    SDN Link : /people/aashish.sinha/blog/2008/01/17/step-150-by-150-step-simple-approach-for-xslt-mapping
    Other site link : http://www.sap-xi.com/sap-xi-scenarios-file-file-xslt.html
    I hope you will find many blogs there copied from SDN blogs. It frustrate people.
    Regards
    Aashish Sinha

    Hi all,
    no no, not my honor. I received this note from the owner of that site:
    Amit Varghese
    <sender line remove>
    <remove to line>
    Reply | Reply to all | Forward | Print | Delete | Show original
    Hi Clemens,
    We have removed the scenario from our site.
    Thank you for informing us and sorry for the inconvenience caused.
    Thanks.
    Warm Regards,
    Thomas
    Proof: It's always better to communicate than to shout - I asked him to take action and he did.
    I don't know who's got the copyright for the nice graphics
    Regards,
    Clemens

  • Blog Post HEAD Content

    I have posted and submitted support request about this issue before but when will we be able to insert content into the head tag of a blog post?
    While majority of the time this is not an issue there are times when this is necessary.
    Here is an example:
         <style type="text/css">
          .slideshow img { display: none }
          .slideshow img.first { display: block }
         </style>
    The above code may or may not work inside a body tag it is invalid code. I can use inline styles but this is not always desirable.
    Here is another example that will never work in the body tag:
    <meta property="og:title" content="Title Text" />
    <meta property="og:type" content="article" />
    <meta property="og:url" content="URL Link" />
    <meta property="og:image" content="Image Path" />
    <meta property="og:image:type" content="image/jpeg" />
    <meta property="og:image:width" content="620" />
    <meta property="og:image:height" content="541" />
    <meta property="og:site_name" content="My Site Name" />
    I have asked support about this two separate times, the first response was this:
    We have confirmed it is an issue, and have created a ticket with our development team to investigate and resolve this.
    The ticket number is 3014970 for your reference.
    We will let you know once this issue has been resolved.
    Then I asked again several months later thinking I may have missed an update etc. and this was the response:
    Currently the only META that can be added to a blog is by creating a separate template that you will apply only to that blog (from Blog Details tab), that will apply to the whole blog and not to individual blog posts.
    So creating the structure as:
    <html>
    <head><title></title>
    ...meta data tags...
    </head>
    <body>
    </body>
    </html> will not work, as you already concluded, because the <head></head> section you put in the blog post will be rendered in the body.
    We have logged an issue for this with our development team to investigate and resolve.
    The ticket number is #bug=3014970 for your reference.
    Unfortunately I cannot provide you a clear ETA here on when this will be fixed, however what I suggest here is to keep an eye on our blog http://businesscatalyst.com/_blog/bc_blog – that’s where the releases and the planned work is being announced.
    While I do not know what it takes to add this functionality to the system and I make this following comment with that in mind it seems like this should be a necessary feature to implement into BC.
    Is there any ETA on this issue?
    Note: Creating a template for every blog post does not work. This would mean creating a template and a new blog for every post.

    While putting CSS into the body tag seems to work without issue I would prefer to put it into the head in its proper place.
    I am using this Javascript to do that:
    var ele = document.createElement("style");
    ele.type = "text/css";
    ele.innerHTML = "CSS CODE"; // Replace with CSS code.
    document.head.appendChild(ele);
    It works in all but IE8 and below (go figure). For IE8 I just left it in the body using IE conditional comments.
    Now if only we could come up with a bit of sorcery for the meta tags! 
    kenneth_rapp said:
    But every single bit of html and css and javascript rendered by our sites ought to be available to edit as we see fit, including what gets put out by the modules.
    I could not agree more. While I can see restricting this to some level there is much more I wish we could have access to and edit.
    Thanks for the Wizardly advice. =>

Maybe you are looking for