Adblock breaks this site

RSS Question

Discussion in 'Programming General' started by Anet390, Sep 8, 2014.

  1. Anet390

    Anet390 Grand Master
    $5 USD Donor New

    Joined:
    Jun 3, 2010
    Posts:
    2,223
    Referrals:
    1
    Sythe Gold:
    291
    Cryptocurrency Discussion Participant Paper Trading Competition Participant
    RSS Question

    I've recently been learning some web development (mostly HTML5) and I was wondering if there would be a way to search a website or specific page (essentially cntrl f) and take the line of text containing your search and add it to an RSS feed? For example if I wanted to create an RSS feed of all new Sythe threads containing the phrase "dungeneering", could I search for the phrase in new theads then relay the results into an RSS feed, which would then be useable on a website (or possibly an app)..


    Followup questions. I am very new to coding in general and I'm not sure what languages to work on for what I want to do. I know the most web-related programming knowledge, but I also have a few ideas for apps. What is the best language to code apps in? What helps with creating apps? Do any of you know non-web languages (Java, C++, etc) AND web ones (Javascript, PHP)? Is it worth learning both web and non web?

    Sorry for all the questions. I just really enjoy programming and am learning it very very rapidly (the programming format and style are easy for me to understand), I just want to make sure I'm taking the right approach.
     
  2. 70i

    70i Forum Addict
    Banned

    Joined:
    Jan 11, 2014
    Posts:
    462
    Referrals:
    0
    Sythe Gold:
    174
    RSS Question

    https://www.google.com/webhp?source...=2&ie=UTF-8#q=php search a webpage for string

    The first link there shows a way to search for some text in a webpage using php. I don't know much about RSS feeds but from what I understand it's just an xml file. You could write the xml flie in php using the information you searched for. If you search "php rss" you can find more specific examples. I'm sure you could use javascript for this as well, but I would prefer php.

    Don't worry about what languages you're learning. Many languages can do the same things, and have similar concepts. Learn whatever keeps you interested and you find most useful.

    Android apps are coded in Java. IOS mostly objective C.
     
  3. Anet390

    Anet390 Grand Master
    $5 USD Donor New

    Joined:
    Jun 3, 2010
    Posts:
    2,223
    Referrals:
    1
    Sythe Gold:
    291
    Cryptocurrency Discussion Participant Paper Trading Competition Participant
    RSS Question

    Thanks.. I can't really program C or C++ efficiently because I mostly use mac computers. Java has very similar concepts as Javascript, except I think the scoping is different.
     
  4. SuF

    SuF Legend
    Pirate Retired Global Moderator

    Joined:
    Jan 21, 2007
    Posts:
    14,212
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary
    RSS Question

  5. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    RSS Question

    Looking into string parsing. You'd basically be looking at a register of all most recently posted Sythe threads (I'm sure there's a page for it on the forums somewhere) and pulling out the URLs you want. If you're using PHP substr() is a good place to start.

    Afterwards it's just a matter of plugging in your parsed output into your feed.
     
< Looking for help figuring out why I cant connect to mysql server [paying] | [PYTHON] Theatre booking system >


 
 
Adblock breaks this site