Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Lord Guysbert de Fieri (inspectorcaracal@tootplanet.space)'s status on Tuesday, 21-Aug-2018 11:13:43 EDT Lord Guysbert de Fieri Lord Guysbert de Fieri

    I need some... web coding help? Specifically #mastodev but that's tangential.

    How, in ruby, can I take an arbitrary block of HTML, find any <a> elements, pull the href url to pass to a function, then insert a class after a specific different class if it exists on that <a> element?

    Alternatively, do you have suggestions for search terms I might find useful for researching this myself?

    (Please boost if you don't have an answer for me, thank you 💛)

    In conversation Tuesday, 21-Aug-2018 11:13:43 EDT from tootplanet.space permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.