• I was wondering if is possible to grab the content or date by only typing one out of many attibutes. For example I have this line:

    <p class="updated StandardArticle 1-2815124">

    I would like to be able to select this line only by typing “updated” as an attribute instead of typing the whole classes. I’m able to get it recognized by typing the whole classes, but when I try just “updated” it rejects it.

    I got thousand of posts trying to move from College Publisher and so far using your plugin would be easy as long I could ignore a few things like that.

    Also an option to remove any javascript. Or even better, to narrow down by selecting multiple code line numbers. Example from line X to line Y or line Z til before next div.

    Thanks in advance.

    https://www.ads-software.com/plugins/import-html-pages/

Viewing 1 replies (of 1 total)
  • Plugin Author Stephanie Leary

    (@sillybean)

    It should work with multiple classes. As a (hacky) alternative, you could do a search and replace across the site:
    <p class=”updated
    to
    <p id=”htmlimport” class=”updated

    and then use the ID.

    Or, if College Publisher can export XML, you could try using the WP All Import plugin instead, which is generally better for working with content from other CMSs.

Viewing 1 replies (of 1 total)
  • The topic ‘Ignore multiple classes when selecting content or date’ is closed to new replies.