Reserved keyword in Vimeo (ampersand echo) - vimeo

We noticed an issue when trying to upload a video to Vimeo with the name "Feedback & Echo Chambers". It won't let us.
It won't even save if I change it directly through vimeo.com, without letting me know why.
I narrowed it down to the "& echo" combination. I'm pretty sure it triggers an error on Vimeo side and doesn't allow saving.
I couldn't find any documentation on this, or maybe other character combinations. Anyone have a solution/documentation for this?
For now I am sticking to replacing " & echo" with " and echo".

Related

Image links with ' in wordpress replaced with %E2%80%99. How to fix?

I recently moved hosts and one of the things I am dealing with, is that the images don't load for some posts. And the similarity between all of them is that it contains a " ' " character, that automatically translates to %E2%80%99 in link. SO something like Cat'stail.jpg can be Cat %E2%80%99stail.jpg . How do I fix this? The images dont load cause it says it doesn't exist on the link, as it translates to the other thing.. The database is in utf8mb4 format. I am new to this and don't know anything. Please help
If you are using page builder then the simplest way is re-selecting the images in the builder and update the page. If you have a custom theme then I will suggest you to manually change the image name, because as a good practice you should not use "'" in the image names.

Hyperlink doesn't display in an Outlook 2016 with HTML

I have a macro with Excel VBA that sends an Outlook 2016 email. Several columns in the data source are used to fill several variables. One of the variables (MyWedAdd) is a web site. The website is different for each line in the data source.
In the body of the email, I need to display the hyperlink to the particular website. The macro works well and sends the Outlook messages exactly like I expect it to; with one little glitch.
The website is not being displayed in the body of the email. It is blank. Following is the line of code I'm using to display the website. I'm fairly certain I have the syntax messed up or the hyperlink to the web site would be displayed
"You may pay online at <a href=" & MyWebAdd & "</a> . Check or money order payments can also be used."
I haven't used HTML very much so this is part of the learning curve for me. Any suggestions or advice to make this work would be greatly appreciated. Thanks for your help. Stay safe....Shaves
You have the syntax wrong. It must be
"You may pay online at " & MyWebAdd & " . Check or money order payments can also be used."

Any idea why and _ character breaks my image loading?

I've got a weird error happening on Chrome, Safari and IE whereby if I have this HTML in the code
<img src="./img/advert_abc.jpg" class="banner_image">
it won't load it (get a 307 error and not much else)
yet if I take out the _ character images load fine.
E.g.
<img src="./img/advertabc.jpg" class="banner_image">
I've made sure the images exist on disk and copy/pasted them all around but doesn't matter what I name it, if the filename has a _ character in there it fails.
This works on my local WAMP and remote LAMP stacks.. is there something special about the _ character perhaps?
Whilst I am using javascript/jquery in there too it seems to be a re-creatable error with any image with and without my javascript code creating this img object.
Just closing this answer in case anyone else finds it, was due to AdBlock silently running and doing some redirects with images names 'advert_???' as the filename.

How to W3C validate php image resize script

I use a php image resize script which is invoked using:
<img src="/images/image.php?img=test.png&maxw=100&maxh=100" alt="This is a test image" />
but this does not W3C validate. Are there anyways to get this to validate?
since you havn't given an exact eror-message, i have to assume the validation fails because of the ampersands. just take a look at the error description (wich also should be directly linked to from the validation-report, so you could have easily found this on your own) to see how to solve this.
To avoid problems with both validators and browsers, always use &
in place of & when writing URLs in HTML.
that said, just change your code to:
... src="/images/image.php?img=test.png&maxw=100&maxh=100" ...
It has nothing to do with PHP. All you need to do is turn those & characters into entities:
<img src="/images/image.php?img=test.png&maxw=100&maxh=100" alt="This is a test image" />
Really though, it's not that big of a deal. No browser (that I'm aware of) will misinterpret this, but if you want perfect validation then that's what you need to do.
If you output such URLs from PHP you can use htmlentities() to automatically convert e.g. & to &
htmlentities — Convert all applicable characters to HTML entities
Example:
$path = "/images/image.php?img=test.png&maxw=100&maxh=100";
$path = htmlentities($path);
echo $path;
This would output this in your html:
/images/image.php?img=test.png&maxw=100&maxh=100

How to stop Dreamweaver from converting " double quotes to "?

I need to use double quotes inside a tag
How to stop Dreamweaver from converting " double quotes to " ?
I need the original " and not " but as soon as I add the " quote via Design view, it shows " in design view, but in code view its "
I need the " double quote to remain the same in both Design and Code view.
The reason is that i need the double quote "" in a tag such as {mytag category="news"}
I need the exact tag as {mytag category="news"} but dreamweaver is changing the double quotes in the Code view to " so this is what i am getting in the Code view
{mytag category="news"}
ISSUE :: SOLVED
There is no way to achieve this.
In HTML
foo='"'
and
foo='"'
are equivalent. If you need one of those two syntaxes over the other, then you are not dealing with HTML and shouldn't be using an HTML editor to produce your content.
foo="""
… on the other hand, is an error and you should have even less reason to want that.
I was able to disable this quote-pairing as follows :
Quit Dreamweaver.
Edit the text file: ~/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Brackets/brackets.json
Add the following line within the body: "closeBrackets": false,
Save the text file and relaunch Dreamweaver.
It should no longer auto-complete quote pairs.
Some people have reported they needed to make this change to the same-named file within the application folder as shown below, but I had no such file on my UK installation:
Applications\Adobe\Dreamweaver CC 2017\en_US\Configuration\Brackets\brackets.json
Found the answer
I just changed the DOCTYPE from XHTML to HTML5
And it worked fine, it did not convert the double quotes to its entity.
This solves the issue for me, for now.