Support » Plugin: RDP Wiki Embed » Possible to only grab part of a wiki page?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Robert D Payne

    (@rpayne7264)

    Unfortunately, there is no way to grab only part of the wiki that you want because of the way the HTML is laid out and with no unique ID for the table.

    Thanks for the response. For anyone who needs to do this, I did find a CSS way to do it. I don’t have it in front of me, but I’m happy to share.

    quincyexaminer

    (@quincyexaminer)

    Hi, Would love to know more on this CSS internal call method!

    Please advise.
    Thanks
    Quincy

    Hi @quincyexaminer – Sorry I just found the notification for this.

    Here’s an example of the CSS. These lines are looking for the specific table on the page linked above, and then blocking display of the tables you DON’T want. For my pages, I named the container divs to make the CSS as simple as I knew how, but might be different for you. I can’t guarantee this will work for every wiki page, but the general concept should. Hope this helps.

    The results of this code will show only TV and Film tables.

    div#film table.wikitable.sortable:nth-of-type(1),div#film table.wikitable.sortable:nth-of-type(3) {
      display:none;
    }
    div#tv table.wikitable.sortable:nth-of-type(1),div#tv table.wikitable.sortable:nth-of-type(2) {
      display:none;
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.