LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-22-2017, 02:59 AM   #1
rosannaberardi
LQ Newbie
 
Registered: Sep 2017
Location: Buffalo, New York
Posts: 1

Rep: Reputation: Disabled
Need To Fetch Live Upates From A News Website


I wan to fetch new live news updates from other news website and post it on my immigration law [link removed by moderator] websites. Can anyone suggest me something.

Last edited by astrogeek; 09-22-2017 at 12:36 PM. Reason: Removed site link
 
Old 09-22-2017, 03:24 AM   #2
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
DuckDuckGo.


(Try: RSS &c...)

Add::: plus, read between the lines.

Last edited by jamison20000e; 09-22-2017 at 03:26 AM. Reason: add
 
Old 09-22-2017, 05:26 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,476

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Just be aware that if your site consists mainly of content scraped from other websites you will suffer or may even be de-indexed by search engines.
 
Old 09-22-2017, 05:41 AM   #4
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,328
Blog Entries: 3

Rep: Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726
How is your current web site built? Is it using static XHTML, or a static builder like Jekyll or Hugo, or something messy yet expandable like Wordpress or Drupal?

If it is static, then you can write something in perl to process the other sites' RSS and Atom feeds and either make a separate web page or insert material between two markers on an existing page. If it is something like Drupal, then there should be a plug-in that you can add that will do the same thing.
 
Old 09-22-2017, 05:59 AM   #5
fenice
Member
 
Registered: Apr 2006
Distribution: CentOS openSUSE
Posts: 55

Rep: Reputation: 9
Isn't the o/p just advertising their web site, it smells like spam to me.
 
4 members found this post helpful.
Old 09-22-2017, 06:25 AM   #6
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Between the lines...
 
Old 09-22-2017, 12:39 PM   #7
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196
Please note that advertising is not allowed in the forums.
Please contact ads@linuxquestions.org if you are interested in advertising on LQ.

Please also review the LQ Rules and Site FAQ to guide acceptable use of the forums.
 
Old 09-22-2017, 01:11 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
trying to be constructive:
i think you should first look if the site itself provides this - called a 'feed' - usually RSS or Atom, afaik.
then, we'd really need more info about how exactly you want to implement what.
 
Old 09-22-2017, 01:11 PM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Use the RSS, or similar, link provided by the news site(s).
If not available then ask them for it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
TV News: CNN International and BBC News live TV for mplayer ? patrick295767 General 1 12-07-2015 03:53 PM
Embed google news on website harry_ord General 3 09-20-2013 06:15 PM
Running Package Upates RH Ver 5 Morgandy Linux - Newbie 4 01-11-2010 09:30 AM
mplayer fetch subtitles option: --fetch-subs frenchn00b Linux - General 1 11-09-2009 11:21 PM
Red Hat - Browser does not fetch website but ping works learningkid Red Hat 3 09-12-2004 11:34 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration