Skip to content

Commit

Permalink
Fixing author meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
wesmc7777 committed Apr 21, 2015
1 parent 82f0ed1 commit 9d5573e
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 54 deletions.
25 changes: 9 additions & 16 deletions articles/notification-hubs-aspnet-backend-android-breaking-news.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,18 @@
<a href="/documentation/articles/notification-hubs-aspnet-backend-android-breaking-news/" title="Android" class="current">Android</a>
</div>

##Overview

This topic shows you how to use Azure Notification Hubs to broadcast breaking news notifications to an Android app. When complete, you will be able to register for breaking news categories you are interested in, and receive only push notifications for those categories. This scenario is a common pattern for many apps where notifications have to be sent to groups of users that have previously declared interest in them, e.g. RSS reader, apps for music fans, etc.

Broadcast scenarios are enabled by including one or more _tags_ when creating a registration in the notification hub. When notifications are sent to a tag, all devices that have registered for the tag will receive the notification. Because tags are simply strings, they do not have to be provisioned in advance. For more information about tags, refer to [Notification Hubs Guidance].

This tutorial walks you through these basic steps to enable this scenario:

1. [Add category selection to the app]
2. [Register for notifications]
3. [Send notifications from your back-end]
4. [Run the app and generate notifications]
##Prerequisites

This topic builds on the app you created in [Get started with Notification Hubs][get-started]. Before starting this tutorial, you must have already completed [Get started with Notification Hubs][get-started].

##<a name="adding-categories"></a>Add category selection to the app
##Add category selection to the app

The first step is to add the UI elements to your existing main activity that enable the user to select categories to register. The categories selected by a user are stored on the device. When the app starts, a device registration is created in your notification hub with the selected categories as tags.

Expand Down Expand Up @@ -221,7 +219,7 @@ The first step is to add the UI elements to your existing main activity that ena

Your app is now able to store a set of categories in local storage on the device and register with the notification hub whenever the user changes the selection of categories.

##<a name="register"></a>Register for notifications
##Register for notifications

These steps register with the notification hub on startup using the categories that have been stored in local storage.

Expand Down Expand Up @@ -268,11 +266,11 @@ These steps register with the notification hub on startup using the categories t

The app is now complete and can store a set of categories in the device local storage used to register with the notification hub whenever the user changes the selection of categories. Next, we will define a backend that can send category notifications to this app.

<h2><a name="send"></a>Send notifications from your back-end</h2>
##Send notifications from your back-end

[AZURE.INCLUDE [notification-hubs-back-end](../includes/notification-hubs-back-end.md)]

##<a name="test-app"></a>Run the app and generate notifications
##Run the app and generate notifications

1. In Eclipse, build the app and start it on a device or emulator.

Expand All @@ -290,7 +288,7 @@ The app is now complete and can store a set of categories in the device local st

Notifications for the selected categories appear as toast notifications.

## <a name="next-steps"> </a>Next steps
##Next steps

In this tutorial we learned how to broadcast breaking news by category. Consider completing one of the following tutorials that highlight other advanced Notification Hubs scenarios:

Expand All @@ -303,12 +301,7 @@ In this tutorial we learned how to broadcast breaking news by category. Consider
Learn how to push notifications to specific authenticated users. This is a good solution for sending notifications only to specific users.


<!-- Anchors. -->
[Add category selection to the app]: #adding-categories
[Register for notifications]: #register
[Send notifications from your back-end]: #send
[Run the app and generate notifications]: #test-app
[Next Steps]: #next-steps


<!-- Images. -->
[A1]: ./media/notification-hubs-aspnet-backend-android-breaking-news/android-breaking-news1.PNG
Expand Down
19 changes: 8 additions & 11 deletions articles/notification-hubs-windows-phone-send-breaking-news.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,17 @@
<a href="notification-hubs-windows-store-dotnet-send-breaking-news.md" title="Windows Universal">Windows Universal</a><a href="/documentation/articles/notification-hubs-windows-phone-send-breaking-news/" title="Windows Phone" class="current">Windows Phone</a><a href="/documentation/articles/notification-hubs-ios-send-breaking-news/" title="iOS">iOS</a><a href="/documentation/articles/notification-hubs-aspnet-backend-android-breaking-news/" title="Android">Android</a>
</div>

