Highlighted

What does the paramEncoding attribute do in <text> parameter?

Explorer ,
Jul 12, 2017

Copy link to clipboard

Copied

Hello Everyone,

I am learning MuCow and I am getting pretty good at it. But this is the only thing that is bothering me so far. What is the paramEncoding attribute and what does it do?

Thank you

It's used to format the text to make it web-friendly. URIComponent replaces spaces in the text with %20% and spaceToPlus will format spaces with the + symbol.

David

Creative Muse

TOPICS
Mucow development

Views

361

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

What does the paramEncoding attribute do in <text> parameter?

Explorer ,
Jul 12, 2017

Copy link to clipboard

Copied

Hello Everyone,

I am learning MuCow and I am getting pretty good at it. But this is the only thing that is bothering me so far. What is the paramEncoding attribute and what does it do?

Thank you

It's used to format the text to make it web-friendly. URIComponent replaces spaces in the text with %20% and spaceToPlus will format spaces with the + symbol.

David

Creative Muse

TOPICS
Mucow development

Views

362

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 12, 2017 0
Guide ,
Jul 13, 2017

Copy link to clipboard

Copied

It's used to format the text to make it web-friendly. URIComponent replaces spaces in the text with %20% and spaceToPlus will format spaces with the + symbol.

David

Creative Muse

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 13, 2017 1
Explorer ,
Jul 13, 2017

Copy link to clipboard

Copied

Thank you
While we are on the subject. Can you also help me understand the <builtIn> parameter? I mean what could we achieve with it?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 13, 2017 0
Guide ,
Jul 13, 2017

Copy link to clipboard

Copied

The builtin parameters give you access to internal data such as the unique ID for the widget, as well as its width and height. Others give you the page or site  URL This helps if you need to incorporate them into your code.

David

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 13, 2017 0
Participant ,
Jul 13, 2017

Copy link to clipboard

Copied

Where did you find out about paramEncoding? I didnt see that in the muse documentation.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 13, 2017 0
Guide ,
Jul 13, 2017

Copy link to clipboard

Copied

It's here: MuCow Documentation, although it doesn't actually tell you what it does. Theres more info here: JavaScript encodeURI() Function.

David

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 13, 2017 0