Skip to content

yumetodo/unofficial-windows-message-center-rss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unofficial-windows-message-center-rss

This is unofficial RSS of Windows message center | Microsoft Docs

RSS

Motivation

Windows message center is known as very important information source for windows application developers.

However, Microsoft doesn't provide RSS so that it's difficult to notice the update of Windows message center.

Development Note

  • Rust
  • Using reqwest to get html
  • Using scraper(A wrapper library of Servo, a part of implementation of Firefox)
  • Serializing xml manually
    • Because there is no well-known Serde xml plugins
    • See src/feed.rs
      • Introducing IntoXMLString trait for serialize each struct
      • Using self defined macro to implement IntoXMLString trait easily
        • concatenated_xml_accessor
        • xml_attribute_accessor_impl
      • Using self defined macro to implement builder pattern
        • optional_member_setter_impl
        • vec_member_setter_impl