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.

Is this possible?

Featured Replies

Hi all,

 

I am what you would call a "newbie" when it comes to any form of web design but set up a simple website for my old man promoting his apartment in tenerife - Tenerife Apartment

 

We have a maintenance company that lists availability on their website their website would it be possible to display this information on my site? I am slightly against linking to their site as it promotes a variety of other apartments in the area. Tried copying the HTML code from the page source however only get a calender with no information on it.

 

Thanks for any advice.

 

Smokey

Welcome to WDF!

 

The availability site won't let you display the date info unfortunately, at least not in it's current format. The best you might do is contact the site owner and see if they have a data feed that you can put on your site, but I doubt if they will have that. Worth asking though!

  • Author

Thanks bluedreamer,

 

Thought so - shame as it would have looked great on the site. Cheers for checking.

 

Smokey

actually you can get that info ... i believe you copied the html part like this one:

<table class="bpcalendar">
<tr>
<th colspan="7" class="calendartitle">June, 2008</th>
</tr>
<tr>
<th>S</th>

<th>M</th>
<th>T</th>
<th>W</th>
<th>T</th>
<th>F</th>
<th>S</th>

</tr>
<tr>

<td class="available">1</td>
<td class="available">2</td>
..... REST OF THE DATES HERE
<td class="bookedstart">14</td>

 

You should also get the CSS associated with that html (classes "available", "bookedstart" will get styled accordingly ).

  • Author
actually you can get that info ... i believe you copied the html part like this one:

<table class="bpcalendar">
<tr>
<th colspan="7" class="calendartitle">June, 2008</th>
</tr>
<tr>
<th>S</th>

<th>M</th>
<th>T</th>
<th>W</th>
<th>T</th>
<th>F</th>
<th>S</th>

</tr>
<tr>

<td class="available">1</td>
<td class="available">2</td>
..... REST OF THE DATES HERE
<td class="bookedstart">14</td>

 

You should also get the CSS associated with that html (classes "available", "bookedstart" will get styled accordingly ).

 

Sorry - but you lost me very quickly there. As mentioned I am a simply newbie using Weebly for this site. Is there another way of explaining it or is this to complex for me?

actually you can get that info ... i believe you copied the html part like this one:

 

You should also get the CSS associated with that html (classes "available", "bookedstart" will get styled accordingly ).

 

@Mihai - that would copy a static calendar, but I think SmokeyBubbles wanted it to auto update.

@Mihai - that would copy a static calendar, but I think SmokeyBubbles wanted it to auto update.

If that is indeed the case it can still be done.

I'm guessing that if you couldn't figure out the CSS part, telling you about this more complicated example won't get you far either, but here goes:

 

You can use cURL (if your host provides php with the cURL library) to automatically (and even dinamically) parse that page and get the info you need.

To find out if you have cURL installed you can put <?php echo phpinfo(); ?> in a php file on your website and run in into the browser. It outputs a lot of useful info.

 

There are many ways you can do this ... you can even cache the result into a database etc.

 

If you really want this on your website and can't figure it out I can create a script for you for a small fee. (shameless self promo ^_^ )

  • Author

Thanks for all the advice but it looks to complex for me. I appreciate the offer Mihai but to honest for what the site does its not worth it. I just thought I might be missing something simple.

 

Thanks again.

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.