Git Product home page Git Product logo

modulexcite / planetxamarin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from planetxamarin/planetxamarin

0.0 1.0 0.0 2.59 MB

We are an aggregator of content from Xamarin Community members. Why subscribe individually when you can subscribe to one convenient RSS feed, to see all the content generated by the community members in you news reader.

Home Page: https://www.planetxamarin.com/

License: MIT License

C# 21.95% PowerShell 1.21% Shell 0.59% CSS 33.69% JavaScript 42.54% ASP 0.02%

planetxamarin's Introduction

Welcome Build status

Hi! Welcome to PlanetXamarin.com!

If you write about Xamarin, you belong here. You're welcome to add your blog and have it aggregated as part of our feed as long as the content you are sharing does not violate the community code of conduct.

Add yourself as an author

Author Guidelines

  • I have a valid blog & RSS URL
  • Host NO malicious or offensive content on the blog (including photos, swearing, etc.)
  • Blog is active with at least 3 Xamarin related blog posts in the last 6 months
  • If the blog has mixed content (Xamarin and Personal/Non-Xamarin blogs) a filter has been applied
  • If you delete your blog you will come delete your blog from Planet Xamarin
  • Your blog may be removed at any time if any of these are broken.

How to add

To add yourself as an author you can fork this project, add yourself to the authors folder as a class, implementing the IAmACommunityMember interface. If you are doing this via the GitHub editor, don't forget to add the class to the .csproj.

The result should look something like this:

public class BruceWayne : IAmACommunityMember
{
    public string FirstName => "Bruce";
    public string LastName => "Wayne";
    public string ShortBioOrTagLine => "potentially batman";
    public string StateOrRegion => "Gotham";
    public string EmailAddress => "[email protected]";
    public string TwitterHandle => "batman";
    public string GravatarHash => "42abc1337def";

    public Uri WebSite => new Uri("https://planetxamarin.com/");
    public IEnumerable<Uri> FeedUris { get { yield return new Uri("https://planetxamarin.com/rss"); } }
}

A few things:

  • Name the class after your first and lastname with CamelCase
  • The FirstName and LastName property should resemble that same name
  • ShortBioOrTagLine property can be whatever you like. If you can't think of anything choose: 'software engineer' or 'software engineer at Microsoft'
  • StateOrRegion will be your geographical location, i.e.: Holland, New York, etc.
  • EmailAddress and TwitterHandle should be pretty clear, TwitterHandle without the leading @
  • The Website property can be your global website or whatever you want people to look at
  • And finally with FeedUris you can supply one or more URIs which resemble your blogs. Your blogs should be provided in RSS (Atom) format and of course be about Xamarin.
  • If you do not want your e-mailaddress publicly available but you do want to show your Gravatar go to https://en.gravatar.com/site/check/ and get your hash! If you don't fill the hash, you will be viewed as a silhouette.
  • When you are an Xamarin and/or Microsoft MVP check out the IAmAXamarinMVP and IAmAMicrosoftMVP interfaces and let us know when you were first awarded, see below for a small sample.
public class DoubleMVPGuy : IAmAMicrosoftMVP, IAmAXamarinMVP
    {
        public string FirstName => "Awesome";
        public string LastName => "Sauce";
        public string ShortBioOrTagLine => "unicorn tamer";
        public string StateOrRegion => "127.0.0.1";
        public string EmailAddress => string.Empty;
        public string TwitterHandle => "theboss";

        public Uri WebSite => new Uri("http://www.awesomesite.com");
        public IEnumerable<Uri> FeedUris { get { yield return new Uri("http://www.awesomesite.com/feed/"); } }

        DateTime IAmAMicrosoftMVP.FirstAwarded => new DateTime(2016, 4, 1);
        DateTime IAmAXamarinMVP.FirstAwarded => new DateTime(2016, 5, 27);
        public string GravatarHash => "";
    }

This way you can have both dates implemented, if you have just one, implement just the one interface.

If you also do some blogging about other stuff, no worries! You're fine! Just have a look at the next section on how to filter out your Xamarin specific posts.

Just Xamarin please

As you would suspect from 'PlanetXamarin', we would like to have our content about.. Xamarin. To ensure that we only get relevant content you can also implement the IFilterMyBlogPosts interface on your author class.

public class BruceWayne : IAmACommunityMember, IFilterMyBlogPosts
{
    // ... Author properties from the above class, removed for brevity

    public bool Filter(SyndicationItem item)
    {
        // Here you filter out the given item by the criteria you want, i.e.
        // this filters out posts that do not have Xamarin in the title
        return item.Title.Text.ToLowerInvariant().Contains("xamarin");
        
        // This filters out only the posts that have the "xamarin" category
        return item.Categories.Any(c => c.Name.ToLowerInvariant().Equals("xamarin"));
        
        // Of course you can make the checks as complicated as you want and combine some stuff
        return item.Title.Text.ToLowerInvariant().Contains("xamarin") && item.Categories.Any(c => c.Name.ToLowerInvariant().Equals("xamarin"));
    }
}

A small step for an author...

A big step for mankind! Last thing that remains is submit a Pull Request to us and whenever it gets merged: hooray! You're an author now!

Don't forget to incorporate the Featured on Planet Xamarin badge on your blog and link back to us!

Featured on Planet Xamarin Badge

Enjoy all of our great content!

Of course you are more than welcome to submit other features and bugfixes as well.

Acknowledgements

  • Thanks to Readify for open sourcing their employee blog aggregation platform which we forked to create PlanetXamarin. Looking for your next challenge? Readify is hiring and offers relocation services for developers from abroad.
  • Thanks to our awesome contributors and our community of authors who make this all possible.

planetxamarin's People

Contributors

adamped avatar adrianjsclark avatar alejandroruiz avatar alexsorokoletov avatar almirvuk avatar aloisdeniel avatar canbilgin avatar chamons avatar cheesebaron avatar chrisriesgo avatar corradocavalli avatar crswlls avatar daniel-krzyczkowski avatar danrigby avatar depechie avatar fferegrino avatar geertvdc avatar ghuntley avatar jamesmontemagno avatar jfversluis avatar jsuarezruiz avatar lothrop avatar marcbruins avatar martijn00 avatar patridge avatar rdavisau avatar rid00z avatar robinmanuelthiel avatar smstuebe avatar therealjohn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.