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.

OneGoodMan

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    The biggest problem with retrieving dynamic content from external websites is that the structure of the target may change and breaks all your regex. It's not really the cron timers fault but the script being called by cron is where the error log will point.
     
    Behind the scenes of my little job hunting project a similiar process takes place with a cron job banging away at a fetch_data script and the output is stored in the database.
     
    When a results page is initially loaded the stored content is shown but an AJAX call also fires the same fetch_data script and when that comes back with the most recent data a few seconds later this gets swapped into the page for the human visitor to see (& database gets updated).
     
    If googlebot runs over the site a server side trip goes off and calls the same fetch_data script. We then decide if the bot gets fed the existing stored content or is forced to wait for the new data thus controlling what google percieves as the loading time.
     
    That all may seem a lot of messing about to display dynamic content but has several advantages;
     
    1.Visitor is happy because they had something to look at while waiting.
    2.Google is happy because it finds almost fresh new content & a quick load time.
    3.If the cron job or fetch_data script ever fail the site would still function for visitors by showing the last lot of information.

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.