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 6575233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:21:42+00:00 2026-05-25T15:21:42+00:00

I want to use jsoup just to parse the middle text telling you about

  • 0

I want to use jsoup just to parse the middle text telling you about the title.

http://www.upcominggames.com/2113/Halo+Combat+Evolved+Anniversary/
http://www.upcominggames.com/478/Gears+of+War+3/

What would the jsoup tags be to parse this and extract just the article?

What would be a common selector for the two articles above?

EDIT:

What i want to do is parse this part

Gears of War 3 Facts
Gears of War 3 is a third-person shooter published by Microsoft and developed by Epic Games, and it is set to be released on September 20, 2011 in the US, Australian and Europe and on September 22 in Japan.

Gears of War 3 Synopsis

This Xbox 360 exclusive conclusion to the Gears of War trilogy, Gears of War 3 places players in the middle of an exciting experience and story of survival, hope and brotherhood. This third-person shooter dramatically leads players through the exciting world with more color and detail than ever before. Plus, its exciting multiplayer mode will lead players wanting more even after they’ve finished the campaign.

Gears of War 3 Gameplay
Anyone who has played a Gears of War game will feel familiar when they play Gears of War 3, but that doesn’t meant they won’t be faced with a few new surprised. The environments are much more detailed and immersive, adding to the excitement and thrill the Gears of War franchise is known for. Featuring more enemies than previous installments of the Gears of War series, Gears of War 3 will offer players a brand new challenge as they try to save the human race from complete destruction. If players own a 3D TV, they’ll be able to play this new installment in 3D to have a completely immersive experience.

Gears of War 3 Multiplayer
The multiplayer additions to Gears of War 3 make the game a big step up from Gears of War 2. Starting with dedicated servers to handle matchmaking, Epic Games has put a lot of effort into making this the best Gears experience yet. With Capture the Leader, King of the Hill and other multiplayer modes, players will be able to take their game online against other players in exciting deathmatches.

I want to parse the Bold into a seperate textView and then under it i want to load its content.
Basically just how it is above.

If you hilight the text and click view selection source youll see what i trying to parse

I am familiar with jsoup. Just need some help on this part.

  • 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-05-25T15:21:42+00:00Added an answer on May 25, 2026 at 3:21 pm

    Yes, I get what you’re saying. I think that Jsoup would easily extract this if you study the web page source code and find common linking tags and attributes. Ones to try include:

    • get the Elements that have the tag “div”
    • the attribute “id” that is assigned “game-desc”

    The text returned from just these two filters will likely get you what you want.

    e.g.,

    Edit: code simplified to use select(…)

    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.List;
    
    import org.jsoup.Jsoup;
    import org.jsoup.nodes.Document;
    import org.jsoup.nodes.Element;
    import org.jsoup.select.Elements;
    
    public class HaloStuff {
       private static final String TEST_URL_1 = "http://www.upcominggames.com/" +
            "2113/Halo+Combat+Evolved+Anniversary/";
       private static final String DIV_TAG = "div";
       private static final String ID_ATTR = "id";
       private static final String GAME_DESC = "game-desc";
    
       public static void main(String[] args) {
          Document jsDoc = null;
    
          List<String> textList = new ArrayList<String>();
    
          try {
             jsDoc = Jsoup.connect(TEST_URL_1).get();
    
             Elements textEles = jsDoc.select("div[id=game-desc]");
             for (Element ele : textEles) {
                System.out.println(ele.text());
             }
    
          } catch (IOException e) {
             e.printStackTrace();
          }
       }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On our site www.foo.com we want to download and use http://feeds.foo.com/feed.xml with Javascript. We'll
http://support.xbox.com/en-us/contact-us uses javascript to create some lists. I want to be able to parse
I want to send a simple http notification after user hit DONE. I use
i use jsoup to extract the links from a website. i want to extract
I want to use Jsoup as an external JAR with GWT on the client-side.
I want to call a method in jsoup dynamically. Here is my use case,
I'm using Java and Jsoup to parse HTML pages and I want to get
I want to use jSoup on GWT server side code to be able to
I want use this 1 for using Bar code or QR code scanner. I
I want use BYTE_ORDER macro in my Xcode project but i can't because i

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.