Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

News or announcements widget

by harangzsolt33 (Deacon)
on Jan 02, 2025 at 05:25 UTC ( [id://11163489]=monkdiscuss: print w/replies, xml ) Need Help??

Does PerlMonks offer a little widget people can put on their own website that shows latest Perl news or announcements (or most recent questions posted here) and maybe has a small box where people can type in their email to sign up to get the Perl newsletter in one easy step? I've seen this in other websites that are divided into smaller boxes. One small box contains an ad. Another small box contains a table of contents. Another box might hold some links to related sites. Another small box might hold a tiny weather forecast or stock quote and so forth. Does PerlMonks offer any such thing that people can put on their site?

Replies are listed 'Best First'.
Re: News or announcements widget
by hippo (Archbishop) on Jan 02, 2025 at 10:12 UTC
Re: News or announcements widget
by LanX (Saint) on Jan 02, 2025 at 09:50 UTC
      Yes, I like this idea. Thanks!
Re: News or announcements widget
by soonix (Chancellor) on Jan 02, 2025 at 10:40 UTC
      Most nodes support an xml view with the essential information condensed. (Alas Nodelets don't.)

      E.g. try https://perlmonks.org/?node_id=11163497;displaytype=xml for this post.

      This means importing the data from most nodes and displaying them externally is possible. Even with an XHR aka JSON request with a JS library.

      Tho without caching this might generate too much traffic.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      see Wikisyntax for the Monastery

Re: News or announcements widget (newsletter subscription)
by LanX (Saint) on Jan 02, 2025 at 11:06 UTC
    > maybe has a small box where people can type in their email to sign up to get the Perl newsletter in one easy step?

    Either link to

    https://perlweekly.com/subscribe.html

    Or put a mailto link into your HTML to send an email to subscribe.

    Subscriptions are not just done by giving your email address away in a webform because spammers could exploit this.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery

Re: News or announcements widget
by stevieb (Canon) on Jan 02, 2025 at 09:44 UTC

    Yes.

    Perlmonks offers all of everything you just requested. You just have to review decades worth of valuable posts within this site to put the pieces together.

    You've been here going on nine years, and you can't even figure out how to break apart a paragraph?

    You want to put fellow Monk's posts next to an ad? Are you fucking kidding me?

    Nine years and you can't grasp that we do our work here out of the goodness of our hearts, for people who want to learn Perl. Figure out your weather by going outside. Get your ads by watching TV. Get your stock quotes by calling your broker. If you want a do-everything app, build it with the knowledge you've gleaned from Perlmonks for nine years.

    Perlmonks isn't an everything-aggregation app. The knowledgeable monks on this site can easily direct you to be able to put all of what you're requesting together, but not without you showing significant effort, and asking specific questions about the issues you're having building such a thing.

    When you've built the front-end for all of these widgets, let us know details of specific problems you face code-wise, and we'll help fix them.

    -stevieb

    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://11163489]
Approved by LanX
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2025-02-09 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (96 votes). Check out past polls.