Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Question

Featured Replies

Hello, everyone.

 

I was wondering how you would build a site similar to worldnews.com. Where you would have news articles listed from different agencies such as CNN, BBC, Al Jazeera, etc. The script would have to create a page on your site for the updated news article containing a preview then the visitor would click a link to the full article.

 

In a way it's similar to RSS feeds but the script is creating a page on your site for each new article.

 

How would I go about doing this? Is there a script out there where you can do this?

 

 

Thanks for your feedback :hi:

There is no single script as such, however the technique used is well documented. You should also be aware that..

 

1. there are some copyright and site Terms of Use issues involved

2. it's fiddly enough trying to code this for one site let alone several different ones

3. if the target site changes its layout your script breaks

4. the process is server resource hungry and webhosts don't like that (unless you're on a VPS)

5. if they rumble you then IP bans are the kiss of death because your webserver is probably static

 

These are just a few of the problems in going after an ordinary website, but if the site(s) in question has defences in place such as IP based redirects, captcha, session ID's, ajax callbacks and viewstate information being passed then it's a way bumpier ride to get the data.

Edited by Sogo7

Take their news RSS feeds. Do some simpleXML or something on it. Avoids problems 2 and 3 above.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.