##Overview

This topic shows you how to use Azure Notification Hubs to broadcast breaking news notifications to a Windows Phone 8.0/8.1 Silverlight app. If you are targeting Windows Store or Windows Phone 8.1 app, please refer to to the [Windows Universal](notification-hubs-windows-store-dotnet-send-breaking-news.md) version. When complete, you will be able to register for breaking news categories you are interested in, and receive only push notifications for those categories. This scenario is a common pattern for many apps where notifications have to be sent to groups of users that have previously declared interest in them, e.g. RSS reader, apps for music fans, etc.

Broadcast scenarios are enabled by including one or more _tags_ when creating a registration in the notification hub. When notifications are sent to a tag, all devices that have registered for the tag will receive the notification. Because tags are simply strings, they do not have to be provisioned in advance. For more information about tags, refer to [Notification Hubs Guidance].

This tutorial walks you through these basic steps to enable this scenario:

1. [Add category selection to the app]
2. [Register for notifications]
3. [Send notifications from your back-end]
4. [Run the app and generate notifications]
##Prerequisites

This topic builds on the app you created in [Get started with Notification Hubs]. Before starting this tutorial, you must have already completed [Get started with Notification Hubs].

##<a name="adding-categories"></a>Add category selection to the app
##Add category selection to the app

The first step is to add the UI elements to your existing main page that enable the user to select categories to register. The categories selected by a user are stored on the device. When the app starts, a device registration is created in your notification hub with the selected categories as tags.

Expand Down Expand Up @@ -148,7 +145,7 @@ The first step is to add the UI elements to your existing main page that enable

Your app is now able to store a set of categories in local storage on the device and register with the notification hub whenever the user changes the selection of categories.

##<a name="register"></a>Register for notifications
##Register for notifications

These steps register with the notification hub on startup using the categories that have been stored in local storage.

Expand Down Expand Up @@ -190,11 +187,11 @@ These steps register with the notification hub on startup using the categories t

The app is now complete and can store a set of categories in the device local storage used to register with the notification hub whenever the user changes the selection of categories. Next, we will define a backend that can send category notifications to this app.

<h2><a name="send"></a>Send notifications from your back-end</h2>
##Send notifications from your back-end

[AZURE.INCLUDE [notification-hubs-back-end](../includes/notification-hubs-back-end.md)]

##<a name="test-app"></a>Run the app and generate notifications
##Run the app and generate notifications

1. In Visual Studio, press F5 to compile and start the app.

Expand All @@ -220,7 +217,7 @@ The app is now complete and can store a set of categories in the device local st

You have completed this topic.

<!--## <a name="next-steps"> </a>Next steps
<!--##Next steps
In this tutorial we learned how to broadcast breaking news by category. Consider completing one of the following tutorials that highlight other advanced Notification Hubs scenarios:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,43 +1,40 @@
<properties
pageTitle="Use Notification Hubs to send breaking news (Windows Universal)"
description="Use Azure Notification Hubs with tags in the registration to send breaking news to a universal Windows app."
description="Use Azure Notification Hubs with tags in the registration to send breaking news to a universal Windows app."
services="notification-hubs"
documentationCenter="windows"
authors="wesmc7777"
manager="dwrede"
editor=""/>

<properties pageTitle="Use Notification Hubs to send breaking news (Windows Phone)" metaKeywords="" description="Use Azure Notification Hubs to use tag in registrations to send breaking news to a Windows Phone app." metaCanonical="" services="notification-hubs" documentationCenter="Mobile" title="Use Notification Hubs to send breaking news" authors="glenga" solutions="" manager="dwrede" editor="" />

<tags
ms.service="notification-hubs"
ms.workload="mobile"
ms.tgt_pltfrm="mobile-windows"
ms.devlang="dotnet"
ms.topic="article"
ms.date="11/21/2014"
ms.date="04/21/2015"
ms.author="wesmc"/>

