mmm / practice-yoga-clock

clock for practiceyogaaustin.com
Apache License 2.0
0 stars 0 forks source link

slurp schedule information #1

Open mmm opened 9 years ago

mmm commented 9 years ago

faithfully from the main website practiceyogaaustin.com website.

Match on recognized class names... skip other things like "Workshop" so the time for those can be a little more flexible.

Might not be the best solution going forward, but's a good soln for now

mmm commented 9 years ago

in jquery, $("#destination").load("/path/to/table/ #tableid");

mmm commented 9 years ago

hmmm... this is at least interesting:

mmm commented 9 years ago

hmmm... it's at least worth keeping in mind that we might be able to do all of this from macros in google spreadsheets... keeping

https://docs.google.com/spreadsheets/d/1WV0hxfjPax6kViH5zHAa48s8SpbAPRhyGL5b4kzgwR4/edit?usp=sharing

around to play with this

mmm commented 9 years ago

although might be easier to just use plan wp php... a la

<?
$the_query = new WP_Query( 'page_id=7' )
while ( $the_query->have_posts() ) :
    $the_query->the_post();
        the_title();
        the_content();
endwhile;
wp_reset_postdata();
?>