Subversion Repositories SmartDukaan

Rev

Rev 3320 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3320 Rev 6520
Line 69... Line 69...
69
    }
69
    }
70
 
70
 
71
    public static String getPageMetaKeywords(String uri) throws JSONException {
71
    public static String getPageMetaKeywords(String uri) throws JSONException {
72
       	return specialPagesDetails.get(uri).getString("metaKeywords");
72
       	return specialPagesDetails.get(uri).getString("metaKeywords");
73
    }
73
    }
-
 
74
    public static long getPageType(String uri) throws JSONException {
-
 
75
    	if (specialPagesDetails.get(uri).has("pageType")){
-
 
76
    		return specialPagesDetails.get(uri).getLong("pageType"); 
-
 
77
    	} else {
-
 
78
    		return 0;
-
 
79
    	}
-
 
80
    }
74
}
81
}