Songkick widget not displaying when pasted into HTML website - javascript

I am trying to get the Songkick widget to work on my website but for some reason it doesn't seem to be pulling through the JS form correct and instead is just displaying the Title of the form.
Any ideas?
address is www.ekkoes.com/live
Thanks
Jon

You forgot the " at the end of the id of center-column.
You also have to correct your widget code to
2014 Tour Dates

Related

How can I prevent a search & filter script from using image urls in the result?

I have a table on one of my webpages that can be filtered using a search bar.
The script works pretty much as intended but for one problem.
Each row of the table contains an image of a flag. All of these images were uploaded to my site in 2018. This means if a user searches for 2018 the table remains unfiltered because the script is using the 2018 from the image src url in the results.
Is it possible for me to have the script ignore those image urls?
If you search for 2018 in the search bar on WEBSITE REMOVED you'll see my issue. Search for others years and you'll see that it works fine.
The script I'm using is:
SCRIPT REMOVED
I would appreciate any help on this.
If you look at the textContent of the table cell, you'll see it includes the URL.
Your solution is just to be more specific about you want. Maybe
rows[0].cells[2].getElementsByTagName("a")[0].textContent

JS for DIV to display if published after a certain date

There are some vintage answers but they seem to be based on the client date.
I simply need a DIV to display if the posted (published) date of the article is on or after 2/25/2017. Platform=Google Blogger so no PHP.
Thanks

Mottie jQuery Tablesorter filters not loading on the page

I'm having a terrible hard time at trying to get the Mottie Tablesorter plugin to work properly on my HTML page.
I'm designing the front end of a website for someone, and I need the advanced filters provided with this plugin:
http://mottie.github.io/tablesorter/docs/example-widget-filter-formatter-1.html#demo
I have downloaded the files in .zip format, extracted them and placed them in my project, and made sure all the links work properly and that the page can read them.
I have copy/pasted the stuff from the demo with the multiple types of filters across all the columns (in the code quotes) into my HTML page.
However, the second table header row inside the table header doesn't appear.
I can't figure out what it is that I'm doing wrong.
Here's a screenshot of what gets rendered on the page + the offending code inside the web inspector of Safari: http://puu.sh/dqzNX.png
As you can see, the second table header looks like it is trying to display, but it's empty?
And it seems like it generates a search for searching by text, but is set to hidden (I don't know why)
And it also generates the correct amount of TH's, but all of them (apart from the first one) are empty!!
I've been banging my head against a wall over this for 4 days now and have no clue!
Can anyone else get this demo to work properly?
Many thanks for taking the time to read all of this!
Looks like I must not have been pulling jQuery UI into my project properly, as when I started from scratch it all looks like it's working now! -- My bad, thanks for the help though, great table filtering!
In my haste I also seemed to have put a css CDN into a script src tag, causing some style errors where the date picker was below the table before it had been selected and had a transparent background. That had me stumped for a good 20 minutes until I realised my mistake!

Hide part of HTML page from Google

I have a simple HTML page and I need to hide a little part of the text from Google.
<p> text i want to hide </p>
I could load this text with php include and use a robots.txt but the problem is - if someone would set a link to this php file - Google would again show the text I want to hide.
My next idea was:
$str = 'textiwanttohide';
echo base64_decode($str);
but the problem is - Google encodes this within seconds and the text is shown in the Google results.
So how can I hide a specific part of my text from Google? Is there a php or javascript solution?
the proper way is:
indexed
<!--googleoff: all--> not indexed <!--googleon: all>
See Excluding Unwanted Text from the Index for details.
You could store the text in a database like MySQL and load it dynamically with jquery and Ajax. So I think Google shouldn't find this text.

Twitter Widget Creation not working

I'm following the instructions at https://dev.twitter.com/docs/embedded-timelines#customization, but after I make the widget I get data-widget-id="". There's no widget ID at all, and it can't load anything. I've tried making different kinds of widgets as well but all of them have a blank ID.
I'm seeing the same issue. I created a couple of Twitter widgets two days ago, but suddenly, the generated code for all of my widgets shows: data-widget-id="".
Until Twitter fixes this, the workaround is to get the id from the URL on the page where you create the widget. It's the long number in the URL: (eg: twitter.com/settings/widgets/[this-number-is-the-widget-id]/edit?focus_textarea=1&notice=WIDGET_CREATED)

Categories

Resources