# Use Notification Hubs to send breaking news

<div class="dev-center-tutorial-selector sublanding">
<a href="/documentation/articles/notification-hubs-windows-store-dotnet-send-breaking-news/" title="Windows Universal" class="current">Windows Universal</a><a href="/documentation/articles/notification-hubs-windows-phone-send-breaking-news/" title="Windows Phone">Windows Phone</a><a href="notification-hubs-ios-send-breaking-news.md/" title="iOS">iOS</a>
<a href="/documentation/articles/notification-hubs-aspnet-backend-android-breaking-news/" title="Android">Android</a>
</div>

##Overview

This topic shows you how to use Azure Notification Hubs to broadcast breaking news notifications to a Windows Store or Windows Phone 8.1 (non-Silverlight) app. If you are targeting Windows Phone 8.1 Silverlight, please refer to the [Windows Phone](notification-hubs-ios-send-breaking-news.md) version. When complete, you will be able to register for breaking news categories you are interested in, and receive only push notifications for those categories. This scenario is a common pattern for many apps where notifications have to be sent to groups of users that have previously declared interest in them, e.g. RSS reader, apps for music fans, and so on.

Broadcast scenarios are enabled by including one or more _tags_ when creating a registration in the notification hub. When notifications are sent to a tag, all devices that have registered for the tag will receive the notification. Because tags are simply strings, they do not have to be provisioned in advance. For more information about tags, refer to [Notification Hubs Guidance].

This tutorial walks you through these basic steps to enable this scenario:

1. [Add category selection to the app]
2. [Register for notifications]
3. [Send notifications from your back-end]
4. [Run the app and generate notifications]
##Prerequisites

This topic builds on the app you created in [Get started with Notification Hubs][get-started]. Before starting this tutorial, you must have already completed [Get started with Notification Hubs][get-started].

##<a name="adding-categories"></a>Add category selection to the app
##Add category selection to the app

The first step is to add the UI elements to your existing main page that enable the user to select categories to register. The categories selected by a user are stored on the device. When the app starts, a device registration is created in your notification hub with the selected categories as tags.

Expand Down Expand Up @@ -131,7 +128,7 @@ The first step is to add the UI elements to your existing main page that enable

Your app is now able to store a set of categories in local storage on the device and register with the notification hub whenever the user changes the selection of categories.

##<a name="register"></a>Register for notifications
##Register for notifications

These steps register with the notification hub on startup using the categories that have been stored in local storage.

Expand Down Expand Up @@ -170,11 +167,11 @@ These steps register with the notification hub on startup using the categories t

The app is now complete and can store a set of categories in the device local storage used to register with the notification hub whenever the user changes the selection of categories. Next, we will define a backend that can send category notifications to this app.

<h2><a name="send"></a>Send notifications from your back-end</h2>
##Send notifications from your back-end

[AZURE.INCLUDE [notification-hubs-back-end](../includes/notification-hubs-back-end.md)]

##<a name="test-app"></a>Run the app and generate notifications
##Run the app and generate notifications

1. In Visual Studio, press F5 to compile and start the app.

Expand All @@ -198,7 +195,7 @@ The app is now complete and can store a set of categories in the device local st

![][14]

## <a name="next-steps"> </a>Next steps
##Next steps

In this tutorial we learned how to broadcast breaking news by category. Consider completing one of the following tutorials that highlight other advanced Notification Hubs scenarios:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,16 @@
ms.topic="article"
ms.date="11/21/2014"
ms.author="wesmc"/>

# Use Notification Hubs to send localized breaking news

<div class="dev-center-tutorial-selector sublanding">
<a href="/documentation/articles/notification-hubs-windows-store-dotnet-send-localized-breaking-news/" title="Windows Store C#" class="current">Windows Store C#</a><a href="/documentation/articles/notification-hubs-ios-send-localized-breaking-news/" title="iOS">iOS</a>
</div>

