Pull Quotes Test

What is Lorem Ipsum?

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

Where does it come from?

Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of “de Finibus Bonorum et Malorum” (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, “Lorem ipsum dolor sit amet..”, comes from a line in section 1.10.32.

Setting Up Tampermonkey with Chrome for WordPress.com Volunteers

Hello!

Here’s a quick guide on setting up Tampermonkey for Chrome

1. Head over to the Chrome Web Store here: https://chrome.google.com/webstore/search/tampermonkey

tampermonkey store

2. Select the Tampermonkey offered by tampermonkey.net, and hit the blue ‘+ Add to Chrome’ button on the right.

3. Once installed, you should see the Tampermonkey icon in the top right menu

tampermonkey icon

It may be ‘grayed out’, and that’s OK. If you don’t see the icon, then in the ‘Customize and Control Google Chrome’ menu found at the very top right of the browser (the three vertical dots), click ‘More tools’ -> ‘Extensions’ and look for Tampermonkey and ensure the checkbox is set to ‘enabled’.

4. Now click on the Tampermonkey icon in the top right menu. Select ‘Dashboard’. In the dashboard screen, click the ‘New’ button highlighted here…
click new

5. As of the writing of this article, I suggest adding two scripts. This script
https://gist.github.com/ShinyRockets/9fcb5ddbec9ab57ebb902142496250c3
works on an opened post. Current features..

  1. Counts the total number of historical posts the member has made, and displays this next to their username. If the number is 1, it’s safe to assume this post has no duplicates.
  2. Automatically checks the subscribe to this post box.
  3. Checks to see if another member has responded to the post since you started, and updates the submit button to notify you.

New Script Page
new script

6. To add this script, delete the content of the new script, and copy and paste the code from the Gist link above. Click ‘save’. Once saved, the dashboard screen will show the script as running. This is where you turn scripts on or off in the future.

The script works automatically as soon as you open a post’s page in the browser. It’s not necessary to leave the Tampermonkey page opened.

7. Now repeat the process to add this script.
https://gist.github.com/ShinyRockets/46559ed126b3480440f750482f73d962

This script works on the main WordPress.com support page. It reads the tags of each post, and places an icon next to the title. eg: Modlook, CSS, Billing etc.
It also hides any posts that have the duplicate tag. Simply follow the steps above to add this new script. Ensure the scripts are switched on in the dashboard and you’re good to go.

Please let me know if you have any questions or suggestions by commenting below.

WordPress.com Support Forums Userscript 0.1

Hi,
This script loops through the posts on the main support page, and searches each post for certain tags.. if it finds a tag, it places an icon next to the post’s title. Additional tags and icons can be added… any suggestions?
The script is available at Github here: https://gist.github.com/ShinyRockets/d47794290a73d97947c809aa43f907cf

♛ – modlook    ☠ – duplicate    ✄ – delete    🌐 – domain    $ – billing (if you see my Gravatar, it means I’m responding to that post 😉forum script 0.2

Forum Posts and the Google NLP API

I’m finding that Userscripts are fine for limited functionality like the earlier examples, but the more complicated ideas required a proper server. This ‘top-down’ screen-scraping approach comes with it’s own set of challenges. For example, while nesting a series of asynchronous Ajax calls that dig deep into posts, I think I set off a mini DoS attack on the Support forum. It lasted for about 10 seconds before I could kill the out of control browser, but it’s ok… I won’t be charging WordPress.com anything for testing their server load capabilities. 😉

I have moved my ‘experiments’ onto a server, and I’m currently exploring Natural Language processing of posts, using Google API’s. The pic below is a copy of a post being analyzed… It shows the identified entities, as well as a Sentiment Level score (Just how happy or unhappy is the author of this post?)

Really, I’m just playing around, but you never know what might come of it! If you have any thoughts or comments, let me know, and if you find this kind of stuff intriguing, then check out the Google NLP API here.

nlp

Userscripts for WordPress.com Support Forums

I posted in the Ideas forum the thought of creating some Userscripts to help streamline the support process. Although my Javascript and Jquery is really rusty, I managed to kludge together a quick script that changes the background color of the post based on the tags found. In the example below, posts with no tags are blue, any ‘delete’ tag found is red, and ‘domain’ tag is green. (There’s another for ‘modlook’ that’s not in the screenshot). This is just a proof of concept, and rather than color coding, could add icons or whatever.

Another idea that should be fairly straightforward… when responding to a post, have a little green light next to the editor that would change to red if someone has responded to the post since you started.

I’m just playing around, but I would like to know if you have any ideas/suggestions/comments.

Other potential scripting going forward;

  • Grab support documentation and display based on tag / content.
  • Auto tagging — Search the content of the post and suggest tags based on common keywords/phrases.
  • Whois any domains found, and markup the post with results.
  • Automatically generate canned responses based on tags found.

 

  • Capture