Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7762165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T14:19:33+00:00 2026-06-01T14:19:33+00:00

I wanted to remove the review section content from XML response I received from

  • 0

I wanted to remove the review section content from XML response I received from the goodreads api and display it.
It seems like its an Iframe.
SO any idea how to do this ??

<reviews_widget>
<![CDATA[
<style>
    #goodreads-widget { font-family: georgia, serif; padding: 18px 0; width:565px; } #goodreads-widget h1 { font-weight:normal; font-size: 16px; border-bottom: 1px solid #BBB596; margin-bottom: 0; } #goodreads-widget a { text-decoration: none; color:#660; } iframe{ background-color: #fff; } #goodreads-widget a:hover { text-decoration: underline; } #goodreads-widget a:active { color:#660; } #gr_footer { width: 100%; border-top: 1px solid #BBB596; text-align: right; } #goodreads-widget .gr_branding{ color: #382110; font-size: 11px; text-decoration: none; font-family: verdana, arial, helvetica, sans-serif; }
</style>

<div id="goodreads-widget">
    <div id="gr_header">
        <h1><a href="http://www.goodreads.com/book/show/2657.To_Kill_a_Mockingbird">To Kill a Mockingbird Reviews</a></h1></div> <iframe id="the_iframe" src="http://www.goodreads.com/api/reviews_widget_iframe?did=DEVELOPER_ID&amp;isbn=0061120081&amp;links=660&amp;min_rating=&amp;review_back=fff&amp;stars=fff&amp;text=000" width="565" height="400" frameborder="0"></iframe> <div id="gr_footer"> <a href="http://www.goodreads.com/book/show/2657.To_Kill_a_Mockingbird?utm_medium=api&amp;utm_source=reviews_widget" class="gr_branding" target="_blank">Reviews from Goodreads.com</a>
    </div>
</div>
]]>
</reviews_widget>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T14:19:34+00:00Added an answer on June 1, 2026 at 2:19 pm

    I was able to get the answer for this, though its just a simple solution ; may break 🙁
    But will work temporarily.

                Label lb2 = new Label();
                string st = html;
    
                int stindex, endindex;
                string subst;
                stindex = st.IndexOf("<iframe");
                endindex = st.IndexOf("</iframe>") + 9;
                int lin = st.LastIndexOf("</iframe>") + 9;
                while ((endindex <= lin) && (stindex > 0))
                {
                    subst = st.Substring(stindex, endindex - stindex);
                    lb2.Text = subst;
                    PlaceHolder1.Controls.Add(lb2);
                    st = st.Substring(endindex);
                    stindex = st.IndexOf("<iframe");
                    endindex = st.IndexOf("</iframe>") + 9;
                }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I wanted to remove things like: .!,'^-# from an array of strings, how
Let's say I wanted to remove vowels from HTML: <a href=foo>Hello there!</a>Hi! becomes <a
I am using Accordion from WPFToolkit and wanted to remove the accordion item arrow
If I have a string with values like A,B,C,D,E,F, and I wanted to remove
I just wanted to know if there is a way on how to remove
I'm using a enhanced for loop over an ArrayList and wanted to remove some
for a mistake. I used a wrong command. I wanted to remove an user'
Possible Duplicate: PHP: How to remove specific element from an array? How can i
I wanted to remove this hover effect for buttons, instead i want to change
I was working on my game last night in XCode and wanted to remove

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.