This topic shows you how to use the **template** feature of Azure Notification Hubs to broadcast breaking news notifications that have been localized by language and device. In this tutorial you start with the Windows Store app created in [Use Notification Hubs to send breaking news]. When complete, you will be able to register for categories you are interested in, specify a language in which to receive the notifications, and receive only push notifications for the selected categories in that language.

This tutorial walks you through these basic steps to enable this scenario:
##Overview

1. [Template concepts]
2. [The app user interface]
3. [Building the Windows Store client app]
4. [Send notifications from your back-end]
This topic shows you how to use the **template** feature of Azure Notification Hubs to broadcast breaking news notifications that have been localized by language and device. In this tutorial you start with the Windows Store app created in [Use Notification Hubs to send breaking news]. When complete, you will be able to register for categories you are interested in, specify a language in which to receive the notifications, and receive only push notifications for the selected categories in that language.


There are two parts to this scenario:
Expand All @@ -39,14 +35,14 @@ There are two parts to this scenario:



##Prerequisites ##
##Prerequisites

You must have already completed the [Use Notification Hubs to send breaking news] tutorial and have the code available, because this tutorial builds directly upon that code.

You also need Visual Studio 2012.


<h2><a name="concepts"></a>Template concepts</h2>
##Template concepts

In [Use Notification Hubs to send breaking news] you built an app that used **tags** to subscribe to notifications for different news categories.
Many apps, however, target multiple markets and require localization. This means that the content of the notifications themselves have to be localized and delivered to the correct set of devices.
Expand Down Expand Up @@ -77,7 +73,7 @@ Then we will ensure that devices register with a template that refers to the cor
Templates are a very powerful feature you can learn more about in our [Notification Hubs Guidance] article. A reference for the template expression language is in our [Notification Hubs How-To for Windows Store].


<h2><a name="ui"></a>The app user interface</h2>
##The app user interface

We will now modify the Breaking News app that you created in the topic [Use Notification Hubs to send breaking news] to send localized breaking news using templates.

Expand Down Expand Up @@ -118,7 +114,7 @@ Change your MainPage.xaml to include a locale combobox:
<Button Content="Subscribe" HorizontalAlignment="Center" Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="2" Click="Button_Click" />
</Grid>

<h2><a name="building-client"></a><span class="building app">App ui</span>Building the Windows Store client app</h2>
##Building the Windows Store client app

1. In your Notifications class, add a locale parameter to your *StoreCategoriesAndSubscribe* and *SubscribeToCateories* methods.

Expand Down Expand Up @@ -173,7 +169,7 @@ Notifications singleton in the *OnLaunched* method:
Notifications.SubscribeToCategories(Notifications.RetrieveLocale(), Notifications.RetrieveCategories());


<h2><a name="send"></a>Send localized notifications from your back-end</h2>
##Send localized notifications from your back-end

[AZURE.INCLUDE [notification-hubs-localized-back-end](../includes/notification-hubs-localized-back-end.md)]

Expand Down
2 changes: 1 addition & 1 deletion includes/notification-hubs-back-end.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

This section shows how to send notifications from a .NET console app and any other.
If you are using Mobile Services please refer to the [Get Started with Push](../articles/mobile-services-dotnet-backend-windows-store-dotnet-get-started-push.md) tutorials. If you want to use Java or PHP refer to [How to use Notification Hubs from Java/PHP](/documentation/articles/notification-hubs-java-backend-how-to/). You can send notifications from any backend using the [Notification Hubs REST interface].
If you are using Mobile Services please refer to the [Get Started with Push](mobile-services-dotnet-backend-windows-store-dotnet-get-started-push.md) tutorials. If you want to use Java or PHP refer to [How to use Notification Hubs from Java/PHP](notification-hubs-java-backend-how-to.md). You can send notifications from any backend using the [Notification Hub REST interface](http://msdn.microsoft.com/library/windowsazure/dn223264.aspx).

The following code sends notifications to Windows Store, Windows Phone, iOS, and Android devices.

Expand Down

0 comments on commit 9d5573e

Please sign in to comment.