Calling Rss feed from Script Editor webpart

I am trying to add this script to Script Editor webpart and this doesnt work. I dont see anything on webpart. Can anyone help me
where I went wrong. 
<html>
<head>
<script type="text/javascript">
$(document).ready(function()
$.ajax(
type:”GET”,
url: "rssreader.com/englishfeeds.xml",
datatype:”xml”,
success:function(xml)
$(xml).find(‘item’).each(function()
Var Title=$(this).find(‘title’).text;
Var link=$(this).find(‘link’).text;
$(“body”).append(‘<div><span>’+Title’</span><span>’+Description’</span></div>’)
error:function()
Alert(‘Sorry Error occurred’);
</script>
</head>
<body>
</body></html>

Not sure but somehow your quotes seems different then they should actually look.
//Replace
type:”GET”,
//Replace With
type:"GET",
Do similar changes at other places as well both for double quotes as well as single quotes.
Also, replace
$(this).find(‘title’).text
with
$(this).find('title').text();
Do similar change for link as well
Also where you are appending the html, where are you getting the Description from ?? Also there is a missing + symbol after Title there.
Do the above changes and see if that helps
Geetanjali Arora | My blogs |

Similar Messages

  • Need help with reading RSS feed from SSIS

    Hi all,
    I am trying to read RSS feed from SSIS by using the Script Component. So far I am able to read some information from the RSS feed from the following items included in the code, Title, PublishDate, LastUpdateTime, Id and Summary.
    There are still more item but I am unable to identify the proper data type for the following:
    //Output0Buffer.Description = item.Content;
    //Output0Buffer.Category = item.Categories;
    //Output0Buffer.Comments = item.Summary;
    //Output0Buffer.Source = item.SourceFeed;
    When I define the data for item.Content as Unicode String in the column properties for the Output column I get the following error message:
    Error 1 Cannot implicitly convert type 'System.ServiceModel.Syndication.SyndicationContent' to 'string'
    And the same error for the other three variables.
    I am using HTTP Connection manager to read the xml link.
    I tried to google around for some help but I could not find more information about the datatype.
    I appreciate any help if someone can point me to the right solution for reading RSS feed from SSIS.
    Code:
    /* Microsoft SQL Server Integration Services Script Component
    * Write scripts using Microsoft Visual C# 2008.
    * ScriptMain is the entry point class of the script.*/
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
    using Microsoft.SqlServer.Dts.Runtime.Wrapper;
    using System.ServiceModel.Syndication;
    using System.Xml;
    using System.Text;
    [Microsoft.SqlServer.Dts.Pipeline.SSISScriptComponentEntryPointAttribute]
    public class ScriptMain : UserComponent
    private string url = string.Empty;
    private SyndicationFeed feed = null;
    private XmlReader reader = null;
    public override void PreExecute()
    base.PreExecute();
    // Get the URL from the Http Connection Manager.
    // Note, we're not actually using the connection manager's connection object,
    // just it's URL setting. This is because using the .NET connection classes
    // give us more flexibility.
    reader = XmlReader.Create(Connections.HttpConnection.ConnectionString);
    feed = SyndicationFeed.Load(reader);
    public override void PostExecute()
    base.PostExecute();
    reader.Close();
    public override void CreateNewOutputRows()
    if (feed != null)
    foreach (var item in feed.Items)
    Output0Buffer.AddRow();
    Output0Buffer.Title = item.Title.Text;
    Output0Buffer.PublishDate = item.PublishDate;
    Output0Buffer.LastUpdatedTime = item.LastUpdatedTime;
    Output0Buffer.Link = item.Id;
    //Output0Buffer.Description = item.Content;
    //Output0Buffer.Category = item.Categories;
    //Output0Buffer.Comments = item.Summary;
    //Output0Buffer.Source = item.SourceFeed;
    Output0Buffer.FeedImage.AddBlobData(ConvertToBytes(item.Summary));
    string authorName = string.Empty;
    if (item.Authors.Count > 0)
    // take the first author
    authorName = item.Authors[0].Name;
    Output0Buffer.Author = authorName;
    Output0Buffer.SetEndOfRowset();
    private byte[] ConvertToBytes(TextSyndicationContent content)
    if (content != null && !string.IsNullOrEmpty(content.Text))
    // convert the string buffer to UTF8 so we can store it in an NTEXT column
    var encoding = new UTF8Encoding();
    return encoding.GetBytes(content.Text);
    return new byte[0];
    Thanks in return.

    You need to make it running outside SSIS 1st. I just do not see why you need to publish it here at the moment.
    And to solve it, doesn't C# has the
    VAR datatype so you do not have to guess.
    Arthur
    MyBlog
    Twitter

  • How can I create an RSS feed from my Azure Storage Blob?

    I'm a Tech Evangelist at Microsoft, based out of Philadelphia. I also have a podcast,
    http://indiedevpodcast.wordpress.com/, and was previously hosting my show on PodOmatic.
    I made the switch to Azure blog storage today, and I'm able to get the content there:
    https://indiedevpodcast.blob.core.windows.net/podcasts/Ep%2016%20Wimbus%20Studios.mp3/
    The issue though, is how do I generate an RSS feed from my podcasts in Azure blog storage?  It says "file not found", but it opens up Window Media Player and plays the file for me.
    *shrug*
    Is this what I'm looking for? http://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-blobs/
    Thanks! 
    MS Tech Evangelist - Philadelphia | Baltimore Previously: Xbox Engineer at Comcast www.DavidVoyles.wordpress.com

    Hi,
    Thank you for reaching out to us.
    I am currently researching to gather more information with regards to your request.
    I shall revert back to you with an update at the earliest.
    Sincerely appreciate your patience.
    Regards,
    Shirisha Paderu

  • RSS Feed from rss generator's new app has changed the feed. Now the description of apps is not showing. the rest is the same. Anyone has an idea why ?  and how do I get the description? if I fetch it from itunes pages would that be considered violation of

    RSS Feed from rss generator's new app has changed the feed. Now the description of apps is not showing. the rest is the same. Anyone has an idea why ?  and how do I get the description? if I fetch it from itunes pages would that be considered violation of apple's terms and conditions? Please help

    See this post.
    tt2

  • Display RSS feed from external site on my page

    HI,
    I need to know if it is possible with CFMX7 to grab rss feeds
    from a remote location and just display it on my site?
    How to?

    well, cf8 has a new <cffeed> tag... and though i have
    not ever needed to
    use it (i prefer to create my feeds manually), it is
    *supposed to* make
    creating and consuming (readin) rss and atom feeds a
    breeze... but
    judging by many a blog posts, it is not without bugs...
    google <cffeed>, and check out ray camden's blog at
    coldfusionjedi.com
    for many posts on this tag
    but there is really nothing stopping you from using
    <cfhttp> + <cfxml>
    tags in cf7 to achieve what you want...
    as for porting cf7 apps to cf8 - it is usually painless, but
    depending
    on the complexity of your server/hardware configuration, it
    may require
    close attention to minute details
    just to check if you code runs fine in cf8, there is a code
    analyser
    available in cf admin.
    hth
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

  • "Files" and other tabs not visible for document library after script editor webpart is added

    I created a document library and uploaded a few documents to ti.  On the ribbon, I could see both "Files" and "Library" tabs.  I then added a Script Editor webpart to this page because I needed to run some javascript on this
    page.  Now, when I go to that document library page (AllItems.aspx) then I don't see the Files and Library tab.  My guess is that this is because these tabs are context sensitive so they only appear when Sharepoint knows you're working with a document
    library and since now I have both the webpart that shows the document library and the Script editor webpart, that context is not there.  If I click somewhere on the page close to the actual list of documents, then the Files and Library tabs reappear since
    now Sharepoint knows that I'm working with a document library.  Is there any way aroudn this?  We don't want to have to ask our customer to click somewhere on the screen in order to get access to these tabs.  I'm not sure why Sharepoint would
    be confused by the Script editor webpart.  It is not visible so when the page is not in edit more, you can't even see that Script editor.  So, my question is: is there any way to:
    - either find some other way of using javascript on this page (maybe external javascript file with some link to it on the page?
    - or, some way to force the Fiels and Library tabs to be visible no matter what (i.e. despite having the Script editor webpart on the page).
    I also experienced this issue when I wanted to insert some customized text on the same page that had a document library.  For example, I created a document library and then on the AllItems.aspx page I inserted a content editor webpart so that I can
    show some text at the top.  That also caused the Files and Library tabs to disappear.
    thanks,

    Hi,
    I understand Files/Libraray tab disappear after you add web parts to a document library, once you click somewhere in library list, it will appear again.
    This is by design. As workaround, please try to use SharePoint Desginer to edit Allitems page of document library instead of using script web part.
    https://social.msdn.microsoft.com/Forums/office/en-US/fd1bb098-6425-437c-b3f8-25bf65bcaad3/ribbon-control-disappears-on-sharepoint2013-document-libraries-when-content-editor-web-part-has?forum=sharepointdevelopment
    Regards,
    Rebecca Tu
    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]

  • How to add script editor webpart into xml format

    Hi,
    I need to add the script editor webpart on to my sharepoint page using this format :
    <AllUsersWebPart WebPartZoneID="WebPartZone6" WebPartOrder="1">
            <![CDATA[
          <webParts>
           <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
            <metaData>
               <type name="Microsoft.SharePoint.WebPartPages.ScriptEditorWebPart, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
               <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
            </metaData>
            <data>
             <properties>
              <property name="Title" type="string">$Resources:core,ScriptEditorWebPartTitle;</property>
              <property name="Description" type="string">$Resources:core,ScriptEditorWebPartDescription;</property>
              <property name="ChromeType" type="chrometype">None</property>
                  <property name="Content" type="string">
                       &lt;style type=&quot;text/css&quot;&gt;.header {;top: 100px;left: 10px;width: 100%;color:#ff8800!important;}.headerpara {;top: 140px;left:
    10px;width: 90%;color:white;}.image {;width: 100%;}.heading {;bottom: 10px;left: 20px;width: 85%;color: white!important;}&lt;/style&gt;
                  </property>
             </properties>
            </data>
           </webPart>
          </webParts>
            ]]>
    the webpart is successfully added to the page but when it renders it's css is not got applied on to the page instead the css gets render as a text which is :
    <style type="text/css">.header {;top: 100px;left: 10px;width: 100%;color:#ff8800!important;}.headerpara {;top: 140px;left: 10px;width: 90%;color:white;}.image {;width: 100%;}.heading {;bottom: 10px;left: 20px;width: 85%;color: white!important;}</style>
    i follwed the follwing link as an example :http://sharepointsnacks.blogspot.in/2014/02/sharepoint-2013-script-editor-web-part.html
    i am not sure is there anything which i am doing wrong but struggling a lot with this .
    Any help appreciated .
    Thanks

    Hi Avnish Gupta,
    Continue to Lakshmanan, you may need to add your CSS Styles in a <ContentLink> tag like below:
    <ContentLink xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor" />
    </Content>
    More information:
    Adding content editor web part with default content through Visual Studio:
    http://spointdebo.blogspot.jp/2013/12/adding-content-editor-web-part-with.html
    Best regards
    Zhengyu Guo
    TechNet Community Support

  • RSS feed FROM a iweb page?

    Is it possible to create an RSS feed FROM one of my pages created in iweb, so that I can link to it on another site, such as Flavors.me?
    thanks

    How come it's not showing any of the records in the database as items in the feed? Here is the feed and the .asp file code below...
    http://www.ocfs.state.ny.us/main/rssFeed2.asp
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <%
    Dim MM_conn_STRING
    MM_conn_STRING = "Provider='SQLOLEDB';Data Source='SQLCFS0A1AAV,1533';Initial Catalog=OCFSWeb;User Id=ohrd;Password=ohrd;"
    %>
    <%
    Dim rsAll
    Dim rsAll_cmd
    Dim rsAll_numRows
    ' Query the database and get all the records from the Images table
    Set rsAll_cmd = Server.CreateObject ("ADODB.Command")
    rsAll_cmd.ActiveConnection = MM_conn_STRING
    rsAll_cmd.CommandText = "SELECT * FROM Images"
    rsAll_cmd.Prepared = true
    Set rsAll = rsAll_cmd.Execute
    ' Send the headers
    Response.ContentType = "text/xml"
    Response.AddHeader "Pragma", "public"
    Response.AddHeader "Cache-control", "private"
    Response.AddHeader "Expires", "-1"
    %><?xml version="1.0" encoding="utf-8"?>
    <rss version="2.0">
    <channel>
    <title>NYS OCFS RSS Feed</title>
        <link>http://www.ocfs.state.ny.us</link>
    <description>The Office of Children and Family Services serves New York's public by promoting the safety, permanency and well-being of our children, families and communities. We will achieve results by setting and enforcing policies, building partnerships, and funding and providing quality services.</description>
      <root>
        <% While (NOT rsAll.EOF) %>
    <row>
       <%
       For each field in rsAll.Fields
       column = field.name
       %>
      <<%=column%>><![CDATA[<%=(rsAll.Fields.Item(column).Value)%>]]></<%=column%>>
      <%
       Next
      %>
    </row>
        <%
       rsAll.MoveNext()
    Wend
    %>
    </root>
    </channel>
    </rss>
    <%
    rsAll.Close()
    Set rsAll = Nothing
    %>
    Can anyone help??
    Thanks!

  • Create RSS feed from HTML DB?

    I've been using a streaming RSS feed extension in Firefox for several months now and get feeds from all over including asktom.oracle.com and http://www.oracle.com/technology/products/database/htmldb/index.html. Very cool.
    Recently I've installed HTML DB and have begun creating some basic reports - nothing very dramatic as I'm just learning. Now I'd like to begin sending out RSS feeds from my HTML DB application to my RSS extension in my Firefox browser but can't find an easy way to do it.
    I see several posts of others wishing to do the opposite (read RSS feeds into their HTML DB application) but nothing that shows how to create a feed from HTML DB.
    I looked at Tom's description of his method at http://asktom.oracle.com/~sdillon/rss.html but this seems very cumbersome to me - is there an easier way?
    I would think that there should be a "create RSS" feed button somewhere in the HTML DB interface when I'm defining the page's attributes.
    Thanks in advance for any advice/suggestions.

    Actually, Tom's method is not as hard as it looks.
    You can really just copy it all into your own procedure and replace the inner query.

  • RSS feed from Snow Leopard server

    I want to host an RSS feed from my server. What settings would be necessary to accomplish this?

    The first things to do would be to download a program that will maintain your RSS feed.  Podcast spitter from the app store was the top hit when I did a search.  I've not used it, but it appears that it'll do the trick.
    Next, just create a website using the web service in Snow Leopard Server.
    Point Podcast Spitter at the share that hosts your web site and that should do the trick.
    When you upload your RSS feed, all the stuff needed to make it an RSS feed should go with it.
    Granted it's a VERY thinned out version of the steps needed to take, but the concepts are correct.
    If you need a more detailed description, write back with more info about how your server is set up and how it's connected to the internet.
    HTH
    -Graham

  • RSS Feed from dynamic asp page...?

    I want to create an RSS feed from the dynamic database content on this page, as well as many others like it, so whenever a new database record is added to the sql server database, the rss feed is automatically updated as well with a new entry. I have wracked my brain on this for days but i believe it might be a pretty straightforward process.  Any ideas...??
    http://www.ocfs.state.ny.us/main/defaultdatabaserss.asp
    SMAN

    How come it's not showing any of the records in the database as items in the feed? Here is the feed and the .asp file code below...
    http://www.ocfs.state.ny.us/main/rssFeed2.asp
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <%
    Dim MM_conn_STRING
    MM_conn_STRING = "Provider='SQLOLEDB';Data Source='SQLCFS0A1AAV,1533';Initial Catalog=OCFSWeb;User Id=ohrd;Password=ohrd;"
    %>
    <%
    Dim rsAll
    Dim rsAll_cmd
    Dim rsAll_numRows
    ' Query the database and get all the records from the Images table
    Set rsAll_cmd = Server.CreateObject ("ADODB.Command")
    rsAll_cmd.ActiveConnection = MM_conn_STRING
    rsAll_cmd.CommandText = "SELECT * FROM Images"
    rsAll_cmd.Prepared = true
    Set rsAll = rsAll_cmd.Execute
    ' Send the headers
    Response.ContentType = "text/xml"
    Response.AddHeader "Pragma", "public"
    Response.AddHeader "Cache-control", "private"
    Response.AddHeader "Expires", "-1"
    %><?xml version="1.0" encoding="utf-8"?>
    <rss version="2.0">
    <channel>
    <title>NYS OCFS RSS Feed</title>
        <link>http://www.ocfs.state.ny.us</link>
    <description>The Office of Children and Family Services serves New York's public by promoting the safety, permanency and well-being of our children, families and communities. We will achieve results by setting and enforcing policies, building partnerships, and funding and providing quality services.</description>
      <root>
        <% While (NOT rsAll.EOF) %>
    <row>
       <%
       For each field in rsAll.Fields
       column = field.name
       %>
      <<%=column%>><![CDATA[<%=(rsAll.Fields.Item(column).Value)%>]]></<%=column%>>
      <%
       Next
      %>
    </row>
        <%
       rsAll.MoveNext()
    Wend
    %>
    </root>
    </channel>
    </rss>
    <%
    rsAll.Close()
    Set rsAll = Nothing
    %>
    Can anyone help??
    Thanks!

  • Exporting my RSS Feeds from Mail

    Is there a way to export my RSS feeds from Mail 3.0 so that I can then reimport them in another iMac at work. I don't have (nor do I want to purchase .Mac for synchronizing), but if there is a way to just export those and import them into Mail on another machine, I'd appreciate it.
    Thanks!
    - Marcelo

    It's pretty crude but I have an Applescript which scans the Mail RSS folders and dumps an OPML file on your desktop. I wrote it to get a copy of all my feeds for Google Reader - hopefully it'll work for you too...
    http://homepage.mac.com/neilgall/Files/Mail%20RSS%20to%20OPML.zip
    Neil

  • Help Syncing RSS Feeds from Mail onto Iphone

    Hi, Appreciate any ideas on syncing RSS feeds from Mail onto an iphone.
    Like receiving RSS feeds in Mail into my inbox rather than using a separate reader such as Netnewswire/Google Reader/etc.
    Also would prefer not to have to use safari bookmarks if possible.
    Feedback on maybe using Rules to forward RSS feeds to an email address to show up in a mailbox which could then be accessed in Mail on the iphone (I have a Mobile Me account) so thought this might work (and the rule might clear the RSS feed).
    Appreciate the input. Cheers, Tony

    Also would prefer not to have to use safari bookmarks if possible.
    There is an option under the info tab when you plug in your iPhone to not sync bookmarks.

  • Create RSS feeds from KM News

    Hi all,
    is it possible to create RSS feeds from the standard News items created with Form Based Publishing (XML Forms builders)? In other words, instead if just displaying those news items in the portal, can they be displayed in an RSS reader as well?
    Since it's all XML I would say it is possible, right?
    please advice
    Marcel

    Hi Marcel,
    jRSS - Simple Java RSS Feed Generator
    A simple java API to produce Really Simple Syndication (RSS) documents following the specification version 2.0
    http://sourceforge.net/projects/jrss/
    http://cephas.net/blog/2003/09/07/creating-rss-using-java/
    So generate the RSS in the KM folder where your XMLForm datas are saved.
    After that create a component that accesses this RSS and shows it. You can use RSS Viewer librarys to achieve this:
    http://sourceforge.net/projects/rssview/
    So steps are:
    1. Create RSS and save as resource in KM.
    <b>Create a Repository Service, which creates this RSS and also updates it when contents in the folder changes.</b>
    2. Read this resource using a component and create IView from this component.
    I am sure that there are lots of other approches to implement this solution.
    Greetings,
    Praveen Gudapati
    [Points are always welcome for helpful answers]

  • Using RSS Feed from SDN

    Hi ,
    I am trying to use the RSS feeds from SDN.
    For example : https://forums.sdn.sap.com/rss/rssmessages.jspa?forumID=41
    I have created an XML iview , given this url , added transformers RSS - XHTMLB and XHTMLB-HTML.
    I have also done the proxy configuration in portal. I get this following error.
    "Error while using XML iView, please contact your system administrator". Is there some other configuration to be done ?
    My EP version is EP 7.0 SP 9.
    Thanks and Regards
    Bharathwaj

    Hi colleague,
    One question, did you solve it? Actually I have the same problems.

Maybe you are looking for

  • How do I convert a Finale Notepad file to ".pdf?"

    I have created a music notation score and in the online "help" from Finale, they suggest if you want to save a file as .pdf you have to purchase Acrobat. I did. When I tried to follow the directions below I cannot find the "postscrip" (*.ps) file tha

  • Use of a content server to store attachments in SRM

    Hi all, We already have an SRM system in production storing many large attachments on table BBPCONT. We are facing huge performance problems because:        a) SRM holds the whole file content in memory during document upload.        b) During the pr

  • Cannot render video - stuck during "Initializing video export..."

    Hi, I am trying to render videos in PS CC 2014. Running win7x64 with 16GB ram. These videos were already rendered in previous version - PS CC with no problems! When I try to render in PS CC 2014 I get stuck during the first stage, right after i selec

  • Cant read the sessionstore.bak/js file

    After firefox updated to the latest version it crashed constantly. With the latest crash all my tabs were gone. I made multiple backups so this should not be that much of an issue. Only problem is, replacing the sessionstore.js file with the .bak doe

  • How to run process chains

    hi, this is sudhakar pls any one tell me I prepaired process chain but i dont know how to start how it run daily automatically pls any one give ans thanks sudhakar