iMacros can't write comments in Disqus.com - html

I recently started using iMacros to automate tasks in Disqus.com. After using it to fill in Sign Up forms automatically (Page can be found here) everything seemed fine, the record function recorded exactly what I was inputting and I could play it just fine. For instance I got this:
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:login-form ATTR=ID:display-name-input CONTENT=josephbeadles
But when I went to an actual disqus blog (If you want to try it yourself here is one) and tried to record me typing something, it recorded nothing. First you have to click "Join the Discussion" and when I typed nothing was recorded. However when I clicked it a second time I got other code which I think is what I want, but it still doesn't record it. I think it might be because the sign up forms are of type INPUT:TEXT while the comment forms are of a different type. when clicking "Join the Discussion" twice I got these 2 things:
TAG POS=1 TYPE=SPAN ATTR=TXT:Join<SP>the<SP>discussion…
TAG POS=1 TYPE=P ATTR=TXT:
As you can see it doesn't record what I write. I then tried recording a reply, and this time it gave me some really long thing:
TAG POS=2 TYPE=SPAN ATTR=TXT:Reply
TAG POS=2 TYPE=DIV ATTR=CONTENTEDITABLE:true&&CLASS:textarea&&TABINDEX:0&&ROLE:textbox&&ARIA-MULTILINE:true&&DATA-ROLE:editable&&ARIA-LABEL:Join<SP>the<SP>discussion…&&TXT:
So now I think that it might be because it is of type div. But I have no idea how I can input text into one of these forms, so I came here for help.
Thanks in advance.

Related

Can an HTML5 web page be protected from user text containing unterminated tags?

My website allows users to embellish their text with simple HTML tags like <b>, <i> and a small handful of other reasonably innocuous tags. All other tags are disallowed (disabled programmatically by replacing the "<" character with < when the input form is processed). User's uploaded text is interspersed on the resulting page. For example, as captions on images. For the most part, this works out well.
Problem arises when user forgets to terminate, say, italicized text with the closing </i> tag. They seem to survive past the end of <span>, <div> and <td> elements. An unclosed <i> causes all text in the rest of the page, user or system text, to be italicised.
I don't look forward to writing code to parse the text to keep track of tags and close them if the user forgot. My question is: does HTML5 have a simple way to declare that any open tag is now closed going forward?
N.B.: A decade ago IE and Chrome were autoterminating unterminated formatting tags at the end of each </td>. Not any more.
Unfortunately, if a tag is left open, it can cause problems with the rest of the code. This is because when reaching massive amounts of code, or nested tags, it would be impossible to determine what and where exactly the developer would want to place the closing tag automatically.
To handle this, you can use an IDE like Atom (good for beginners), VS Code, or Sublime, so while typing in the tag, you can press enter or tab to automatically create the opening and closing ones.
You can use Intellij idea IDE. If open tag is created by user closing tag will generate automatic by IDE(Intellij idea).when you press the tad button closing tag is automatically generate the closing tags.

How do i fix this problem with my html href code?

So I am trying to make a website for some code homework I have but one of my html link is not working. I've tried deleting the button function but it is still not working. I pasted the code from the other s and they seem to work. Only this won't work.
<nav>
<button> INFO </button>
<button> TICKET PURCHASE </button>
</nav>
The 'INFO' works, but the 'TICKET PURCHASE' one doesn't.
<nav>
<button> INFO </button>
TICKET PURCHASE
</nav>
I thought maybe my button was doing something so I removed it, but it still wouldn't work. I even pasted the name of the file into the space before ".html" part but it still won't work. I don't understand and to me, the code looks like it should work. I am using a local file thing because I do not need to post this online, so do not worry that that will affect the work.
I expected to be able to transport smoothly from one web page to the other, but this specific line of code does not work. I waited a long time, thinking it was just lag on my computer, but it just wouldn't work. Do note that changing the name of the local file or removing the space between them does not do anything.
You have to change the file name inside href. Thanks
Example 1 - Change Ticket Purchase.html to TicketPurchase.html
TICKET PURCHASE
Example 2 - Change Ticket Purchase.html to Ticket-Purchase.html
TICKET PURCHASE
Spaces are not allowed in URLs, that's why websites with long names are written together as a word. Putting space in a link will make a server convert the space to some special character. For this reason, files on your website should be named without spaces in between them.
Change the name of the file from "Ticket Purchase.html" to "ticketPurchase.html".
See docs: https://developers.google.com/maps/documentation/urls/url-encoding
Some characters cannot be part of a URL (for example, the space).
So it should be:
TICKET PURCHASE

Textpad from Helios used for editing XML or HTML: How to identify closing / corresponding TAG?

Working with Textpad as Editor on XML and HTML-files I'm looking for the possibility to identify the corresponding closing TAG. Ideal would be if the whole area between opening TAG and closing TAG could be marked or highlighted.
Hint: CTRL+M does not work (just jumps from > to < and vice versa).
The method should deal with following situations:
Sometimes the TAG is closed by itself (with \>).
Sometimes the same TAG is used within the TAG (like in tree descriptions like jhm).
One part of the solution could be found in the help for macros - at least for marking a tag itself with its content, but not up to the closing tag. Because I'm working with textpad configured to use German as language of choice, I give a translation:
Open "Search".
Give "<" as to be searched.
Start Makro Recorder.
In Search Windows hit button "Next" (means next occurance of search string).
Mark text until corresponding closing ">" using CTRL+SHIFT+M.
End the Recording.
Save Macro.
To step through the HTML-code you have to execute the macro.
Source: Help of TextPad 6.1.3 (32 bit).

Regex match and delete everything before string (opening html tag)

I'm using Dreamweaver and Notepad++ and have searched high and low but nothing seems to work from what I've found.
I've got a whole stack of html pages and I need to remove from all of them everything above but not including the first tag in the document. Specifically, everything before the string "<h1" (no quotes). I've tried various examples in Notepad++ and it finds the first h1 tag but doesn't replace everthing before it.
Assuming you want to lose everything in your file before the "<h1" text
then specify ".*<[hH]1" as search tag and "<h1" as replacement and check
the box marked ". matches newline". Works for me.
You can do this from the Command Line or a text editor that allows you to search-replace multiple files. However, are you sure the content is the same in every html file?

Facebook Like Box issues - my patience ended

I'm trying to set up a Like Box in this website: http://filmefilmes.com/breu
The Facebook Page of the site is: http://www.facebook.com/pages/BREU/278537375497440
I have tried all methods. iFrame, FBML, etc.
When you click the "like" button it returns a Error that says the page can't be reached.
When I pass the site on the debugger the error is:
You have < meta> tags ouside of your < head>. This is either because
your < head> was malformed and they fell lower in the parse tree, or
you accidentally put your Open Graph tags in the wrong place. Either
way you need to fix it before the tags are usable.
Which is incorrect because the tags are obviously inside the page's head.
And i get this warning too:
The og:locale property should be explicitly provided, even if a value
can be inferred from other tags.
I have to deliver this website very soon and I've spent some hours trying to correct this and to find solutions in forums etc.
As I have changed methods I believe the error is somewhere in the markup of my page but I don't really have a clue.
Help will be heavily appreciated, thanks.
Having a quick look at the site I can see you DO have <meta> tags outside of the <head> element, these are inside a second <head> tag further down the page.
Check your facetek div.
few of your meta tags are unclosed. ("/>")
thus, closing within them is parser error.
fix it and it should go fine